Skip to Content
avatar image
Former Member

How to add new fields while creating condition table.

Hi All,

Anyone plz tell me ,While creating condition table for pricing the filled catalogue display limited fields,from where to new fields.

Regards,

Ashima

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

6 Answers

  • avatar image
    Former Member
    Aug 07, 2008 at 12:04 PM

    Hi,

    You can add new fields in communication structure

    KOMP, KOMK and KOMG

    KOMK-Header level

    KOMP-Item level

    KOMG-Includes both

    Go to se11, enter KOMK or KOMP and append the structure with your required filed.

    then You can add those fields in the field catalog of pricing through IMG-S&D-basic function-pricing control-pricing etc.

    Now you create your tablein in the table at the right side you can find your created field- add that field in your table.

    You can also write the selected field in the MV45AFZZ program with user exit of KOMP and KOMK for your newly craeted fields for maintaining it for communication structure.

    Eg: MOVE MAKT-MATNR to KOMP-MATNR

    Rewards point if helpful.

    Manish

    Add comment
    10|10000 characters needed characters exceeded

    • Hi..

      Add a Field To New Condition Table in Pricing

      Add a field to a new condition table in Pricing (Condition Technique):-

      I will explain you the process with below example...Please follow steps in below sequence-

      Try to add the filed from the field catalog. In case the required combination field is not there, you can add the field through the following process to filed catalog and create the condition table. It is most common that one or other time we need to use this function while configuring multi tasking & complex Pricing Architecture.

      Here I'm giving a simple guide to add fields to the Pricing Field Catalogues:

      For example you want to use field PSTYV ('Sales document item category') that is included in structure KOMP ('Pricing Communication Item') as a key for a condition table.

      When you create a condition table (Transaction V/03), however, the system does not propose the field in the field catalog.

      Condition access, field catalog, allowed fields, KOMG, KOMK, KOMP, KOMPAZ, KOMKAZ, PSTYV are the other terms which we need to know about, to add Fields.

      Reason and Prerequisites:

      For technical reasons, field PSTYV was included in structure KOMP, however, not in structure KOMG ('Allowed Fields for Condition Structures').

      Proceed as follows:

      1. Call up the ABAP Dictionary (Transaction SE11) and create data type ZZPSTYV. Choose PSTYV as a domain.As a short text, you can use, for example, 'ZZ - sales document item category' and as a field label, you can use the field labels of PSTYV.Save, check and activate your entries.

      2. Call up structure KOMPAZ in the ABAP Dictionary (Transaction SE11) in the change mode and make the following entry:

      Component Component type:

      ZZPSTYV ZZPSTYV

      Save, check and activate the change you made.

      3. Note:Because of the change in structure KOMPAZ, field ZZPSTYV is now known in structures KOMG and KOMP because structure KOMPAZ is included in both structures.

      4. Call up Transaction SPRO. Navigate to 'Sales and Distribution -> Basic Functions -> Pricing -> Pricing Control' and execute 'Define Condition Tables'.

      Choose 'Conditions: Allowed fields' and include ZZPSTYV as a new entry.

      5. Note:Now you can use field ZZPSTYV as a key field when you create a condition table Axxx.

      6. Supply the new field you defined by including the following source code line in USEREXIT_PRICING_PREPARE_TKOMP:

      MOVE xxxx-PSTYV TO TKOMP-ZZPSTYV.

      In order processing you find the user exit in Include MV45AFZZ, and in billing document processing you find it in Include RV60AFZZ.

      Consider that you can also use this note as a help if you want to use other customer-specific fields as key fields in a condition table.

      For header fields, use structure KOMKAZ instead of structure KOMPAZ and

      USEREXIT_PRICING_PREPARE_TKOMK instead of

      USEREXIT_PRICING_PREPARE_TKOMP.

      For more information, see Transaction SPRO via the path 'Sales and Distribution -> System Modifications -> Create New Fields (Using Condition Technique) -> New Fields for Pricing' and OSS Note 21040.

      Regds

      MM

  • avatar image
    Former Member
    Aug 07, 2008 at 10:31 AM

    hi,

    Refer to the following link to have an idea when u add new field in Condtion table.

    http://www.sap-img.com/sap-sd/add-a-field-to-new-condition-table-in-pricing.htm

    reg

    Deepak

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 07, 2008 at 10:37 AM

    Dear Friend,

    Go to the Transaction V/03 There create a New Table with characterists more than 902

    Then Choose the feilds from the feild catlogs .

    you can change the other tables and add new feild ctalogs also.

    regards,

    SAP SD

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 07, 2008 at 10:43 AM

    Hi Ashima,

    what u can do is add field to field catalogue.path is [spro->sales and distribution->basic function->pricing->pricing control->create condition table->allowed condition fields->neew entry.

    Thanks & Regards

    sharad

    Edited by: Sharad Kaliya on Aug 7, 2008 2:28 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 07, 2008 at 10:46 AM

    hi,

    Add a Field To New Condition Table in Pricing

    Add a field to a new condition table in Pricing (Condition Technique):-

    I will explain you the process with below example...Please follow steps in below sequence-

    Try to add the filed from the field catalog. In case the required combination field is not there, you can add the field through the following process to filed catalog and create the condition table. It is most common that one or other time we need to use this function while configuring multi tasking & complex Pricing Architecture.

    Here I'm giving a simple guide to add fields to the Pricing Field Catalogues:

    For example you want to use field PSTYV ('Sales document item category') that is included in structure KOMP ('Pricing Communication Item') as a key for a condition table.

    When you create a condition table (Transaction V/03), however, the system does not propose the field in the field catalog.

    Condition access, field catalog, allowed fields, KOMG, KOMK, KOMP, KOMPAZ, KOMKAZ, PSTYV are the other terms which we need to know about, to add Fields.

    Reason and Prerequisites:

    For technical reasons, field PSTYV was included in structure KOMP, however, not in structure KOMG ('Allowed Fields for Condition Structures').

    Proceed as follows:

    1. Call up the ABAP Dictionary (Transaction SE11) and create data type ZZPSTYV. Choose PSTYV as a domain.As a short text, you can use, for example, 'ZZ - sales document item category' and as a field label, you can use the field labels of PSTYV.Save, check and activate your entries.

    2. Call up structure KOMPAZ in the ABAP Dictionary (Transaction SE11) in the change mode and make the following entry:

    Component Component type:

    ZZPSTYV ZZPSTYV

    Save, check and activate the change you made.

    3. Note:Because of the change in structure KOMPAZ, field ZZPSTYV is now known in structures KOMG and KOMP because structure KOMPAZ is included in both structures.

    4. Call up Transaction SPRO. Navigate to 'Sales and Distribution -> Basic Functions -> Pricing -> Pricing Control' and execute 'Define Condition Tables'.

    Choose 'Conditions: Allowed fields' and include ZZPSTYV as a new entry.

    5. Note:Now you can use field ZZPSTYV as a key field when you create a condition table Axxx.

    6. Supply the new field you defined by including the following source code line in USEREXIT_PRICING_PREPARE_TKOMP:

    MOVE xxxx-PSTYV TO TKOMP-ZZPSTYV.

    In order processing you find the user exit in Include MV45AFZZ, and in billing document processing you find it in Include RV60AFZZ.

    Consider that you can also use this note as a help if you want to use other customer-specific fields as key fields in a condition table.

    For header fields, use structure KOMKAZ instead of structure KOMPAZ and

    USEREXIT_PRICING_PREPARE_TKOMK instead of

    USEREXIT_PRICING_PREPARE_TKOMP.

    Thanks

    Manoranjan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 28, 2008 at 06:28 AM

    thnx

    Add comment
    10|10000 characters needed characters exceeded