SAP Reports / Programs

RM06EANL SAP ABAP Report - Generation of Inbound Deliveries







RM06EANL 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 RM06EANL into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

VL34 - Worklist Inbound Deliveries


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 RM06EANL. "Basic submit
SUBMIT RM06EANL AND RETURN. "Return to original report after report execution complete
SUBMIT RM06EANL VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_DATE = Delivery Date to
Selection Text: P_TEST = Test Run
Selection Text: S_EBELN = Document Number
Selection Text: S_EBELP = Item Number
Selection Text: S_LGNUM = Warehouse Number
Selection Text: S_LGORT = Storage Location
Selection Text: S_WERKS = Plant
Title: Generation of Inbound Deliveries
Text Symbol: 001 = Selection criteria for purchase orders
Text Symbol: 006 = Inb. Deliv.
Text Symbol: 007 = Mult.Proc.
Text Symbol: 008 = Not inbound delivs.


INCLUDES used within this REPORT RM06EANL

INCLUDE FMMEXDIR. "1802848


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:

MESSAGES_INITIALIZE call function 'MESSAGES_INITIALIZE'.

ENQUEUE_EMEKKOS call function 'ENQUEUE_EMEKKOS' exporting ebeln = xekpo_short-ebeln exceptions foreign_lock = 2 system_failure = 3.

ENQUEUE_EMEKPOE call function 'ENQUEUE_EMEKPOE' exporting ebeln = xekpo_short-ebeln exceptions foreign_lock = 2 system_failure = 3.

ME_EKKO_SINGLE_READ call function 'ME_EKKO_SINGLE_READ' exporting pi_ebeln = xekpo_short-ebeln importing po_ekko = ekko exceptions no_records_found = 1 others = 2.

ME_CONFIRMATION_ANL_QTY call function 'ME_CONFIRMATION_ANL_QTY' exporting i_ebeln = xekpo_short-ebeln i_ebelp = xekpo_short-ebelp i_eindt = p_date i_bstae = xekpo_short-bstae "n_631132 i_uptyp = xekpo_short-uptyp "n_631132 tables xeket = xeket.

ME_CONFIRMATIONS_REFRESH CALL FUNCTION 'ME_CONFIRMATIONS_REFRESH'. "1827920

GN_DELIVERY_CREATE call function 'GN_DELIVERY_CREATE' exporting * no_commit = 'X' vbsk_i = xvbsk tables xkomdlgn = xkomdlgn xvbfs = xvbfs xvbls = xvbls xxlips = xlips.

GN_DELIVERY_CREATE_FOR_DIALOG call function 'GN_DELIVERY_CREATE_FOR_DIALOG' exporting vbsk_i = xvbsk tables fxlikp = fxlikp fxlips = fxlips fxvbfa = fxvbfa fxvbpa = fxvbpa fxvbuk = fxvbuk fxvbup = fxvbup fyvbuk = fyvbuk fyvbup = fyvbup xkomdlgn = xkomdlgn xvbfs = xvbfs xvbls = xvbls.

DEQUEUE_EMEKKOS call function 'DEQUEUE_EMEKKOS' "598606 exporting "598606 ebeln = xekpo_short-ebeln. "598606

DEQUEUE_EMEKPOE call function 'DEQUEUE_EMEKPOE' "1023319 exporting "1023319 ebeln = xekpo_short-ebeln. "1023319

MESSAGES_SHOW call function 'MESSAGES_SHOW' "Ausgabe exporting object = text-001 show_linno = space batch_list_type = 'B' exceptions inconsistent_range no_messages.

NUMBER_GET_NEXT call function 'NUMBER_GET_NEXT' exporting nr_range_nr = tvsa-numki object = 'RV_SAMMG' importing number = xvbsk-sammg exceptions others = 01.

VENDOR_MASTER_DATA_SELECT_12 CALL FUNCTION 'VENDOR_MASTER_DATA_SELECT_12' EXPORTING PI_LIFNR = EKKO-LIFNR PI_EKORG = EKKO-EKORG IMPORTING PE_LFM1 = LFM1 EXCEPTIONS NO_ENTRY_FOUND = 1 OTHERS = 2.

MMPUR_EKKN_READ_EBELN_EBELP call function 'MMPUR_EKKN_READ_EBELN_EBELP' exporting pi_ebeln = xekpo_short-ebeln pi_ebelp = xekpo_short-ebelp * PI_BYPASSING_BUFFER = * PI_REFRESH_BUFFER = tables pto_ekkn_po = xekkn exceptions no_records_requested = 1 others = 2.

MESSAGE_STORE call function 'MESSAGE_STORE' exporting arbgb = xvbfs-msgid msgty = xvbfs-msgty msgv1 = xvbfs-msgv1 msgv2 = xvbfs-msgv2 msgv3 = xvbfs-msgv3 msgv4 = xvbfs-msgv4 txtnr = xvbfs-msgno zeile = count1 exceptions message_type_not_valid not_active.

MESSAGE_STORE call function 'MESSAGE_STORE' exporting arbgb = xvbfs-msgid msgty = xvbfs-msgty msgv1 = xvbfs-msgv1 msgv2 = xvbfs-msgv2 msgv3 = xvbfs-msgv3 msgv4 = xvbfs-msgv4 txtnr = xvbfs-msgno zeile = count1 exceptions message_type_not_valid not_active.

MESSAGE_STORE call function 'MESSAGE_STORE' exporting arbgb = 'ME' msgty = 'I' msgv1 = xkomdlgn-matnr msgv2 = xkomdlgn-werks msgv3 = xkomdlgn-lifnr txtnr = '157' zeile = count1 exceptions message_type_not_valid not_active.

MESSAGE_STORE call function 'MESSAGE_STORE' exporting arbgb = xvbfs-msgid msgty = xvbfs-msgty msgv1 = xvbfs-msgv1 msgv2 = xvbfs-msgv2 msgv3 = xvbfs-msgv3 msgv4 = xvbfs-msgv4 txtnr = xvbfs-msgno zeile = count1 exceptions message_type_not_valid not_active.

MESSAGE_STORE





call function 'MESSAGE_STORE' exporting arbgb = 'M6' msgty = 'I' msgv1 = xvbfs-msgv1 msgv2 = xvbfs-msgv2 msgv3 = xvbfs-msgv3 msgv4 = xvbfs-msgv4 txtnr = '002' zeile = count1 exceptions message_type_not_valid not_active.

MESSAGE_STORE call function 'MESSAGE_STORE' exporting arbgb = 'VL' msgty = 'I' msgv1 = text-006 msgv2 = xlips-vbeln msgv3 = space msgv4 = space txtnr = '311' zeile = count exceptions message_type_not_valid not_active.

ME_CONFIRMATION_DELIVERY_TYPE call function 'ME_CONFIRMATION_DELIVERY_TYPE' exporting i_func = '1' changing c_ibtyp = h_ibtyp c_ebtyp = gf_ebtyp c_lfart = gf_dlv_type exceptions function_not_valid = 01 param_value_missing = 02 no_item_found = 03.



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 RM06EANL or its description.