RMMR1MRS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use the report RMMR1MRS to effect automatic settlement of goods receipts...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RMMR1MRS into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
MRRL - Evaluated Receipt Settlement
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.
Selection Text: B_AWBID = Air Waybill
Selection Text: B_BOLID = Bill of Lading
Selection Text: B_BUDAT = Goods Receipt Posting Date
Selection Text: B_FLIGHT = Flight Number
Selection Text: B_MBLNR = Goods Receipt Document
Selection Text: B_MJAHR = Fiscal Year of Goods Receipt
Selection Text: B_TORID = Freight Order
Selection Text: B_TSPID = Carrier
Selection Text: B_VOYID = Voyage Number
Selection Text: B_XTEST = Test Run
Selection Text: PA_TM = Settle Documents
Selection Text: PA_VARIA = Layout
Selection Text: B_BUKRS = D .
Selection Text: B_EBELN = D .
Selection Text: B_EBELP = D .
Selection Text: B_LIFNR = D .
Selection Text: B_WERKS = D .
Selection Text: ERSBA = D .
Title: Evaluated Receipt Settlement (ERS) with Logistics Invoice Verification
Text Symbol: V04 = One Document per Delivery Doc./Service Entry Sheet
Text Symbol: V03 = One Document per PO Item
Text Symbol: V02 = One Document per PO
Text Symbol: V01 = One Document per Vendor
Text Symbol: P11 = lines be excluded from ERS?
Text Symbol: 001 = Log
Text Symbol: 003 = Test Mode
Text Symbol: 004 = ERS-Pstable
Text Symbol: 006 = Pstable
Text Symbol: 007 = Information Text
Text Symbol: 008 = InfoText
Text Symbol: 009 = Accounting Document
Text Symbol: 010 = FI Doc.
Text Symbol: 011 = Settle Goods Items + Planned Delivery Costs
Text Symbol: 012 = Settlement of planned deliv. costs not possible if GR-related data entered
Text Symbol: 050 = Document Selection
Text Symbol: 051 = Processing Options
Text Symbol: 052 = Display Options
Text Symbol: 053 = Transportation Management
INCLUDE MRM_TYPES_NAST.
INCLUDE: MRM_CONST_COMMON,
MRM_CONST_MRM,
MRM_CONST_NAST,
MRM_CONST_ME.
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = c_save CHANGING cs_variant = s_var_usr EXCEPTIONS not_found = 2.
REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = c_save CHANGING cs_variant = s_var_usr.
MRM_HEAD_MESSAGE_CREATE CALL FUNCTION 'MRM_HEAD_MESSAGE_CREATE' EXPORTING if_kappl = c_kappl_mr if_kalsm = c_kalsm_0004 is_rbkpv = h_rbkpv is_komkbmr = ls_komkbmr if_update = lf_update if_protocol = pa_prot EXCEPTIONS *DELETE wegen Fehler bei der erweiterten Programmprüfung * no_message_found = 1 " note 420739 MB error_message = 2 OTHERS = 3.
ME_EKKO_SINGLE_READ * call function 'ME_EKKO_SINGLE_READ' * exporting * pi_ebeln = pti_selwenr-ebeln * importing * po_ekko = ls_ekko * exceptions * no_records_found = 1 * others = 2.
QMLR_CREATE_DOCUMENT_FLOW * call function 'QMLR_CREATE_DOCUMENT_FLOW' * exporting * role_a = ls_role_a * role_b = ls_role_b * reltype = 'VONA' * exceptions * no_logical_system = 1 * no_relation_create = 2 * others = 3.
FI_DOCUMENT_NUMBER_GET CALL FUNCTION 'FI_DOCUMENT_NUMBER_GET' TABLES t_accdn = t_accdn t_logdn = t_logdn.
ME_EKKO_ARRAY_READ CALL FUNCTION 'ME_EKKO_ARRAY_READ' * EXPORTING * REFRESH_BUFFER = TABLES pti_ekko_keytab = pti_ekko_key * PTO_EKKO = EXCEPTIONS err_no_records_requested = 1 err_no_records_found = 2 OTHERS = 3.
RPY_MESSAGE_COMPOSE CALL FUNCTION 'RPY_MESSAGE_COMPOSE' EXPORTING message_id = i_mesg-arbgb message_number = h_msgno message_var1 = i_mesg-msgv1 message_var2 = i_mesg-msgv2 message_var3 = i_mesg-msgv3 message_var4 = i_mesg-msgv4 IMPORTING message_text = h_mtext EXCEPTIONS message_not_found = 1 OTHERS = 2.
RPY_MESSAGE_COMPOSE CALL FUNCTION 'RPY_MESSAGE_COMPOSE' EXPORTING message_id = sy-msgid message_number = sy-msgno message_var1 = sy-msgv1 message_var2 = sy-msgv2 message_var3 = sy-msgv3 message_var4 = sy-msgv4 IMPORTING message_text = h_mtext EXCEPTIONS message_not_found = 1 OTHERS = 2.
MRM_INVOICE_VERIFICATION_ERS CALL FUNCTION 'MRM_INVOICE_VERIFICATION_ERS' EXPORTING i_lifnr = pi_segtab-lifnr i_bukrs = pi_segtab-bukrs i_lifre = pi_segtab-lifre i_waers = pi_segtab-waers i_wkurs = h_wkurs i_zterm = pi_segtab-zterm i_xrech = pi_segtab-xrech i_retpo = pi_segtab-retpo i_simulation = i_simulation is_enhancement = ls_isi_mrm_invoice_verif_e i_xtm = pa_tm IMPORTING e_rbkpv = po_rbkpv TABLES ti_selwenr = pti_selwenr ti_settle_dc = pti_settle_dc EXCEPTIONS error_message = 1 OTHERS = 2.
MRM_SPLIT_DATA_ERS CALL FUNCTION 'MRM_SPLIT_DATA_ERS' EXPORTING i_ersba = pi_ersba TABLES t_segtab = ptx_segtab EXCEPTIONS OTHERS = 0. "Baustein löst keine exceptions aus!
CALL FUNCTION 'MMPUR_EKBE_ARRAY_READ' * exporting * PI_REFRESH_BUFFER = TABLES pti_ekbe_key = pti_ekbel * PTO_EKBE = EXCEPTIONS no_records_requested = 1 OTHERS = 2.
MMPUR_EKBE_READ_EBELN_EBELP CALL FUNCTION 'MMPUR_EKBE_READ_EBELN_EBELP' EXPORTING pi_ebeln = ptx_ekrs-ebeln pi_ebelp = ptx_ekrs-ebelp * PI_BYPASSING_BUFFER = * PI_REFRESH_BUFFER = TABLES pto_ekbe_po = t_ekbe EXCEPTIONS no_records_requested = 1 OTHERS = 2.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = it_events.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = c_repid i_internal_tabname = c_segtab i_structure_name = 'ERSALV' CHANGING ct_fieldcat = t_fieldcat[].
ME_UPDATE_EKRS CALL FUNCTION 'ME_UPDATE_EKRS' IN UPDATE TASK EXPORTING i_delete = 'X' TABLES t_ekrs = pti_ekrs.
ME_EKKO_SINGLE_READ CALL FUNCTION 'ME_EKKO_SINGLE_READ' EXPORTING pi_ebeln = pi_ebeln IMPORTING po_ekko = pe_ekko EXCEPTIONS no_records_found = 1 OTHERS = 2.
CURRENCY_EXPIRATION_CHECK CALL FUNCTION 'CURRENCY_EXPIRATION_CHECK' EXPORTING currency = pi_ekko-waers date = sy-datlo object = f_object IMPORTING currency_new = f_waers EXCEPTIONS error_message = 4.
ME_READ_ITEM_INVOICE CALL FUNCTION 'ME_READ_ITEM_INVOICE' EXPORTING display = 'X' "Sätze werden nicht gesperrt ebelp = pi_ebelp iekko = pi_ekko re_kursf = lf_kursf re_waers = f_waers re_wwert = pi_date xek08r_flag = pi_reset TABLES xek08rn_item = lt_ek08rn_item xek08rn = yek08rn EXCEPTIONS not_found_any = 1 not_found_one = 2 not_valid_any = 3 not_valid_one = 4 OTHERS = 5.
DOCU_OBJECT_NAME_CONCATENATE CALL FUNCTION 'DOCU_OBJECT_NAME_CONCATENATE' EXPORTING docu_id = c_dokclass_na element = i_segtab-arbgb addition = i_segtab-txtnr IMPORTING object = dokname.
HELP_OBJECT_SHOW CALL FUNCTION 'HELP_OBJECT_SHOW' EXPORTING dokclass = c_dokclass_na dokname = dokname doktitle = title called_by_program = c_repid called_by_dynp = dynnr msg_var_1 = i_segtab-msgv1 msg_var_2 = i_segtab-msgv2 msg_var_3 = i_segtab-msgv3 msg_var_4 = i_segtab-msgv4 called_by_cuaprog = c_repid called_by_cuastat = pfkey TABLES links = t_dummy.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_buffer_active = space i_callback_program = c_repid i_callback_pf_status_set = c_pf_status_set i_callback_user_command = c_user_command i_structure_name = 'SEGTAB' it_fieldcat = tab_fieldcat[] it_sort = tab_sort[] is_layout = s_layout i_save = c_save is_variant = s_variant it_events = tab_events[] TABLES t_outtab = segtab.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = tab_list_of_list.
MIGO_DIALOG CALL FUNCTION 'MIGO_DIALOG' EXPORTING i_action = 'A04' i_refdoc = 'R02' i_notree = 'X' i_skip_first_screen = 'X' i_deadend = 'X' i_mblnr = s_segtab-lfbnr i_mjahr = s_segtab-lfgja.
MR_PO_DISPLAY CALL FUNCTION 'MR_PO_DISPLAY' EXPORTING i_ebeln = s_segtab-ebeln.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' "#EC FB_OLDED EXPORTING textline1 = text-p10 textline2 = text-p11 titel = text-p01 IMPORTING answer = f_answer.
MR_PO_DISPLAY CALL FUNCTION 'MR_PO_DISPLAY' EXPORTING i_ebeln = s_segtab-ebeln.
MR_PO_DISPLAY CALL FUNCTION 'MR_PO_DISPLAY' EXPORTING i_ebeln = s_segtab-ebeln.
MIGO_DIALOG CALL FUNCTION 'MIGO_DIALOG' EXPORTING i_action = 'A04' i_refdoc = 'R02' i_notree = 'X' i_skip_first_screen = 'X' i_deadend = 'X' i_mblnr = s_segtab-lfbnr i_mjahr = s_segtab-lfgja.
MS_READ_ENTRY_SHEET CALL FUNCTION 'MS_READ_ENTRY_SHEET' EXPORTING i_lblni = pe_segtab-lfbnr i_with_accounts = ' ' i_with_esll = ' ' IMPORTING e_essr = s_essr EXCEPTIONS sheet_not_found = 1 account_not_found = 2 sheet_not_buffered = 3.
GET_TEXT_DOMVALUE CALL FUNCTION 'GET_TEXT_DOMVALUE' EXPORTING domname = 'ERSBA' domvalue = lf_value langu = sy-langu IMPORTING txt = lf_text EXCEPTIONS not_found = 1 OTHERS = 2.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'RM08E' fieldname = 'ERSBA' dynpprog = c_repid dynpnr = lf_dynumb dynprofield = 'ERSBA' stepl = 0 callback_program = c_repid callback_form = 'F4CALLBACK_ERSBA' TABLES return_tab = lt_value EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 OTHERS = 5.
REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = s_variant i_save = c_save * it_default_fieldcat = IMPORTING e_exit = f_exit es_variant = s_var_usr EXCEPTIONS not_found = 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.
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 RMMR1MRS or its description.
RMMR1MRS - Evaluated Receipt Settlement (ERS) with Logistics Invoice Verification RMMR1MRS - Evaluated Receipt Settlement (ERS) with Logistics Invoice Verification RMMR1MRR - Automotive Evaluated Receipt Settlement (ERS) RMMR1MRR - Automotive Evaluated Receipt Settlement (ERS) RMMR1MRB - Revaluation with Logistics Invoice Verification RMMR1MRB - Revaluation with Logistics Invoice Verification