SAP EXIT_SAPLWVK1_003 Function Module for Customer-Specific Check of a Pricing Item









EXIT_SAPLWVK1_003 is a standard exit saplwvk1 003 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Customer-Specific Check of a Pricing 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 saplwvk1 003 FM, simply by entering the name EXIT_SAPLWVK1_003 into the relevant SAP transaction such as SE37 or SE38.

Function Group: XVKP
Program Name: SAPLXVKP
Main Program: SAPLXVKP
Appliation area: W
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function EXIT_SAPLWVK1_003 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_SAPLWVK1_003'"Customer-Specific Check of a Pricing Item
EXPORTING
PI_KALP_UPDKZ = "
PI_I_KALP = "
* PI_I_VORGA = "Business Transaction
* PI_I_GLOB = "Sales Price Calculation: Global Data

IMPORTING
PE_I_ERRO = "Error Structure for User Exit EXIT_SAPLWVK1_003
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
BADI_PWL_SP_DETERMINATION_INIT NOTRANSL: Instanziierung des BAdIs für Generierung des Kalkulationsvorrats
BUFFER_CONDITION_RECORD_SPY NOTRANSL: Gepufferte Konditionssätze (Tabelle G_T_XVAKE) ausspionieren
CALL_SMOD_LWVK1002 NOTRANSL: Aufruf BADI SMOD_LWVK1002
COMPETITORS_FOR_PRICING_FIND NOTRANSL: Mitbewerber für die Preisfindung ermitteln
CURRENT_SALES_COND_MULTI Determination of all current sales prices
CURRENT_SALES_COND_SINGLE_READ Determination of the current sales price of an item
LOCAL_CURRENCY_GET NOTRANSL: Ermittlung der Hauswährung
MIXED_PRICE_GET NOTRANSL: Allgemeinen Mischpreis ermitteln
MM_PRICING_IND_KOMK_KOMP_FILL NOTRANSL: KOMP/KOMK Daten aus Belegindex bereitstellen
MULTI_PRICING Multiple Sales Price Calculation
PRICE_CALCULATE_CANCEL Reverse Updated Sales/Purchase Price Conditions
PRICE_CALCULATE_POSTING NOTRANSL: Verbuchen von Verkaufs- und Einkaufspreis-Konditionen
PRICING_DATA_FROM_BUFFER_FILL NOTRANSL: Lese aktuelle Kalkulationsposition aus dem Puffer
PRICING_DATA_FROM_CALP_FILL NOTRANSL: Preisfindungsdaten (KOMK, KOMP, KOMV) aus CALP fuellen
PRICING_DATA_FROM_KBELEG_FILL NOTRANSL: Preisfindungsdaten (KOMK, KOMP, KOMV) aus CALP fuellen
PRICING_DOC_CREATE NOTRANSL: Erzeugung eines Kalkulationsbelegs
PRICING_DOC_CREATE_03 NOTRANSL: Erzeugung eines Kalkulationsbelegs, 3.Variante
PRICING_DOC_DELETE_01 NOTRANSL: Loeschen eines Kalkulationsbelegs
PRICING_DOC_ITEM_MULTI_COPY NOTRANSL: Position eines Kalkulationsbelegs mehrfach kopieren
PRICING_DOC_POSITION_COPY NOTRANSL: Position eines Kalkulationsbeleges kopieren
PRICING_REFRESH_V_01 NOTRANSL: Initialisierung der Preisfindungskopfdaten (G_T_EKOMK, G_T_VKOMK
PT_SALES_PRICE_CALCULATE_MUL Prototype sales price calculate multi
PWL_CALC_ITEM_MODIFY NOTRANSL: Änderung an einer Kalkulationsposition im Kalkulationsvorrat
SALES_PRICE_CALCULATE_01 NOTRANSL: Kalkulation von Verkaufspreisen im Rahmen der Verkaufspreiskalku
SALES_PRICE_CALCULATE_02 NOTRANSL: Kalkulation von Verkaufspreisen für externe Anwender
SALES_PRICE_KEY_TEXTS_GET NOTRANSL: Texte zu den Verkaufspreis-Schlüsseln ermitteln
SALES_PRICE_VAKEY_FILL Fill VAKEY According to KOMG Structure
SPC_MATNR_REPLACE NOTRANSL: Ersetze temporäre Materialnummer in den internen Kalkulationstab
SPC_MATNR_TAB_FROM_SELSCR_FILL NOTRANSL: Materialtabelle entsprechend dem Selektionsbild zur VKP-Kalk. au
SPC_PRE_CHECK NOTRANSL: Vorprüfungen für Selektionsbildeingaben zur Verkaufspreiskalkula
SPC_PRICING_DIALOG_M NOTRANSL: Handelskalkulation: PRICING_DIALOG für Applikation M
SPC_REFRESH NOTRANSL: Initialisierung globaler Daten für die VKP-Kalkulation
WVK1_GLOBAL_DATA_GET NOTRANSL: VKP-Kalkulation: Globale Daten ausgeben
WVK1_GLOBAL_DATA_MERGE NOTRANSL: VKP-Kalkulation: Globale Daten abmischen
WVK1_GLOBAL_DATA_SET NOTRANSL: VKP-Kalkulation: Globale Daten setzen
WV_CALC_ITEM_EQUALIZE NOTRANSL: Family Pricing: Kapselung der Form-Routine KALP_ABGLEICHEN
WV_CALC_ITEM_FILL NOTRANSL: Family Pricing: Kalkulationsposition neu fuellen
WV_CALC_ITEM_PREFILL NOTRANSL: Family Pricing: Kalkulationsposition vorbereiten (vakey, matkl,
WV_CALC_ITEM_UPDATE NOTRANSL: Family Pricing: Kalkulationsposition verändern

IMPORTING Parameters details for EXIT_SAPLWVK1_003

PI_KALP_UPDKZ -

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

PI_I_KALP -

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

PI_I_VORGA - Business Transaction

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

PI_I_GLOB - Sales Price Calculation: Global Data

Data type: GLOB
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for EXIT_SAPLWVK1_003

PE_I_ERRO - Error Structure for User Exit EXIT_SAPLWVK1_003

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

Copy and paste ABAP code example for EXIT_SAPLWVK1_003 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_pe_i_erro  TYPE ERRO_TEMP, "   
lv_pi_kalp_updkz  TYPE KALP-UPDKZ, "   
lv_pi_i_kalp  TYPE KALP, "   
lv_pi_i_vorga  TYPE PISVR-VORGA, "   
lv_pi_i_glob  TYPE GLOB. "   

  CALL FUNCTION 'EXIT_SAPLWVK1_003'  "Customer-Specific Check of a Pricing Item
    EXPORTING
         PI_KALP_UPDKZ = lv_pi_kalp_updkz
         PI_I_KALP = lv_pi_i_kalp
         PI_I_VORGA = lv_pi_i_vorga
         PI_I_GLOB = lv_pi_i_glob
    IMPORTING
         PE_I_ERRO = lv_pe_i_erro
. " EXIT_SAPLWVK1_003




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLWVK1_003

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 UPDKZ FROM KALP INTO @DATA(ld_pi_kalp_updkz).
 
 
"SELECT single VORGA FROM PISVR INTO @DATA(ld_pi_i_vorga).
 
 


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!