PTRA_UTIL_TRIP_ENQUEUE_DEQUEUE is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter PTRA_UTIL_TRIP_ENQUEUE_DEQUEUE into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_EPTRV * CALL FUNCTION 'ENQUEUE_EPTRV' * EXPORTING * pernr = pernr * reinr = reinr_init "WKUK013054 * reinr = reinr "WKUK013054 * _scope = '1' * EXCEPTIONS * foreign_lock = 1 * system_failure = 2 * OTHERS = 3.
PTRM_WEB_CE_ENQUEUE_EPTRV CALL FUNCTION 'PTRM_WEB_CE_ENQUEUE_EPTRV' EXPORTING pernr = pernr reinr = reinr _scope = '1' EXCEPTIONS foreign_lock = 1 system_failure = 2 error_occurred = 3 OTHERS = 4.
PTRM_UTIL_MESSAGE_APPEND CALL FUNCTION 'PTRM_UTIL_MESSAGE_APPEND' EXPORTING i_msgtype = msgty i_msgid = '56' i_msgnumber = '393' i_msgv1 = pernr_nozero i_msgv2 = msgv1 i_field = gc_employeenumber.
PTRM_UTIL_MESSAGE_APPEND CALL FUNCTION 'PTRM_UTIL_MESSAGE_APPEND' EXPORTING i_msgtype = msgty i_msgid = '56' i_msgnumber = '392' i_msgv1 = pernr_nozero i_msgv2 = reinr_nozero i_msgv3 = msgv1 i_field = gc_employeenumber.
PTRM_UTIL_MESSAGE_APPEND CALL FUNCTION 'PTRM_UTIL_MESSAGE_APPEND' EXPORTING i_msgtype = msgty i_msgid = 'RP' i_msgnumber = '006' i_msgv1 = subrc i_msgv2 = pernr_nozero i_msgv3 = space i_field = gc_employeenumber.
DEQUEUE_EPTRV * CALL FUNCTION 'DEQUEUE_EPTRV' * EXPORTING * pernr = pernr * reinr = reinr.
PTRM_WEB_CE_DEQUEUE_EPTRV CALL FUNCTION 'PTRM_WEB_CE_DEQUEUE_EPTRV' EXPORTING pernr = pernr reinr = reinr.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.