SAP MM_ARR_MESSAGE_DIALOG_WN Function Module for NOTRANSL: Ausgabe Abrechn.-Lauf einer Absprache auf Bildschirm oder Drucke
MM_ARR_MESSAGE_DIALOG_WN is a standard mm arr message dialog wn 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: Ausgabe Abrechn.-Lauf einer Absprache auf Bildschirm oder Drucke 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 message dialog wn FM, simply by entering the name MM_ARR_MESSAGE_DIALOG_WN 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_MESSAGE_DIALOG_WN 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_MESSAGE_DIALOG_WN'"NOTRANSL: Ausgabe Abrechn.-Lauf einer Absprache auf Bildschirm oder Drucke.
EXPORTING
I_KONA = "Arrangement data
I_TRTYP = "Transaction Type
* I_DO_COMMIT = 'X' "DE-EN-LANG-SWITCH-NO-TRANSLATION
IMPORTING
E_PRINTED = "DE-EN-LANG-SWITCH-NO-TRANSLATION
EXCEPTIONS
CANCEL = 1 FATAL_LOCK_ERROR = 10 PREVIEW_ERROR = 11 NO_MESSAGE = 2 MESSAGE_NOT_PRINTABLE = 3 PRINT_ERROR = 4 NO_EBAB_DATA = 5 INTERNAL_ERROR = 6 INVALID_BOART = 7 UNKNOWN_ERROR = 8 LOCKED_BY_OTHERS = 9
IMPORTING Parameters details for MM_ARR_MESSAGE_DIALOG_WN
I_KONA - Arrangement data
Data type: KONAOptional: No
Call by Reference: No ( called with pass by value option)
I_TRTYP - Transaction Type
Data type: T180-TRTYPOptional: No
Call by Reference: No ( called with pass by value option)
I_DO_COMMIT - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for MM_ARR_MESSAGE_DIALOG_WN
E_PRINTED - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CANCEL - Processing canceled
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FATAL_LOCK_ERROR - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PREVIEW_ERROR - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_MESSAGE - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
MESSAGE_NOT_PRINTABLE - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PRINT_ERROR - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_EBAB_DATA - DE-EN-LANG-SWITCH-NO-TRANSLATION
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)
INVALID_BOART - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
UNKNOWN_ERROR - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
LOCKED_BY_OTHERS - 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_ARR_MESSAGE_DIALOG_WN 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_cancel | TYPE STRING, " | |||
| lv_i_kona | TYPE KONA, " | |||
| lv_e_printed | TYPE C, " | |||
| lv_fatal_lock_error | TYPE C, " | |||
| lv_preview_error | TYPE C, " | |||
| lv_i_trtyp | TYPE T180-TRTYP, " | |||
| lv_no_message | TYPE T180, " | |||
| lv_i_do_commit | TYPE C, " 'X' | |||
| lv_message_not_printable | TYPE C, " | |||
| lv_print_error | TYPE C, " | |||
| lv_no_ebab_data | TYPE C, " | |||
| lv_internal_error | TYPE C, " | |||
| lv_invalid_boart | TYPE C, " | |||
| lv_unknown_error | TYPE C, " | |||
| lv_locked_by_others | TYPE C. " |
|   CALL FUNCTION 'MM_ARR_MESSAGE_DIALOG_WN' "NOTRANSL: Ausgabe Abrechn.-Lauf einer Absprache auf Bildschirm oder Drucke |
| EXPORTING | ||
| I_KONA | = lv_i_kona | |
| I_TRTYP | = lv_i_trtyp | |
| I_DO_COMMIT | = lv_i_do_commit | |
| IMPORTING | ||
| E_PRINTED | = lv_e_printed | |
| EXCEPTIONS | ||
| CANCEL = 1 | ||
| FATAL_LOCK_ERROR = 10 | ||
| PREVIEW_ERROR = 11 | ||
| NO_MESSAGE = 2 | ||
| MESSAGE_NOT_PRINTABLE = 3 | ||
| PRINT_ERROR = 4 | ||
| NO_EBAB_DATA = 5 | ||
| INTERNAL_ERROR = 6 | ||
| INVALID_BOART = 7 | ||
| UNKNOWN_ERROR = 8 | ||
| LOCKED_BY_OTHERS = 9 | ||
| . " MM_ARR_MESSAGE_DIALOG_WN | ||
ABAP code using 7.40 inline data declarations to call FM MM_ARR_MESSAGE_DIALOG_WN
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 TRTYP FROM T180 INTO @DATA(ld_i_trtyp). | ||||
| DATA(ld_i_do_commit) | = 'X'. | |||
Search for further information about these or an SAP related objects