SAP Function STATUS_OF_BACKGROUNDTASK - Get status of transactional RFC

Parameter Reference Type Length Default Optional Text
TID ARFCTID u 24 Transcation ID

Parameter Reference Length Optional Text
ERRORTAB ARFCERRORS 74 Table into which messages are written

Exception Text
COMMUNICATION No link. Will try again later
RECORDED aRFC is scheduled
ROLLBACK Exception initialized: Rollback in the target system


You can call this function module to query the status of an LUW in whichasynchronous function calls (asynchronous RFCs) have been executed. Ifthe LUW was executed successfully, no exception is raised, and themessage table is empty. To get the transaction ID under which the LUWran, call the function module ID_OF_BACKGROUNDTASK. Caution: If youenter an incorrect ID, you still see the status "everything OK".