SAP Function RSPO_GET_JOBSTATUS - Get status of an output request (=print job)

Parameter Reference Type Length Default Optional Text
OUTRQ RSPOPJNUM s 2 Output request number (0 means last outrq)
SPOOLID RSPOID I 4 Spool request number

Parameter Reference Type Length Text
OUTRQ_USED RSPOPJNUM s 2 Spool: output request number
PROBLEM_FLAG C C 0 'X' means that job has a problem
STATUS RSPOPJSTAT C 1 Possible values are in type-pool SP01T
STATUS_TEXT STRING g 0 Info about job status (like in SP01)

Exception Text
NOT_FOUND job was not found in table TSP02