Fonction SAP BP_JOBLIST_PROCESSOR - List and Edit Background Request List

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
JOBLIST_OPCODE BTCH0000-INT4 I 4 Work Mode Display / Edit
JOBLIST_REFR_PARAM BTCSELECT u 236 SPACE X Selection Parameters to Refresh Job List

Paramètre Reférence Type Long. Description
JOBLIST_SEL_JOB TBTCJOB u 668 The Job Selected From the List

Paramètre Reférence Long. Facultatif Description
JOBLIST TBTCJOB 668 Job List

Exception Description
INVALID_OPCODE Incorrect Value for Parameter JOBLIST_OPCODE
JOBLIST_IS_EMPTY No Jobs Found
JOBLIST_PROCESSOR_CANCELED Job List Processor Canceled


Functionality
Use this function module to display a list of jobs to a user. You candisplay the list in the following modes:
  • Display-only mode

  • Edit mode, so that the user can perform operations on jobs, such as
  • releasing them
    • Select mode, to have a user select a job from the list.

    • BP_JOBLIST_PROCESSOR takes a job list that you have generated withBP_JOB_SELECT as its input.

      Value range
      If the parameter JOBLIST_OPCODE was set to BTC_JOBLIST_SELECT, thenthis parameter contains the job selected by the user, if the userselected one. The data that is returned is taken from the job entry intable TBTCJOB.

      Description
      Use this parameter to specify the mode in which a job list is displayedto a user.

      Value range
      The following possible values are defined in the include programLBTCHDEF:

      • BTC_JOBLIST_SHOW: The user has read access to the jobs in the list.
      • The user can also display spool lists that were generated by backgroundjobs and perform operations on these.
        • BTC_JOBLIST_EDIT: The user can perform operations with the jobs, such
        • as releasing or rescheduling a job.
          • BTC_JOBLIST_SELECT: The user is prompted to select a job from the list.
          • If a job is selected, it is returned to your program in the parameterJOBLIST_SEL_JOB.

            Description
            This parameter accepts the job selection criteria in the parameterJOBSEL_PARAM_OUT of function module BP_JOB_SELECT as its input. Theseselection criteria are used to refresh the job list if the user chooses"Refresh".
            The criteria are defined in structure BTCSELECT and are the same asthose offered in the job maintenance of the background processingsystem (transaction SM37).

            Description
            This table parameter contains the list of jobs that were selected fordisplay to the user with the BP_JOB_SELECT function module. The dataconsists of job records from the structure TBTCJOB.
            The jobs in the job list are displayed to the user in the list formatthat wass used in the job maintenance (transaction SM37) of thebackground processing system.