Source: KOMP, KOMK, and KOMG relevance in pricing | SAP Community

Pricing condition based on vendor partner function OA | SAP Community

KOMG is nothing but combination of KOMK and KOMP.These are the tables that provide the details to the header and item data in pricing.

These are generally called as KOMX because they act as a bridge to communicate the transaction data with the pricing procedure.

To create a new field,

IMG – S & D – System Modification – create new fields – new fields for pricing.

You have to have some abap knowledge so that the field reflects in the required table. If u want to include the field in the header, u have to use include table KOMKAZ in KOMK else KOMPAZ in KOMP for Item table.

———–From SAP help———–

SPRO>SD>System Adaptation>New Fields for Pricing

In the second example, you want to use a partner function, created in
Customizing for partner maintenance, for pricing.

Assume that the partner function was created for a sales representative
of the partner type PE. Z1 is defined as a mandatory function for the
customer master record, therefore automatically set in the document and
available in the internal partner table XVBPA.

To use the new partner function for pricing, proceed in the same way as
for the previous examples.

  1. Create a new data element, in this example, data element ZZVRTZ1
    with domain PERNR.
  2. Include the field ZZVRTZ in KOMK using KOMKAZ and allocate data
    element ZZVRTZ1 to it. For order processing, a value is assigned to the field in the user exit
    for member MV45AFZZ. The entries in the user exits are protected during
    a release upgrade. The statement is as follows: FORM USEREXIT_PRICING_PREPARE_TKOMK. PERFORM XVBPA_LESEN (SAPFV45K) USING ‘Z1’ VBAP-POSNR SY_TABIX. MOVE XVBPA-PERNR TO TKOMK-ZZVRTZ. ENDFORM. For billing, a value is assigned to the field in the user exit of member
    RV60AFZZ. The entries in the user exits are protected during a release
    upgrade. The statement is as follows: FORM USEREXIT_PRICING_PREPARE_TKOMK. PERFORM_XVBPA_SELECT_USING’Z1′. MOVE XVBPA-PERNR TO TKOMK_ZZVRTZ1. ENDFORM.

发表评论

邮箱地址不会被公开。 必填项已用*标注