SAP PROMOTION_LABELING_CHECK Function Module for NOTRANSL: ARTNR, ME u Datum gibt itab mit AKTNR u Sperrkz zurück, wenn EK-
PROMOTION_LABELING_CHECK is a standard promotion labeling check 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: ARTNR, ME u Datum gibt itab mit AKTNR u Sperrkz zurück, wenn EK- 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 promotion labeling check FM, simply by entering the name PROMOTION_LABELING_CHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: WAK1
Program Name: SAPLWAK1
Main Program: SAPLWAK1
Appliation area: W
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function PROMOTION_LABELING_CHECK 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 'PROMOTION_LABELING_CHECK'"NOTRANSL: ARTNR, ME u Datum gibt itab mit AKTNR u Sperrkz zurück, wenn EK-.
EXPORTING
EAKTNR = "Promotion Number
* EARTNR = "Material number
* EMEBME = "Unit of Measure
* ESTORE = "Plant
IMPORTING
EVKDAB = "
EVKDBI = "
EETIAG = "
EXCEPTIONS
PROMOTION_NOT_FOUND = 1 MATERIAL_ME_NOT_FOUND = 2 STORE_NOT_IN_PROMOTION = 3
IMPORTING Parameters details for PROMOTION_LABELING_CHECK
EAKTNR - Promotion Number
Data type: WAKH-AKTNROptional: No
Call by Reference: No ( called with pass by value option)
EARTNR - Material number
Data type: MARA-MATNROptional: Yes
Call by Reference: No ( called with pass by value option)
EMEBME - Unit of Measure
Data type: WAKPD-MEBMEOptional: Yes
Call by Reference: No ( called with pass by value option)
ESTORE - Plant
Data type: T001W-WERKSOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for PROMOTION_LABELING_CHECK
EVKDAB -
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
EVKDBI -
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
EETIAG -
Data type: WAKP-ETIAGOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
PROMOTION_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
MATERIAL_ME_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
STORE_NOT_IN_PROMOTION -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for PROMOTION_LABELING_CHECK 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_eaktnr | TYPE WAKH-AKTNR, " | |||
| lv_evkdab | TYPE SY-DATUM, " | |||
| lv_promotion_not_found | TYPE SY, " | |||
| lv_eartnr | TYPE MARA-MATNR, " | |||
| lv_evkdbi | TYPE SY-DATUM, " | |||
| lv_material_me_not_found | TYPE SY, " | |||
| lv_eetiag | TYPE WAKP-ETIAG, " | |||
| lv_emebme | TYPE WAKPD-MEBME, " | |||
| lv_store_not_in_promotion | TYPE WAKPD, " | |||
| lv_estore | TYPE T001W-WERKS. " |
|   CALL FUNCTION 'PROMOTION_LABELING_CHECK' "NOTRANSL: ARTNR, ME u Datum gibt itab mit AKTNR u Sperrkz zurück, wenn EK- |
| EXPORTING | ||
| EAKTNR | = lv_eaktnr | |
| EARTNR | = lv_eartnr | |
| EMEBME | = lv_emebme | |
| ESTORE | = lv_estore | |
| IMPORTING | ||
| EVKDAB | = lv_evkdab | |
| EVKDBI | = lv_evkdbi | |
| EETIAG | = lv_eetiag | |
| EXCEPTIONS | ||
| PROMOTION_NOT_FOUND = 1 | ||
| MATERIAL_ME_NOT_FOUND = 2 | ||
| STORE_NOT_IN_PROMOTION = 3 | ||
| . " PROMOTION_LABELING_CHECK | ||
ABAP code using 7.40 inline data declarations to call FM PROMOTION_LABELING_CHECK
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 AKTNR FROM WAKH INTO @DATA(ld_eaktnr). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_evkdab). | ||||
| "SELECT single MATNR FROM MARA INTO @DATA(ld_eartnr). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_evkdbi). | ||||
| "SELECT single ETIAG FROM WAKP INTO @DATA(ld_eetiag). | ||||
| "SELECT single MEBME FROM WAKPD INTO @DATA(ld_emebme). | ||||
| "SELECT single WERKS FROM T001W INTO @DATA(ld_estore). | ||||
Search for further information about these or an SAP related objects