SAP MM_ARR_MESSAGES_MAINTENANCE_WS Function Module for NOTRANSL: Bearbeitung einer Nachricht einer Absprache









MM_ARR_MESSAGES_MAINTENANCE_WS is a standard mm arr messages maintenance ws 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: Bearbeitung einer Nachricht einer Absprache 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 arr messages maintenance ws FM, simply by entering the name MM_ARR_MESSAGES_MAINTENANCE_WS into the relevant SAP transaction such as SE37 or SE38.

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



Function MM_ARR_MESSAGES_MAINTENANCE_WS 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_ARR_MESSAGES_MAINTENANCE_WS'"NOTRANSL: Bearbeitung einer Nachricht einer Absprache
EXPORTING
I_KONA = "Arrangement data
* I_T185F = "Screen Control: Function Codes
* I_T185 = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_T185V = "Screen sequence control: Processing location(s)
* I_CUA_TEXT = ' ' "CUA title

IMPORTING
E_T185F = "Screen Control: Function Codes
E_T185V = "Screen sequence control: Processing location(s)
E_FCODE = "Function Code
E_UPDATE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_RETCODE = "DE-EN-LANG-SWITCH-NO-TRANSLATION

TABLES
* T_MMPA = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* T_ERROR_MESSAGES = "Table with Error Messages

EXCEPTIONS
INVALID_BOART = 1 PARTNER_ERROR = 2 COMM_ERROR = 3 MESSAGE_PRODUCING_ERROR = 4 INTERNAL_ERROR = 5
.



IMPORTING Parameters details for MM_ARR_MESSAGES_MAINTENANCE_WS

I_KONA - Arrangement data

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

I_T185F - Screen Control: Function Codes

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

I_T185 - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_T185V - Screen sequence control: Processing location(s)

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

I_CUA_TEXT - CUA title

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

EXPORTING Parameters details for MM_ARR_MESSAGES_MAINTENANCE_WS

E_T185F - Screen Control: Function Codes

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

E_T185V - Screen sequence control: Processing location(s)

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

E_FCODE - Function Code

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

E_UPDATE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

E_RETCODE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

TABLES Parameters details for MM_ARR_MESSAGES_MAINTENANCE_WS

T_MMPA - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

T_ERROR_MESSAGES - Table with Error Messages

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

EXCEPTIONS details

INVALID_BOART - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

PARTNER_ERROR - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

COMM_ERROR - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

MESSAGE_PRODUCING_ERROR - Error producing a message

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

INTERNAL_ERROR - Internal Error Occurred

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

Copy and paste ABAP code example for MM_ARR_MESSAGES_MAINTENANCE_WS 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_kona  TYPE KONA, "   
lt_t_mmpa  TYPE STANDARD TABLE OF MMPA, "   
lv_e_t185f  TYPE T185F, "   
lv_invalid_boart  TYPE T185F, "   
lv_e_t185v  TYPE T185V, "   
lv_i_t185f  TYPE T185F, "   
lv_partner_error  TYPE T185F, "   
lt_t_error_messages  TYPE STANDARD TABLE OF ARRANGERRA, "   
lv_i_t185  TYPE T185, "   
lv_e_fcode  TYPE T185-FCODE, "   
lv_comm_error  TYPE T185, "   
lv_i_t185v  TYPE T185V, "   
lv_e_update  TYPE C, "   
lv_message_producing_error  TYPE C, "   
lv_e_retcode  TYPE SY-SUBRC, "   
lv_i_cua_text  TYPE SY, "   SPACE
lv_internal_error  TYPE SY. "   

  CALL FUNCTION 'MM_ARR_MESSAGES_MAINTENANCE_WS'  "NOTRANSL: Bearbeitung einer Nachricht einer Absprache
    EXPORTING
         I_KONA = lv_i_kona
         I_T185F = lv_i_t185f
         I_T185 = lv_i_t185
         I_T185V = lv_i_t185v
         I_CUA_TEXT = lv_i_cua_text
    IMPORTING
         E_T185F = lv_e_t185f
         E_T185V = lv_e_t185v
         E_FCODE = lv_e_fcode
         E_UPDATE = lv_e_update
         E_RETCODE = lv_e_retcode
    TABLES
         T_MMPA = lt_t_mmpa
         T_ERROR_MESSAGES = lt_t_error_messages
    EXCEPTIONS
        INVALID_BOART = 1
        PARTNER_ERROR = 2
        COMM_ERROR = 3
        MESSAGE_PRODUCING_ERROR = 4
        INTERNAL_ERROR = 5
. " MM_ARR_MESSAGES_MAINTENANCE_WS




ABAP code using 7.40 inline data declarations to call FM MM_ARR_MESSAGES_MAINTENANCE_WS

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 FCODE FROM T185 INTO @DATA(ld_e_fcode).
 
 
 
 
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_e_retcode).
 
DATA(ld_i_cua_text) = ' '.
 
 


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!