SAP POPUP_TO_UPDATE_PRICES Function Module for NOTRANSL: Pop-Up für Preisänderungen
POPUP_TO_UPDATE_PRICES is a standard popup to update prices 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: Pop-Up für Preisänderungen 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 popup to update prices FM, simply by entering the name POPUP_TO_UPDATE_PRICES into the relevant SAP transaction such as SE37 or SE38.
Function Group: WVK2
Program Name: SAPLWVK2
Main Program:
Appliation area: W
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function POPUP_TO_UPDATE_PRICES 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 'POPUP_TO_UPDATE_PRICES'"NOTRANSL: Pop-Up für Preisänderungen.
EXPORTING
PI_VKERA = "Sales price determination type
PI_LIFEL = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IMPORTING
PE_MPROZ = "Percentage Price Change
PE_INIAM = "DE-EN-LANG-SWITCH-NO-TRANSLATION
PE_MABSO = "Absolute Price Change
PE_AWAER = "Sales Currency
PE_KDFSA = "DE-EN-LANG-SWITCH-NO-TRANSLATION
EXCEPTIONS
EXIT = 1
IMPORTING Parameters details for POPUP_TO_UPDATE_PRICES
PI_VKERA - Sales price determination type
Data type: CALP-VKERAOptional: No
Call by Reference: No ( called with pass by value option)
PI_LIFEL - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: CALP-LIFELOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for POPUP_TO_UPDATE_PRICES
PE_MPROZ - Percentage Price Change
Data type: PISPC-MPROZOptional: No
Call by Reference: No ( called with pass by value option)
PE_INIAM - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: PISPC-INIAMOptional: No
Call by Reference: No ( called with pass by value option)
PE_MABSO - Absolute Price Change
Data type: PISPC-MABSOOptional: No
Call by Reference: No ( called with pass by value option)
PE_AWAER - Sales Currency
Data type: PISPC-AWAEROptional: No
Call by Reference: No ( called with pass by value option)
PE_KDFSA - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: PISPC-KDFSAOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
EXIT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for POPUP_TO_UPDATE_PRICES 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_exit | TYPE STRING, " | |||
| lv_pe_mproz | TYPE PISPC-MPROZ, " | |||
| lv_pi_vkera | TYPE CALP-VKERA, " | |||
| lv_pe_iniam | TYPE PISPC-INIAM, " | |||
| lv_pi_lifel | TYPE CALP-LIFEL, " | |||
| lv_pe_mabso | TYPE PISPC-MABSO, " | |||
| lv_pe_awaer | TYPE PISPC-AWAER, " | |||
| lv_pe_kdfsa | TYPE PISPC-KDFSA. " |
|   CALL FUNCTION 'POPUP_TO_UPDATE_PRICES' "NOTRANSL: Pop-Up für Preisänderungen |
| EXPORTING | ||
| PI_VKERA | = lv_pi_vkera | |
| PI_LIFEL | = lv_pi_lifel | |
| IMPORTING | ||
| PE_MPROZ | = lv_pe_mproz | |
| PE_INIAM | = lv_pe_iniam | |
| PE_MABSO | = lv_pe_mabso | |
| PE_AWAER | = lv_pe_awaer | |
| PE_KDFSA | = lv_pe_kdfsa | |
| EXCEPTIONS | ||
| EXIT = 1 | ||
| . " POPUP_TO_UPDATE_PRICES | ||
ABAP code using 7.40 inline data declarations to call FM POPUP_TO_UPDATE_PRICES
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 MPROZ FROM PISPC INTO @DATA(ld_pe_mproz). | ||||
| "SELECT single VKERA FROM CALP INTO @DATA(ld_pi_vkera). | ||||
| "SELECT single INIAM FROM PISPC INTO @DATA(ld_pe_iniam). | ||||
| "SELECT single LIFEL FROM CALP INTO @DATA(ld_pi_lifel). | ||||
| "SELECT single MABSO FROM PISPC INTO @DATA(ld_pe_mabso). | ||||
| "SELECT single AWAER FROM PISPC INTO @DATA(ld_pe_awaer). | ||||
| "SELECT single KDFSA FROM PISPC INTO @DATA(ld_pe_kdfsa). | ||||
Search for further information about these or an SAP related objects