RM06EM20 is a standard Executable ABAP Report 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 RM06EM20 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: = RM06EM00 w/o Output
INCLUDE FM06LMSD.
INCLUDE FM06LTO1.
INCLUDE FM06LCEV.
INCLUDE FM06LCS1.
INCLUDE FM06LCS4.
INCLUDE FM06LCS2.
INCLUDE FM06LCEK.
No SAP DATABASE tables are accessed within this REPORT code!
ME_ITEM_CATEGORY_SELOPT_INPUT CALL FUNCTION 'ME_ITEM_CATEGORY_SELOPT_INPUT' TABLES EXT_PSTYP = S_PSTYP INT_PSTYP = R_PSTYP.
ME_VAR_READ_POSITIONS CALL FUNCTION 'ME_VAR_READ_POSITIONS' EXPORTING I_EBELN = EKPO-EBELN I_EBELP = EKPO-EBELP TABLES I_POT = POT.
HELP_VALUES_EPSTP CALL FUNCTION 'HELP_VALUES_EPSTP' EXPORTING PROGRAM = SY-CPROG DYNNR = SY-DYNNR FIELDNAME = 'S_PSTYP-LOW' * BSART = * BSTYP = IMPORTING EPSTP = S_PSTYP-LOW EXCEPTIONS OTHERS = 1.
HELP_VALUES_EPSTP CALL FUNCTION 'HELP_VALUES_EPSTP' EXPORTING program = sy-cprog dynnr = sy-dynnr fieldname = 'S_PSTYP-HIGH' * BSART = * BSTYP = IMPORTING epstp = s_pstyp-high EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.