Fonction SAP BAPI_XBP_JOB_SPOOLLIST_READ - Read the Spool List of an ABAP Job Step

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
EXTERNAL_USER_NAME BAPIXMLOGR-EXTUSER C 16 Name of the SAP-External User
JOBCOUNT BAPIXMJOB-JOBCOUNT C 8 Job Count
JOBNAME BAPIXMJOB-JOBNAME C 32 Job Name
STEP_NUMBER BAPIXMJOB-STEPCOUNT I 4 Step Number

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548

Paramètre Reférence Long. Facultatif Description
SPOOL_LIST BAPIXMSPOO 255 Job Step Spool Request

Functionality
This method delivers the content of the spool request that was createdby a job step. The method only delivers spool requests that contain R/3list data.

Further information
XBP documentation (SAPnet/CCMS)

Description
INCLUDE BAPI_TABLE

Value range
MSG_JOBID_MISSING: You have not identified the job to which the jobstep is to be added. Either the job name or the job count is missing,or both.
MSG_JOB_DOES_NOT_EXIST: The job that you specified by job name and jobcount does not exist in the R/3 System.
MSG_JOB_DOESNT_HAVE_STEPS: You have not defined any job steps for thespecified job. You cannot create a spool request without job steps thatspecify the executing program.
MSG_INVALID_STEP_COUNT: The job does not have a job step with thespecified step number.
MSG_STEP_COUNT_MISSING: You have not specified a job number. You mustspecify this since every ABAP job step can create a spool request.
MSG_INVALID_SPOOLID: The spool request number that is assigned to thejob step is invalid. No corresponding spool request was found. Thespool request may have been deleted.
MSG_NO_SPOOLLIST: The spool request assigned to the job step does notcontain list data and therefore cannot be displayed.
MSG_PROBLEM_DETECTED: The background processing system has detected anerror. You can find an exact description of the problem in the R/3System log.
MSG_CANT_LOG: The method call was terminated due to an error in the R/3XMI logging system.
MSG_EXT_USER_MISSING: The external user name was not specified in thecall. This name specifies the user in the external system who triggeredthe method call.
MSG_NO_PRIVILEGE_GIVEN: The R/3 user with whom the calling program haslogged onto the R/3 System does not have authorization to display thespool request of the specified job step. You can find information onthe authorization required in the SAP online help.
MSG_NOT_LOGGED_ON: The external system administration tool has notlogged onto the CCMS XMI interface. The method call was terminated as aresult.


INCLUDE BAPI_XBP_EXTERNAL_USER_NAME ID TX
INCLUDE BAPI_XBP_JOBCOUNT ID TX
INCLUDE BAPI_XBP_JOBNAME ID TX
INCLUDE BAPI_XBP_STEP_NUMBER ID TX

Description
This structure contains the lines of the spool request that was createdby the specified job step. Only spool requests that contain the R/3list data are returned.