Fonction SAP BKK_UPT_DISP_INTERV_GET_INTVNO - Retrieval of the Number of the Next Interval to Be Processed

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_DISPID BKK_DISPID C 61 ID for Task Dispatcher (Parallel Processing)
I_JOBNO BKKD_JOBNO 0 '00000' X Job Number

Paramètre Reférence Type Long. Description
E_INTERVNO BKK_INTERVNO N 10 Interval Number

Exception Description
ERROR Error in Function Execution
FOREIGN_LOCK Interval is Locked

Functionality
This function returns the interval number for the next interval to beprocessed with the dispatcher identification I_DISPID from theBKKMDISPINTERV table. The interval is flagged in the table withstatus 2 in the INTVSTATUS field (Data selected from interval)and with an X in the X_INTV_IN_PROC field (Interval inprocessing). It is also flagged with specifications on the processingjob (JOBNAME, JOBCOUNT). If there is no longer a free interval,or if there are no intervals saved under the dispatcher identification,the system returns 0 as the interval number.

Description
After the call-up,this parameter contains the number of the next interval to be processedwith the dispatcher identification I_DISPID, or 0 if no interval number could be determined.

Description
The dispatcher identification is a unique key for the dispatcher and iscompiled of the following: Program name '-' Date of program run '-'Sequence number of program run '-' 'Step number within the program run.
Example: RFBKSOPAR-20021001-001-001