SAP EXIT_SAPMWOG1_012 Function Module for User_Exit_Assortment_Position: For Postprocessing of Assortment Item
EXIT_SAPMWOG1_012 is a standard exit sapmwog1 012 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for User_Exit_Assortment_Position: For Postprocessing of Assortment Item 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 sapmwog1 012 FM, simply by entering the name EXIT_SAPMWOG1_012 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XWOG
Program Name: SAPLXWOG
Main Program:
Appliation area: W
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPMWOG1_012 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_SAPMWOG1_012'"User_Exit_Assortment_Position: For Postprocessing of Assortment Item.
EXPORTING
I_KOPF = "
I_HEAD = "
I_GROUP = "
TABLES
T_POSITION = "
EXCEPTIONS
FIELD_CHECK_ERROR = 1
IMPORTING Parameters details for EXIT_SAPMWOG1_012
I_KOPF -
Data type: WDFR_KOPFOptional: No
Call by Reference: Yes
I_HEAD -
Data type: BAPI3032_HEADOptional: No
Call by Reference: Yes
I_GROUP -
Data type: BAPI3032_GROUPOptional: No
Call by Reference: Yes
TABLES Parameters details for EXIT_SAPMWOG1_012
T_POSITION -
Data type: BAPI3032_POSITIONOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
FIELD_CHECK_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPMWOG1_012 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_kopf | TYPE WDFR_KOPF, " | |||
| lt_t_position | TYPE STANDARD TABLE OF BAPI3032_POSITION, " | |||
| lv_field_check_error | TYPE BAPI3032_POSITION, " | |||
| lv_i_head | TYPE BAPI3032_HEAD, " | |||
| lv_i_group | TYPE BAPI3032_GROUP. " |
|   CALL FUNCTION 'EXIT_SAPMWOG1_012' "User_Exit_Assortment_Position: For Postprocessing of Assortment Item |
| EXPORTING | ||
| I_KOPF | = lv_i_kopf | |
| I_HEAD | = lv_i_head | |
| I_GROUP | = lv_i_group | |
| TABLES | ||
| T_POSITION | = lt_t_position | |
| EXCEPTIONS | ||
| FIELD_CHECK_ERROR = 1 | ||
| . " EXIT_SAPMWOG1_012 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPMWOG1_012
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