SAP MM_ARRANG_READ Function Module for NOTRANSL: Absprachen einlesen zu Selektionskriterien (Absprachen Einkauf/V









MM_ARRANG_READ is a standard mm arrang read 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: Absprachen einlesen zu Selektionskriterien (Absprachen Einkauf/V 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 mm arrang read FM, simply by entering the name MM_ARRANG_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function MM_ARRANG_READ 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 'MM_ARRANG_READ'"NOTRANSL: Absprachen einlesen zu Selektionskriterien (Absprachen Einkauf/V
EXPORTING
* I_KAPPL = 'M ' "Application
I_RWM01_SELECT = "DE-EN-LANG-SWITCH-NO-TRANSLATION

IMPORTING
E_RWM01_SELECT = "DE-EN-LANG-SWITCH-NO-TRANSLATION

TABLES
* T_KNUMA = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* T_IDENT2 = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* T_IDENT3 = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* T_ABSPW = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* T_BOART = "DE-EN-LANG-SWITCH-NO-TRANSLATION
T_ARRANGEMENTS = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* T_BOLIF = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* T_BONEM = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* T_EKORG = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* T_EKGRP = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* T_VKORG = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* T_VTWEG = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* T_SPART = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* T_IDENT1 = "DE-EN-LANG-SWITCH-NO-TRANSLATION

EXCEPTIONS
KAPPL_INVALID = 1
.



IMPORTING Parameters details for MM_ARRANG_READ

I_KAPPL - Application

Data type: KONA-KAPPL
Default: 'M '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_RWM01_SELECT - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EXPORTING Parameters details for MM_ARRANG_READ

E_RWM01_SELECT - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

TABLES Parameters details for MM_ARRANG_READ

T_KNUMA - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

T_IDENT2 - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

T_IDENT3 - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: IDENT_RAN
Optional: Yes
Call by Reference: Yes

T_ABSPW - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

T_BOART - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

T_ARRANGEMENTS - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

T_BOLIF - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

T_BONEM - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

T_EKORG - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

T_EKGRP - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

T_VKORG - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

T_VTWEG - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

T_SPART - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

T_IDENT1 - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: IDENT_RAN
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

KAPPL_INVALID - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

Copy and paste ABAP code example for MM_ARRANG_READ 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_kappl  TYPE KONA-KAPPL, "   'M '
lt_t_knuma  TYPE STANDARD TABLE OF KNUMA_RAN, "   
lv_kappl_invalid  TYPE KNUMA_RAN, "   
lv_e_rwm01_select  TYPE RWM01, "   
lt_t_ident2  TYPE STANDARD TABLE OF IDENT_RAN, "   
lt_t_ident3  TYPE STANDARD TABLE OF IDENT_RAN, "   
lt_t_abspw  TYPE STANDARD TABLE OF ABSPW_RAN, "   
lt_t_boart  TYPE STANDARD TABLE OF BOART_RAN, "   
lt_t_arrangements  TYPE STANDARD TABLE OF KONA, "   
lt_t_bolif  TYPE STANDARD TABLE OF BOLIF_RAN, "   
lv_i_rwm01_select  TYPE RWM01, "   
lt_t_bonem  TYPE STANDARD TABLE OF BONEM_RAN, "   
lt_t_ekorg  TYPE STANDARD TABLE OF EKORG_RAN, "   
lt_t_ekgrp  TYPE STANDARD TABLE OF EKGRP_RAN, "   
lt_t_vkorg  TYPE STANDARD TABLE OF VKORG_RAN, "   
lt_t_vtweg  TYPE STANDARD TABLE OF VTWEG_RAN, "   
lt_t_spart  TYPE STANDARD TABLE OF SPART_RAN, "   
lt_t_ident1  TYPE STANDARD TABLE OF IDENT_RAN. "   

  CALL FUNCTION 'MM_ARRANG_READ'  "NOTRANSL: Absprachen einlesen zu Selektionskriterien (Absprachen Einkauf/V
    EXPORTING
         I_KAPPL = lv_i_kappl
         I_RWM01_SELECT = lv_i_rwm01_select
    IMPORTING
         E_RWM01_SELECT = lv_e_rwm01_select
    TABLES
         T_KNUMA = lt_t_knuma
         T_IDENT2 = lt_t_ident2
         T_IDENT3 = lt_t_ident3
         T_ABSPW = lt_t_abspw
         T_BOART = lt_t_boart
         T_ARRANGEMENTS = lt_t_arrangements
         T_BOLIF = lt_t_bolif
         T_BONEM = lt_t_bonem
         T_EKORG = lt_t_ekorg
         T_EKGRP = lt_t_ekgrp
         T_VKORG = lt_t_vkorg
         T_VTWEG = lt_t_vtweg
         T_SPART = lt_t_spart
         T_IDENT1 = lt_t_ident1
    EXCEPTIONS
        KAPPL_INVALID = 1
. " MM_ARRANG_READ




ABAP code using 7.40 inline data declarations to call FM MM_ARRANG_READ

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 KAPPL FROM KONA INTO @DATA(ld_i_kappl).
DATA(ld_i_kappl) = 'M '.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!