uxstr sap api using wrong default SAP attributes with commas
search cancel

uxstr sap api using wrong default SAP attributes with commas

book

Article ID: 228772

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

SAP attributes are not the expected ones when calling the "uxstr sap API" without manually setting all the expected comas.

Some of the parameters affected being: "sel cover","sap cover","PrintCoverOperSys"

This is a change of behavior compared to version 5.

Example of the problem, depending on how the parameters are passed to the command, some parameters are not the expected default ones:

$UNI_DIR_EXEC/uxstr SAP api jobname=OBPNOCOMMA steplist="((ORSYP, E, RSPARAM, TEST))"
$UNI_DIR_EXEC/uxstr SAP api jobname=OBPCOMMASPACE steplist="((ORSYP, E, RSPARAM, TEST, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ))"
$UNI_DIR_EXEC/uxstr SAP api jobname=OBPCOMMA steplist="((ORSYP, E, RSPARAM, TEST,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,))"

Expected behavior :

The attributes should have the Default Value no matter if the "comma" is added or not : when the attribute is missing at all in the API call, it should be the Default.

Actual behavior :

The attributes are set with a value when no Comas are set (e.g not forced to " ")

Without Commas :
PriNew : X
PriCoverSap : D

With Commas :
PriNew :
PriCoverSap :

Environment

Release : 6.x

Component : DOLLAR UNIVERSE

Sub-Component: Manager for SAP

Cause

Root cause was an incorrect code logic. This has been revamped.
Default parameters have changed. Please refer to documentation to get the new default values and new possible values.

Resolution

Update to a fix version listed below or a newer version if available.

Fix version(s): 
Component: Application.Server

Sub-component: Manager for SAP

Dollar Universe 6.10.91 - Scheduled 19th November 2021

Additional Information

Documentation about new parameters values (default an possible) for uxstr sap api available here