RMMR1MDC 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 report
If you would like to execute this report or see the full code listing simply enter RMMR1MDC into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
MRDC - Automatic Delivery Cost 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: ERSDCDS = D .
Selection Text: B_FRBNR = D .
Selection Text: B_EBELP = D .
Selection Text: B_EBELN = D .
Selection Text: B_BUKRS = D .
Selection Text: PA_VARIA = Layout
Selection Text: B_XTEST = Test Run
Selection Text: B_LPN = Smart Number
Selection Text: B_LIFNR = Freight Vendor
Title: Automatic Settlement of Planned Delivery Costs (ERS)
Text Symbol: V04 = One Document per B/L
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: P10 = Should the selected
Text Symbol: P01 = Save Changes
Text Symbol: E04 = Update Termination
Text Symbol: E03 = No delivery costs found
Text Symbol: E02 = Purchase order item not found
Text Symbol: E01 = Purchase order does not exist
Text Symbol: 011 = FI Doc.
Text Symbol: 010 = Accounting Document
Text Symbol: 009 = Info. Text
Text Symbol: 008 = Information Text
Text Symbol: 007 = Postable
Text Symbol: 006 = ERS-Postable
Text Symbol: 005 = Test Mode
Text Symbol: 004 = Log
Text Symbol: 003 = Display Options
Text Symbol: 002 = Processing Options
Text Symbol: 001 = Document Selection
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.