Ansicht
Dokumentation

PIQ_PREP_FLD_C_V - Define Customer-Specific Sources

PIQ_PREP_FLD_C_V - Define Customer-Specific Sources

ABAP Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

In this Customizing activity, you can define customer-specific sources for pricing communication structure fields of the following data base tables:

  • KOMK (Communication Header for Pricing)
  • KOMP (Communication Item for Pricing)

With the definition, you provide your customer-specific pricing-relevant fields for optimized pricing. You assign your customer-specific pricing-relevant fields to communication structures mentioned above.

You have expanded communication structures via append structures (KOMKAZ, KOMPAZ) and want to fill these fields by selecting SAP standard table or customer-specific table.

Hint: For transaction VA01 (Create Sales Order), the following FORM routine exists in the standard system: USEREXIT_PRICING_PREPARE_TKOMK.

You configure your system for caller ID PL (Price Lists) to provide your pricing-relevant fields for optimized pricing. Depending on your customer-specific enhancement, proceed as follows:

Pricing-relevant Z fields in SAP standard tables

For each Z field create new entry for Caller ID PL.

  • Choose the pricing-relevant Target Structure KOMK or KOMP.
  • Enter your pricing-relevant Z field as Target Field.
  • Choose the Source Type using the input help and field documentation.
    This rule must be defined so that the fields can be filled at runtime, for example with data selected from database tables, such as KNVV or MARA. For this example, select Database Table Alias.
  • Enter your pricing-relevant Z field as Source Field and the SAP standard table as Source Alias, KNVV or MARA for example.
  • Specify the Direct Value using the input help and field documentation.

Pricing-relevant Z fields in custom Z table

If you have maintained the key mapping (alias) for the Z table using Customizing activity Define Table Access, you can define your Z field of Z table as source.
Create new entry as described in section Pricing-relevant Z fields in SAP standard tables, but enter your custom Z table as Source Alias.

Pricing-relevant Z fields in SAP standard tables via append to KOMKAZ or KOMPAZ

You want to utilize the customer master reserve field Customer Group 1 of table KNVV, field KVGR1 for performance-optimized pricing. You have already created an append structure to KOMKAZ. The new field name is ZZKVGR1.

Create the following entry if you want to make use of this field in performance optimized pricing:

Target Structure:   KOMK
Target Field:   ZZKVGR1
Source Type:   Database Table Alias
Source Alias:   KNVV
Source Field:   KVGR1
Direct Value:   < >






Fill RESBD Structure from EBP Component Structure   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 4234 Date: 20240523 Time: 193731     sap01-206 ( 46 ms )