SAP MPN10_GLOBAL_DATA Function Module for NOTRANSL: Übergabe globaler Daten
MPN10_GLOBAL_DATA is a standard mpn10 global data 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: Übergabe globaler Daten 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 mpn10 global data FM, simply by entering the name MPN10_GLOBAL_DATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: MPN10
Program Name: SAPLMPN10
Main Program:
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function MPN10_GLOBAL_DATA 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 'MPN10_GLOBAL_DATA'"NOTRANSL: Übergabe globaler Daten.
IMPORTING
E_DISPLAY_ONLY = "
E_NEUE_POS = "
E_EKPO = "
E_EKKO = "
E_RM06X = "
E_MPN_RM06X = "
TABLES
* ET_TBETS = "
* ET_TVAR_EKPO = "
* ET_EKET = "
EXPORTING Parameters details for MPN10_GLOBAL_DATA
E_DISPLAY_ONLY -
Data type: XFELDOptional: No
Call by Reference: No ( called with pass by value option)
E_NEUE_POS -
Data type: XFELDOptional: No
Call by Reference: No ( called with pass by value option)
E_EKPO -
Data type: EKPOOptional: No
Call by Reference: No ( called with pass by value option)
E_EKKO -
Data type: EKKOOptional: No
Call by Reference: No ( called with pass by value option)
E_RM06X -
Data type: RM06XOptional: No
Call by Reference: No ( called with pass by value option)
E_MPN_RM06X -
Data type: MPN_RM06XOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for MPN10_GLOBAL_DATA
ET_TBETS -
Data type: EKBESOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_TVAR_EKPO -
Data type: EKPOUPOSOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_EKET -
Data type: BEKETOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for MPN10_GLOBAL_DATA 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: | ||||
| lt_et_tbets | TYPE STANDARD TABLE OF EKBES, " | |||
| lv_e_display_only | TYPE XFELD, " | |||
| lv_e_neue_pos | TYPE XFELD, " | |||
| lt_et_tvar_ekpo | TYPE STANDARD TABLE OF EKPOUPOS, " | |||
| lv_e_ekpo | TYPE EKPO, " | |||
| lt_et_eket | TYPE STANDARD TABLE OF BEKET, " | |||
| lv_e_ekko | TYPE EKKO, " | |||
| lv_e_rm06x | TYPE RM06X, " | |||
| lv_e_mpn_rm06x | TYPE MPN_RM06X. " |
|   CALL FUNCTION 'MPN10_GLOBAL_DATA' "NOTRANSL: Übergabe globaler Daten |
| IMPORTING | ||
| E_DISPLAY_ONLY | = lv_e_display_only | |
| E_NEUE_POS | = lv_e_neue_pos | |
| E_EKPO | = lv_e_ekpo | |
| E_EKKO | = lv_e_ekko | |
| E_RM06X | = lv_e_rm06x | |
| E_MPN_RM06X | = lv_e_mpn_rm06x | |
| TABLES | ||
| ET_TBETS | = lt_et_tbets | |
| ET_TVAR_EKPO | = lt_et_tvar_ekpo | |
| ET_EKET | = lt_et_eket | |
| . " MPN10_GLOBAL_DATA | ||
ABAP code using 7.40 inline data declarations to call FM MPN10_GLOBAL_DATA
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