ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

No archive information found (function BAPI_XBP_JOB_ADD_ABAP_STEP)

book

Article ID: 212823

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

SAP Jobs submitted in API mode with 'uxstra sap api jobname.....) aborts on occasion with the following information in the job log:


===================== SUBMISSION ERROR =====================
can't add step [1] [AQA0BULLDOZER===ZVER_39_00====]
------------------------------------------------------------
BAPI error number : 051
      id   : XM
      message : No archive information found (function BAPI_XBP_JOB_ADD_ABAP_STEP)
      msg v1 : BAPI_XBP_JOB_ADD_ABAP_STEP
============================================================

abort

=============================================================

In the universe.log file :

=============================================================

|INFO |X|SAP|pid=p.t| uxsap_mgr_to_sap_print_xb | Parameter [ARMOD] value [3]

=============================================================

In this context the parameter archive mode is never set by the customer, it is left to the default value 1.

https://docs.automic.com/documentation/webhelp/english/ALL/components/DU_AS/latest/%20%20Dollar%20Universe%20Guides/help.htm#SAPHelp/Triggering%20a%20SAP%20Job%20in%20API%20Mode.htm?Highlight=%22arch%20mode%22

 

Cause

The problem is somewhere between the Dollar Universe (SAP Manager) and the generation out of the BAPI call of BAPI_XBP_JOB_ADD_ABAP_STEP on the RFC communication channel.

If the archiving mode is not set in the step section of the sap api instruction, so it should take the default value of 1, the reason why SAP receives a BAPI call with archive mode set to 3 has still to be determined.

If this mode is not existing on the sap system, the job will abort.

The Root cause of this problem has still too be identified.

Environment

Release : 6.x

Component : DOLLAR UNIVERSE

Sub-Component: Manager for SAP

Resolution

At this time, only a workaround currently exists.

Force use Archiving Mode to 1 for all SAP API jobs, by modifying the script setting the variable ARCHIVING_MODE with the value 1 instead of leaving the parameter empty.

Example 1:

If all you Uproc Scripts launch this kind of command "uxstr sap api" :

$UXEXE/uxstr sap api jobname="${JOBNAME}" ${SCHEDULE} ${MODE_START}\
      ${SPL_REC} ${T_JOBCLASS} ${CHILDREN} ${APP_SERVER} ${SPOOL}\
      steplist="(($USER,$LANGUAGE,$PROGRAM,\
$VARIANT,$PRINTER,$DELETE,$COPIES,$AUTHORIZATION,\
$ARCHIVING_MODE,$PR_IMMEDIATE,$ARCHIVE_OBJECT,$ARCHIVE_DOC,\
$ARCHIVE_INFO,$SELCOVERPAGE,$SAPCOVERPAGE,$RETENTION,$RECEIVER,\
$LINES,$COLUMNS,$PR_FORMAT,$PR_UNX,$PR_DEPARTMENT,$SPLREQNAME,\
${PR_TITLE},$PR_SPLNAME,$PR_SPLTYPE,$NEW,$PR_PRIORITY,$FOOT,\
${AR_TITLE},$AR_DATE,$AR_USER,$AR_ID,$AR_CLASS,$AR_RPCHOST,\
$AR_RPCSERV,$AR_INTERFACE,$AR_CLIENT,$AR_PROGRAM,$AR_PRINTER,\
$AR_FORMAT,$AR_PATH,$AR_PROTOKOLL,$AR_VERSION))"

You can workaround the problem by adding the variable ARCHIVING_MODE with the value set to 1 in the Node Variables of the node.

Example 2:

If the command "uxstr sap api" in each Uproc Script only contains the variable names for the different parameters that are usually set like below:

 ${UXEXE}/uxstr SAP API JOBNAME=${JOBNAME} steplist="((UNIVERSE,F,${ABAP},${VARIANTE},${PRINTER},,${COPIES},,,,,,,,,,,,,,,,,,${SPOOLNAME}))"


You can workaround the issue by replacing in the Uproc Scripts ( or using a U_ANTE_UPROC) the above command by the following where the ARCHIVING_MODE is set with value 1:

${UXEXE}/uxstr SAP API JOBNAME=${JOBNAME} steplist="((UNIVERSE,F,${ABAP},${VARIANTE},${PRINTER},,${COPIES},,1,,,,,,,,,,,,,,,,${SPOOLNAME}))"

 

Additional Information

As already mentioned, the Root Cause for that problem is still unclear as the problem cannot be reproduced at Broadcom and it should still be investigated.

Therefore our R&D Department would need more information from the customer.

If the customer is willing to contribute to these investigations by providing more information, following actions should be performed.

-- A case at BROADCOM Support must opened.

-- Please activate the following trace in the Node Settings of this node.

           Nodes Settings ==> Logging ==> Main Log Level ==> 0,SAPGMR,RFC,JNL

           Nodes Settings ==> Manager for SAP Solution ==> Trace the RFC Communication between the Manager and ==> SAP ==> 3

-- add the command 'set -x' before the call to uxstr sap api in the Uproc script 

Provide after the next occurence.

-- The job log of the impacted Uproc

-- all *trc files present in the subfolder log/rfc 

-- the dev_rfc.trc file from the same folder.

-- the universe.log file of the Dollar Universe Node

-- Date and Time of the impacted Job execution.

-- Name of the Uproc

-- The script used by that uproc.

Attachments