SAP EXIT_SAPLMR1M_002 Function Module for Customer Exit: Change Proposed Account Assignment









EXIT_SAPLMR1M_002 is a standard exit saplmr1m 002 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Customer Exit: Change Proposed Account Assignment 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 exit saplmr1m 002 FM, simply by entering the name EXIT_SAPLMR1M_002 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLMR1M_002 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 'EXIT_SAPLMR1M_002'"Customer Exit: Change Proposed Account Assignment
EXPORTING
I_DRSEG = "

TABLES
T_DRSEG_CO = "
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
J_1I_F4IF_SHLP_EXIT_LICNUMBER NOTRANSL: Beispiel für ein Suchhilfe-Exit eine Suchhilfe
MR1M_CALL_SCREEN_6000 Test
MRM_AC_DOCUMENT_SENDER_RMRP NOTRANSL: Anzeigen Ursprungsbeleg: Eingangsrechnungen
MRM_AC_DOC_SENDER_RMRP_RFC NOTRANSL: Anzeigen Ursprungsbeleg: Eingangsrechnungen RFC fähig
MRM_ARCHIVE_INVOICE_DISPLAY Display Archived Invoice Documents
MRM_BPMNG_F_CALCULATE_ABD Calls Form BPMNG_F_CALCULATE_ABD
MRM_BUTTON_SET NOTRANSL: Setzen der 'Ampel' im Positions-/Verdichtungsbild
MRM_CALCULATE_BALANCE Calculate balance
MRM_CHECK_NEW_NUMBER_RANGE NOTRANSL: Prüfung Belegänderungen
MRM_DECO_VORGANG UI decoupling: Vorgang
MRM_DISPLAY_INVOICE NOTRANSL: Rechnung buchen
MRM_DRSEG_CHECK NOTRANSL: Logistik-Rechnungsprüfung: Prüfungen der Belegzeilen
MRM_DRSEG_CHECK_PARKED NOTRANSL: MRM_DRSEG_CHECK_PARKED
MRM_INFO_MESSAGE NOTRANSL: Ausgabe Info-Meldung via Popup
MRM_INVOICE_CANCEL_PERFORM NOTRANSL: MR8M Lock RBKP
MRM_INVOICE_CHANGE NOTRANSL: Logistik-Rechnungsprüfung: Anzeigen und Ändern des Rechnungsbele
MRM_INVOICE_DISPLAY
MRM_MULTIASSIGN_TM NOTRANSL: Multi. Assign. screen for TM
MRM_MULTISELECT_CONTRACT NOTRANSL: Kontrakt Mehrfachzuordernung
MRM_POSITION_TREATM NOTRANSL: Logistik-Rechnungsprüfung: Anzeigen und Fehlerbehandlung der Pos
MRM_POSITION_TREATM_MR1B NOTRANSL: Logistik-Rechnungsprüfung: Anzeigen und Fehlerbehandlung der Pos
MRM_POSITION_TREATM_OLD NOTRANSL: Logistik-Rechnungsprüfung: Anzeigen und Fehlerbehandlung der Pos
MRM_SELCRITERIA_CHANGE NOTRANSL: Ändern der Zuordnungskriterien
MRM_SERVICE_GET_ROOT_NODES NOTRANSL: Contract Service Selection : get all root nodes
MRM_SERVICE_SELECT NOTRANSL: Log. inv. verif.: Service Selection
MRM_SET_GET_IVEXT NOTRANSL: Erweiterungsfelder fuer LIV
MRM_TRAFFIC_SET NOTRANSL: Setzen der 'Ampel' im Positions-/Verdichtungsbild
SD_SCD_SELECTION_POPUP NOTRANSL: Popup with selection criteria for shipment cost documents

IMPORTING Parameters details for EXIT_SAPLMR1M_002

I_DRSEG -

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

TABLES Parameters details for EXIT_SAPLMR1M_002

T_DRSEG_CO -

Data type: MMCR_TDRSEG_CO
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for EXIT_SAPLMR1M_002 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_i_drseg  TYPE MMCR_DRSEG, "   
lt_t_drseg_co  TYPE STANDARD TABLE OF MMCR_TDRSEG_CO. "   

  CALL FUNCTION 'EXIT_SAPLMR1M_002'  "Customer Exit: Change Proposed Account Assignment
    EXPORTING
         I_DRSEG = lv_i_drseg
    TABLES
         T_DRSEG_CO = lt_t_drseg_co
. " EXIT_SAPLMR1M_002




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLMR1M_002

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.

 
 


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!