RM06E_RETDLV_MIGRATE 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 RM06E_RETDLV_MIGRATE 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.
Migration Step Two for Return Delivery Logic from Note 491785
Selection Text: P_TEST = Test Mode
Text Symbol: 001 = : Not OK (open GR Quantities)
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ME_CONFIRMATION_RETDLV CALL FUNCTION 'ME_CONFIRMATION_RETDLV' EXPORTING i_vgbel = int_ekes-ebeln i_vgpos = int_ekes-ebelp i_etens = int_ekes-etens EXCEPTIONS visible_retdlv = 1 invisible_retdlv = 2 OTHERS = 3.
ENQUEUE_EMEKPOE CALL FUNCTION 'ENQUEUE_EMEKPOE' EXPORTING ebeln = int_ekpo-ebeln ebelp = int_ekpo-ebelp EXCEPTIONS foreign_lock = 2 system_failure = 3.
ME_CONFIRMATION_UPDATE_AVIS CALL FUNCTION 'ME_CONFIRMATION_UPDATE_AVIS' TABLES xekes = cor_ekes.
ME_CONFIRMATION_MAINTAIN CALL FUNCTION 'ME_CONFIRMATION_MAINTAIN' EXPORTING i_bstae = int_ekpo-bstae i_ebeln = int_ekpo-ebeln i_ebelp = int_ekpo-ebelp i_funkt = 'DV' i_werks = int_ekpo-werks IMPORTING e_vb_updkz = cor_eket_updkz TABLES xeket = int_eket.
DEQUEUE_EMEKPOE CALL FUNCTION 'DEQUEUE_EMEKPOE' EXPORTING ebeln = int_ekpo-ebeln ebelp = int_ekpo-ebelp.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.