Creating New condition table.

Hi all,
I want to create conndition table with new fields. I have added those Zfields to VBAP, KOMPAZ.
Do i need to code anything in userexit_pricing _prepare_tkomp for populating the fields in list of allowed fields while creating while creating condition table?
Thanks & regards,
NarsiReddy.

If any field to be considered for condition table, the same would be done via V/03 where you can add any fields that are missing from standard.  But once you save, system will ask for Access Key without which, it won't flow in condition table.  Hence, user exit is not necessary.  But it would be ideal if you explain the business process as to why you were looking for adding some new fields.  Hope, you are not reinventing the wheel.
G. Lakshmipathi

Similar Messages

  • Sales Order Unable to Use New Condition Tables for Tax Condition Type

    Dear All,
    I am currently working on SAP R/3 4.0. I have a new requirement for my tax where I need to create new condition tables other than the 4 standard SAP tables which are Customer/Material, Division/Customer, Departure Country/Destination Country, Domestic Taxes and Export Taxes. My new tables consists of Departure Country/Destination Country/Shipping Point/Tax Code. The requirement is that the tax code is based on the chosen destination country and shipping point. The problem I am facing now is that no matter what types of table I create or even I generate with reference to the standard table, the access sequence will only refer to the 4 standard SAP tables above. Even if I put my own table in the highest priority for the access sequence, the same thing happens. My sales order will only pick up date from the standard table.
    I wonder if anyone encountered the same problem as me.
    Kindly advise.
    Thank you.
    Regards,
    Yvonne

    Hi
    Yvonne
    I suggest fist check a simple thing ,whether u have successfully determined shipping point for each line item ,it is possible that just adding a line item will not trigger shipping point determination . So after u update the shipping point on line level u can rerun pricing and check agian if u r getting it .
    Secondly for tax purposes I suggest   Try to have Customer and material tax classification approach  this allows to u have long term flexibiliy and also reduces your maintenance activity . As if u change or add number of shipping points and business changes using the sequence of shipping point ,the logic of just using shipping point will not work.
    In Tax classification u cna add new condition table for each new tax category and use it in different access sequences.
    This information can be passed on to FI using Different Tax code for Different combination.
    I hope this helps
    Regards
    Mandar

  • New Condition Table not working in Sales order

    Dear All,
    I am facing problem in pricing procedure. I have created new condition table(LIFNR & ROUTE), included Vendor(Fwd Agent) and Route in condition table with sales area. I have added that condition table in access sequence and assigned access sequence to condition type. Then Condition type added into pricing procedure and assigned pricing procedure to document type.
    In sales order I've added route and fwd agent but while checking in analysis system does not determine route and fwd agent.
    Thanks and Regards,
    Kaushal

    hi,
    i have a query to ask why you need LIFNR in condition table creation.
    where in sales order it will trigger automatically.
    please check the config settings for route determiantion automatically.
    so that if route comes automatically into the sales order then from where you will trigger LIFNR.
    please clarify.
    regards,
    balajia.

  • New Condition Table in V/LB

    Dear Experts,
    We have created new condition table and created new access sequence with the new condition table.
    In V/LB ( Change Pricing report ) when i going to add new condition table in excisting pricing report system is not allowing.
    Please suggest is it possible to add new condition table in existing pricing report or have to create new priceing report incorparating new condition table.
    Regards,
    KC Choudhury

    Hi
    It is disabled in change mode (V/LB), only you would be able to select the tables in V/LA.
    thank you

  • Processing and Released Status when we create a new Condition table

    Hi all
    I created a new condition table in M/03, and assigned one field to it, Generated and saved. Then added the condition table in the access sequence. There appeared two more lines below the field that i have assigned. One is Processing status and the other is released status, both are having green lights. what are these and what is its impact.
    inputs will be highly appreciated
    thanks

    I myself could find the answer

  • New Condition TAble for Inbound Delivery

    Hello
    i want to maintain a new Condition table for the Inbound delivery picking with the combination of _Delivery type/Plant
    so that the Inbound created for the particular plant alone uses the particular output type.
    Where in IMG can i configure the new Condition table for this combination for the Inbound delivery ?

    Hi,
    Go to SPRO > Logistics Execution > Shipping > Basic Shipping Functions > Output Control > Output Determination > Maintain Output Determination for Inbound Deliveries > Here perform following;
    - Define Condition Table for Inbound Delivery
    - Define Output Types for Inbound Delivery
    - Define Access Sequence for Inbound Delivery
    - Maintain Output Determination Procedure
    - Assign Output Determination Procedures

  • Problem in Creating Pricing Condition Table...

    Friends,
    I am creating a condition table.
    i selected perticular fields (S.org, D.ch, Div, So-to-Party,Mat)
    When i click on Generate Icon
    I Got error message:
    Customer Object VKOS A505 cannot be assigned to package

    Hello,
    Which is the number you have given for your table?
    The best way is to search for the table which is having most of these fields and copy that table to a new table. When you create table give a table number after 900 and copy from another table. After this you can add/delete the fields and generate the table.
    Prase

  • Create new condition for SO

    Dear Experts,
    Kindly assist me how to create conditiaon type for just 4 sales order type out off 10 sales order type.
    Exp:
    We have ZZ01 till ZZ10 - SO type
    ZZ01-ZZ04 - wanted to add aditional condition, that is admin fee during SO creation.
    Means I need to create new condition type for SO as ZAF1 & then tag this condition type with GL acc. 2000000000.
    - is that possible to view this condition only for those SO type & others are not allow to view during SO creation.
    - this condition ZAF1 (adnib fee) should tag with correct GL acc. the moment billing taking place.
    Kindly advice me what are configuration needed in order to create this settings. I never done this before for SD module. Thus please brief me well in order to place all these settings in SAP. Thank you.
    rgds,
    nantha

    Hi,
    You can also follow this
    Pricing procedure config:
    In SD, the steps to configure Pricing procedure are as under:
    Step 1:
    Condition table: If existing condition table meets the requirement, we need not create a new condition table. Considering the requirement for new condition table, the configuration will be done in SPRO as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Condition Table (select the required fields combination, which will store condition record).
    Step 2:
    Access Sequence: If existing access sequence meets the requirement, we need not create a new access sequence. Considering the requirement for new sequence, the configuration will be done in SPRO as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Access Sequence (Access sequence is made up of Accesses (Tables) & the order of priority in which it is to be accessed. Here we assign the condition table to access sequence.
    Step 3:
    Condition Type: If existing condition type meets the requirement, we need not create a new condition type. Considering the requirement for new condition type, the configuration will be done in SPRO as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Condition Type. It is always recommended to copy an existing similar condition type & make the necessary changes. Here we assign Access sequence to Condition type.
    Step 4:
    a. Pricing Procedure: It is recommended to copy a similar pricing procedure & make the necessary changes in new pricing procedure. Pricing Procedure is a set of condition type & arranged in the sequence in which it has to perform the calculation. Considering the requirement for new Pricing Procedure, the configuration will be done in SPRO as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Pricing Procedure --> Maintain Pricing Procedure.
    b. Pricing Procedure: After maintaining the pricing procedure the next step will be determination of pricing procedure. Configuration for determining pricing procedure in SPRO is as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Pricing Procedure --> Determine Pricing Procedure.
    Step 5: Condition record: Condition record is a master data, which is required to be maintained by Core team / person responsible from the client. During new implementation, the condition records can be uploaded using tools like SCAT, LSMW, etc.

  • Cannot find a field for creating a condition table

    Hi all,
    I m trying to create a shipment scenarios which involves shipment cost based on prices,boxes,material....etc. to start with i tried to create a condition table, here the key combination needs to have the filed 'boxes' in it. I am not able to find it even in the master table. Is there any other place whr i can find it or how can i add this into the list?(master table)
    any input is highly appreciated.
    regards/aryan.

    Hi
    Try to ad the filed from the field catalog ,In case the required combination field is not there u 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 Aim 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.

  • New Condition table / access not getting picked in purchase order.

    I have created a new condition table for the tax to be calculated for Site / Material combination. The access sequence is also crated.
    When I created the purchase order the condition / tax is not getting picked. When I checked in the analysis, I found that the error was Access not made (initalize field) for the site.  The material is being picked up.
    Please note that the site is getting picked from KOMK table ( I think it is a header table), while the site is actually there in the line item level in the po.
    Request your help at the earliest.
    Regards,
    Veena.

    TCODE OBQ2
    Select the tax access sequence. Click on accesses. Tick the right combination required site / article . then click on the fields tab. This will take you to the next screen. There click on the field for which you want to change the selection table and then click on field catalog at the bottom of the screen.
    This will take you to the field catalog screen. there select the table and field and then save.
    With this procedure you can select the required field into KOMK OR KOMP.
    Regards,
    Veena.

  • FM FOR CREATING NEW CONDITION RECORDS FROM INPUT FILE

    Hello vikas,
    I need to develop a interface program FOR CREATING NEW CONDITION RECORDS FROM INPUT FILE.
    Is there ay function module to update or create the condtion records,
    if u have any example interface program to update conditions records please send me.
    regards
    ram.

    This must be your compiler output.
    Basically, it is telling you two things that are wrong - in syntax.
    1. On line number 11 of the file RationalCollection1.java, the compiler expects a type identifier - that would be the object or return type such as int, String, boolean, etc.
    The reason it is doing this is probably due to your not ending a previous statement - like the "expected ';'" error statement. Check your code, make sure that methods (brackets) are closed correctly and there are no open statements (i.e. missing the semi-colen at the end).
    2. On line number 33 of the file RationalCollection1.java, the compiler expected the closing bracket. Thus, you didn't put the bracket where the compiler wants it.
    It appears that you have skipped some lines of code. Those lines are the problem, post them - post lines 30-36 and 9-15 so we can see what is happening around those error lines.

  • FM or BAPI to create new condition type / record for material - VK11

    Hi All,
        I need to copy condition records from one material to another material, to do that using the below FM. For the below values even its not raising any exception or creating pricing record. Could any one tell me am i missing any other parameters ?
    Please let me know.
    *& Report  Z_TEST292011
    REPORT  Z_TEST292011.
    data: ls_komg type KOMG,
          ls_komv type komv,
          lt_komv TYPE TABLE OF komv,
          lv_new_record.
    *ls_komg-kunnr = '0001000008'. " Cust number
    ls_komg-matnr = 'A0168L1600100006'. " Mat number
    ls_komg-VKORG = '3101'.
    ls_komg-vtweg = '10'.
    clear: Lt_komv,LS_KOMV.
    ls_komv-kappl = 'V '. " Application V = Sales
    ls_komv-kschl = 'ZR00'. " Condition type
    ls_komv-krech = 'B'. " calculation type; B -Fixed amount
    ls_komv-waers = 'USD'. " Currency
    ls_komv-kpein = '100'.
    ls_komv-kmein = 'EA'. " Unit of measurement
    ls_komv-kbetr = '121.50'. " new condition value
    append ls_komv to lt_komv.
    CALL FUNCTION 'RV_CONDITION_COPY'
      EXPORTING
        application                       = 'V'
        condition_table                   = '005'
        condition_type                    = 'ZR00'
    *    DATE_FROM                         = '20110629'
    *    DATE_TO                           = '99991231'
        ENQUEUE                           = 'X'
    *   I_KOMK                            = ' '
    *   I_KOMP                            = ' '
        key_fields                        = ls_komg
        MAINTAIN_MODE                     = 'A'
        NO_AUTHORITY_CHECK                = 'X'
        NO_FIELD_CHECK                    = 'X'
    *   SELECTION_DATE                    = '00000000'
        KEEP_OLD_RECORDS                  = 'X'
    *   MATERIAL_M                        =
    *   USED_BY_IDOC                      = ' '
    *   I_KONA                            =
        OVERLAP_CONFIRMED                 = 'X'
        NO_DB_UPDATE                      = ' '
    *   USED_BY_RETAIL                    = ' '
    IMPORTING
    *   E_KOMK                            =
    *   E_KOMP                            =
        NEW_RECORD                        = lv_new_record
    *   E_DATAB                           =
    *   E_DATBI                           =
    *   E_PRDAT                           =
      tables
        copy_records                      = lt_komv
    *   COPY_STAFFEL                      =
    *   COPY_RECS_IDOC                    =
    EXCEPTIONS
       ENQUEUE_ON_RECORD                 = 1
       INVALID_APPLICATION               = 2
       INVALID_CONDITION_NUMBER          = 3
       INVALID_CONDITION_TYPE            = 4
       NO_AUTHORITY_EKORG                = 5
       NO_AUTHORITY_KSCHL                = 6
       NO_AUTHORITY_VKORG                = 7
       NO_SELECTION                      = 8
       TABLE_NOT_VALID                   = 9
       NO_MATERIAL_FOR_SETTLEMENT        = 10
       NO_UNIT_FOR_PERIOD_COND           = 11
       NO_UNIT_REFERENCE_MAGNITUDE       = 12
       INVALID_CONDITION_TABLE           = 13
       OTHERS                            = 14
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    break jdonepud.
    call function 'RV_CONDITION_SAVE'.
    call function 'RV_CONDITION_RESET'.

    Hello ,
    why dont you try LSMW -RV14BTCI ?
    regards
    Prabhu

  • Field Catalog (Output Billing) for new Condition Table

    Dear all,
    I am struggling with new Field Catalog Fields for my Condition Table
    To determine two different printers I have tried to add ERNAM (SAP author of document), and to print or not to print certain documents depending on Customer Number (Proforma and Packing list) I have tried to add KNDNR
    No matter which field I add, the system warns me "Choose the key from the allowed namespace"
    and in the Acces Sequence later on I am getting a red flag.
    So far I have gotten advise that I need to ABAP user exits, create tables and lots of tech stuff.
    I want to configure the system, not program it.
    So: Can I add fields to the Field Catalog without being an ABAPPER or can I not?
    Thanks,
    Nickelodeon

    Hi,
    You can add the field in the OUTPUT COMMUNICATION STRCTURES
    OUTPUT COMMUNICATION AREA for Billing is KOMKBV3 and the Include is KOMKBZ5.
    If you want to add the new field ERNAM then add this field from the VBRK
    Enter the field ZZERNAM in the commnication strctre KOMKBV3  in the include KOMKBZ5 in the data dictionary
    By entering the field in the Include KOMKBZ5 you automatically include it in the commnication structre KOMKBV3
    Next add the field  ZZERNAM in the communication table KOMB
    Now assign the values to the field in the FUNCTION MODULE   KOMKBV3FILL_
    Include the ZZERNAM in the field catalogue for the CONDITION TABLE of Billing documents .
    After doing this you can check the new field in the FIELD CATALOGUE in the CONDITION TABLE for OUTPUT DETERMINATION.
    Please try this for your Application area ( as i gave example for Billing documents) and revert back if you need any more details
    regards,
    santosh

  • New Condition Table in Tax Pricing Procedure

    Hi Friends,
    Have u ever created new table for TAX Pricing Procedure and assigned the same to acess sequence.
    We are using TAXINN.
    Scenario is given below:
    We receive material directly & some times we asked 1st vendor to send the material to another vendor without receiving into our factory. 1st case it will be cenvatable & in 2nd case it is non cenvatable (2nd vendor who receives material will claim)
    Presently we are using condition table of Plant / vendor / Material. To meet above requirement we want to make a table with Plant / Material / Vendor / Storage location combination.
    We maintain "Storage location" in filed catalogue VOK0 & then maintain in KOMPAZ appendix structure, so that it update KOMP & KOMK tables accordingly. When we are creating new table with storage location, we are getting error i.e. "storage location" field is not updated in KOMP & KOMK tables.
    Can any one guide me how to proceed ? Is there any other method for solving this ?
    Regards,
    Sai Krishna

    46C: You should do it the other way around: first update structure KOMPAZ with field LGORT, then add it to the field catalog in VOK0.
    You will then need to code these exits:
    USEREXIT_PRICING_PREPARE_TKOMP and/or USEREXIT_PRICING_PREPARE_TKOMK to fill in the storage location field.  If you add new fields to the catalog, you need to supply the values as well.  The userexits are available in MV45AFZZ.

  • How do I create new user table in program and then access it?

    I am writing an application where I check for the existence of user objects when the add on starts and run the setup if the objects do not exist. I can create the user tables and fields but after the setup completes these objects still are not visible.
    If the user objects exist when the add on is first run everything is detected correctly.
    When a user object is added in SAP the user is eventually prompted to restart so I suspect something needs to happen prior to the add on being able to use the new fields.
    Does the add on need to wait for the DI Server to perform some action? Do I need to just quit the add on's class and rerun it, disconnect and reconnect to the company, or get a new Application and/or company object?
    What I want to do is figure out a way for the add on to automatically run the configuration if the user tables and fields do not exist yet and then kick off the regular add on code. I haven't seen anyone else's code so I don't know what is recommended or required here.
    Thanks for any assistance!

    I found that the add on can validate the existance of the user fields if I disconnect from the company object, set the SAPbouiCOM.Application and SAPbobsCOM.Company objects to null, set the new application, context, and company objects, and reconnect once more.
    HOWEVER...
    I still have to wait for the client to be restarted manually before I can run any of the form I added to the menu.
    So, I'd still like to know what the best practice is here. Should I just exit after setting up the tables and tell the user to restart SAP?

Maybe you are looking for