Fonction SAP BAPI_XBP_JOB_SELECT - Select Background Job According to Specific Criteria

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
JOB_SELECT_PARAM BAPIXMJSEL u 196
SELECTION CHAR2 C 2 'AL' X Single-Character Flag
SYSTEMID SYST-SYSID C 8 X System ID for Other SAP System

Paramètre Reférence Type Long. Description
ERROR_CODE I I 4 Special Additional Error Code
RETURN BAPIRET2 u 548

Paramètre Reférence Long. Facultatif Description
JOB_HEAD BAPIXMJOB 388 X BAPI XBP: Structure to Transfer Job Header Data
SELECTED_JOBS BAPIXMJOBS 40

Functionality
Use this method to select jobs according to specific criteria. You candetermine jobs according to status or date, for example.
With this method you can provide job display or administrationfunctions.

Further information
XBP documentation (SAPnet/CCMS)

Description
INCLUDE BAPI_TABLE

Value range
MSG_INVALID_SELECT_OPTION: The selection criteria that you havetransferred was incorrectly specified and is invalid.
MSG_SELECT_JOBNAME_MISSING: You must specify a job name as theselection criterion. You have not done this.
MSG_SELECT_USERNAME_MISSING: You must specify the name of thescheduling user as the selection criterion. You have not done this.
MSG_NO_JOBS_FOUND: No background jobs were found that fulfilled thisselection criteria.
MSG_PROBLEM_DETECTED: The background processing system has detected anerror. You can find a detailed 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_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

Description
Use this structure to transfer the job selection criteria to thebackground processing system.
INCLUDE BAPI_DATAELEMENT

Description
This structure contains the names and ID numbers of the background jobsthat fulfilled your selection criteria. You can use theseidentification characteristics to read the individual job definitionsfrom the database with the method BackgroundJob.GetDefinition.
INCLUDE BAPI_DATAELEMENT