FH5AMF20 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 FH5AMF20 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.
Title: Enqueue/Dequeue Routines
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_ENQUEUE_OBJECT CALL FUNCTION 'HR_ENQUEUE_OBJECT' EXPORTING PLVAR = ACT_ENQK-PLVAR OTYPE = ACT_ENQK-OTYPE OBJID = ACT_ENQK-OBJID ENQUEUE_ONCE = ' ' IMPORTING LOCK_USER = ACT_USER EXCEPTIONS ENQUEUE_FAILED = 4 OBJID_IS_INITIAL = 0 ILLEGAL_OTYPE = 0 INTERNAL_ERROR = 12 OTHERS = 12.
HR_DEQUEUE_OBJECT CALL FUNCTION 'HR_DEQUEUE_OBJECT' EXPORTING PLVAR = LOCAL_ENQK-PLVAR OTYPE = LOCAL_ENQK-OTYPE OBJID = LOCAL_ENQK-OBJID DEQUEUE_ONCE = ' ' EXCEPTIONS ILLEGAL_OTYPE = 0 OBJID_IS_INITIAL = 0 INTERNAL_ERROR = 0 OTHERS = 0.
ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' "YCLA0032666 EXPORTING TABNAME = TE_TABNAME "YCLA0032666 VARKEY = TE_VARKEY "R3VIF EXCEPTIONS FOREIGN_LOCK = 4 "YCLA0032666 SYSTEM_FAILURE = 12. "YCLA0032666
DEQUEUE_E_TABLE CALL FUNCTION 'DEQUEUE_E_TABLE' * EXPORTING TABNAME = TD_TABNAME. "R3VIF
DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = TABNAME * STATE = 'A' * LANGU = ' ' IMPORTING DD02V_WA = l_dd02v_wa EXCEPTIONS ILLEGAL_INPUT = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.