SAP MRM_ASSIGNMENT_EDI Function Module for NOTRANSL: Logistik-Rechnungsprüfung - Zuordnung bei ungeklärten EDI-Rechnu









MRM_ASSIGNMENT_EDI is a standard mrm assignment edi SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Logistik-Rechnungsprüfung - Zuordnung bei ungeklärten EDI-Rechnu processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for mrm assignment edi FM, simply by entering the name MRM_ASSIGNMENT_EDI into the relevant SAP transaction such as SE37 or SE38.

Function Group: MRMD
Program Name: SAPLMRMD
Main Program: SAPLMRMD
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function MRM_ASSIGNMENT_EDI pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'MRM_ASSIGNMENT_EDI'"NOTRANSL: Logistik-Rechnungsprüfung - Zuordnung bei ungeklärten EDI-Rechnu
EXPORTING
* I_DISPLAY = ' ' "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')

CHANGING
C_RBKPV = "
* T_LIMIT = "

TABLES
T_DRSEG = "DE-EN-LANG-SWITCH-NO-TRANSLATION
T_ERRPROT = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* T_PRE04 = "Transfer Structure for Prefetch When Reading Material
* T_DRSEG_IN = "DE-EN-LANG-SWITCH-NO-TRANSLATION
.



IMPORTING Parameters details for MRM_ASSIGNMENT_EDI

I_DISPLAY - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for MRM_ASSIGNMENT_EDI

C_RBKPV -

Data type: MRM_RBKPV
Optional: No
Call by Reference: No ( called with pass by value option)

T_LIMIT -

Data type: MMCR_TLIMIT
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for MRM_ASSIGNMENT_EDI

T_DRSEG - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: MMCR_TDRSEG
Optional: No
Call by Reference: No ( called with pass by value option)

T_ERRPROT - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: MRM_TAB_ERRPROT
Optional: No
Call by Reference: No ( called with pass by value option)

T_PRE04 - Transfer Structure for Prefetch When Reading Material

Data type: PRE04
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_DRSEG_IN - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: MMCR_TDRSEG
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for MRM_ASSIGNMENT_EDI Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_c_rbkpv  TYPE MRM_RBKPV, "   
lt_t_drseg  TYPE STANDARD TABLE OF MMCR_TDRSEG, "   
lv_i_display  TYPE BOOLE-BOOLE, "   SPACE
lv_t_limit  TYPE MMCR_TLIMIT, "   
lt_t_errprot  TYPE STANDARD TABLE OF MRM_TAB_ERRPROT, "   
lt_t_pre04  TYPE STANDARD TABLE OF PRE04, "   
lt_t_drseg_in  TYPE STANDARD TABLE OF MMCR_TDRSEG. "   

  CALL FUNCTION 'MRM_ASSIGNMENT_EDI'  "NOTRANSL: Logistik-Rechnungsprüfung - Zuordnung bei ungeklärten EDI-Rechnu
    EXPORTING
         I_DISPLAY = lv_i_display
    CHANGING
         C_RBKPV = lv_c_rbkpv
         T_LIMIT = lv_t_limit
    TABLES
         T_DRSEG = lt_t_drseg
         T_ERRPROT = lt_t_errprot
         T_PRE04 = lt_t_pre04
         T_DRSEG_IN = lt_t_drseg_in
. " MRM_ASSIGNMENT_EDI




ABAP code using 7.40 inline data declarations to call FM MRM_ASSIGNMENT_EDI

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_display).
DATA(ld_i_display) = ' '.
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!