SAP Reports / Programs | Basis Components | Business Management | Organizational Management(BC-BMT-OM) SAP BC

FH5AMF20 SAP ABAP INCLUDE - Enqueue/Dequeue Routines







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT FH5AMF20. "Basic submit
SUBMIT FH5AMF20 AND RETURN. "Return to original report after report execution complete
SUBMIT FH5AMF20 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Enqueue/Dequeue Routines


INCLUDES used within this REPORT FH5AMF20

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name FH5AMF20 or its description.