SAP Function BP_JOB_GET_PREDECESSORS - Determine background requests as preceding requests of a spec. request

Parameter Reference Type Length Default Optional Text
JOBCOUNT TBTCJOB-JOBCOUNT C 8 Job number
JOBNAME TBTCJOB-JOBNAME C 32 Job Name

Parameter Reference Length Optional Text
PRED_JOBLIST TBTCJOB 668 Preceding Job

Exception Text
JOB_NOT_EXISTS Job Does Not Exist
NO_PREDECESSORS_FOUND


This function module searches the system for a predecessor job for thespecific background job.
A predecessor job is one whose completion triggers the start of thespecified job.
INCLUDE 'BP_JOBLOG_READ JOBCOUNT' OBJECT DOKU ID FU
INCLUDE 'BP_JOBLOG_READ JOBNAME' OBJECT DOKU ID FU

Description
Returns the TBTCJOB entry of the immediate predecessor of the job thatwas specified in the call of this function module.