SAP PROMOTION_PRICE_SHOW_1 Function Module for NOTRANSL: Preisliste Normal/Aktion nur VK-Preise









PROMOTION_PRICE_SHOW_1 is a standard promotion price show 1 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: Preisliste Normal/Aktion nur VK-Preise 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 price show 1 FM, simply by entering the name PROMOTION_PRICE_SHOW_1 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_PRICE_SHOW_1 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_PRICE_SHOW_1'"NOTRANSL: Preisliste Normal/Aktion nur VK-Preise
EXPORTING
PI_WAKHD = "Promotion Header Data
PI_AKTKT = "Description
* PI_SHOW = 'X' "

TABLES
PI_T_WAKPD = "
PI_T_WALED = "
* PE_T_NORMP = "

EXCEPTIONS
EMPTY_LIST = 1
.



IMPORTING Parameters details for PROMOTION_PRICE_SHOW_1

PI_WAKHD - Promotion Header Data

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

PI_AKTKT - Description

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

PI_SHOW -

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

TABLES Parameters details for PROMOTION_PRICE_SHOW_1

PI_T_WAKPD -

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

PI_T_WALED -

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

PE_T_NORMP -

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

EXCEPTIONS details

EMPTY_LIST -

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

Copy and paste ABAP code example for PROMOTION_PRICE_SHOW_1 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_pi_wakhd  TYPE WAKHD, "   
lv_empty_list  TYPE WAKHD, "   
lt_pi_t_wakpd  TYPE STANDARD TABLE OF WAKPD, "   
lv_pi_aktkt  TYPE WAKTD-AKTKT, "   
lt_pi_t_waled  TYPE STANDARD TABLE OF WALED, "   
lv_pi_show  TYPE WALED, "   'X'
lt_pe_t_normp  TYPE STANDARD TABLE OF WANORPRICE. "   

  CALL FUNCTION 'PROMOTION_PRICE_SHOW_1'  "NOTRANSL: Preisliste Normal/Aktion nur VK-Preise
    EXPORTING
         PI_WAKHD = lv_pi_wakhd
         PI_AKTKT = lv_pi_aktkt
         PI_SHOW = lv_pi_show
    TABLES
         PI_T_WAKPD = lt_pi_t_wakpd
         PI_T_WALED = lt_pi_t_waled
         PE_T_NORMP = lt_pe_t_normp
    EXCEPTIONS
        EMPTY_LIST = 1
. " PROMOTION_PRICE_SHOW_1




ABAP code using 7.40 inline data declarations to call FM PROMOTION_PRICE_SHOW_1

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 AKTKT FROM WAKTD INTO @DATA(ld_pi_aktkt).
 
 
DATA(ld_pi_show) = 'X'.
 
 


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!