Price condition creation & fields catalog update

Hello all SAP experts,
I am trying to create a pricing condition that will be applied in stock transport order based on shipping conditions. Depending on the shipping conditions used in the STO, the amount of this condition will change.
The thing is, I cannot get it to work.
<b>What I did:</b>
  - created a new condition type
  - included this condition in the current calculation schema
  - added the shipping condition field (VSBED) in the field catalog for condition tables (it was not in standard field list)
  - created a condition table with the shipping condition field embedded
  - created an access sequence with reference to the above condition table
  - linked the access sequence to the condition
  - created a few condition records for the new condition type
<b>Result:</b>
When creating a STO, the system tries to populate but it is not working. When I look at the price deter;ination analysis, the system that the value of the shipping condition was not found, though it is defined in the STO.
<b>One step further</b>
I tried to change several things, but it isn't working. Looking at the access sequence, I noticed that the field for shipping conditions (VSBED) was stored in an internal document structure valid for document header (so-called 'KOMK' in the document structure column). I am a bit surprised because the system should look for the information at item level, not at header level. I tried to change the value to 'KOMP' (item level), but I don't know how to do it.
I realize my post is a bit lon and might get a bit confusing, but would you have any hint / idea on how to retrive the shipping conditions infomation properly?
Any info highly appreciated!
Thanks in advance,
Morgan

Please go through the steps below
- created a new condition type
This is file
- included this condition in the current calculation schema
this is fine
- added the shipping condition field (VSBED) in the field catalog for condition tables (it was not in standard field list)
This is fine
- created a condition table with the shipping condition field embedded
make sure the table is created properly
- created an access sequence with reference to the above condition table
Make sure the access sequence is created based on the way you want to defualt the condition in PO
like if you access seq should contian
e.g. your criteria is suppose STO type ST and vendor X and shipping condition is 01 then insert that condition in the PO
- linked the access sequence to the condition
check the access sequence in the condition record bu hitting Record for Access and here you should able see the value as per the criteria
- created a few condition records for the new condition type
This is fine
Now check you calculation schema that this condition should not checked as Manual determination in schema.
Hope this will help you to resolve ur problems

Similar Messages

  • Field catalog update in ALV grid

    Hi All,
    When you're changing an existing field catalog in an ALV grid, there's a possibility this change will not appear immediately in the list display.
    Can anyone explain this,
    Kind regards,
    Rob Makelaar.
    The Netherlands

    Hi Rob
    ALV as an encapsulated object uses some kind of buffer for the field catalog. You can switch buffer capabilities with the parameter <b>"I_BUFFER_ACTIVE"</b> of the method <b>"set_table_for_first_display"</b>.
    The use of this parameter is explained as follows:
    <i>Flag to be set by the application if the method call is static. This means the method is always called with the same field catalog. In this case, the field catalog can be held in a special buffer. This accelerates the display of small lists, in particular.</i>
    And as an additional point, you should have marked this thread as a question thread since you require some answer. If you want so, you can do this by editing your original post and check relevant checkbox under the editbox. This way you can reward points to helpful posts using the scala at the left of each particular post and you can mark a question as solved to save SDNers's times.
    Regards
    *--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>

  • New Field Addition in  Allowed Field Catalogs -Pricing.

    *Hi,
    We have requirement of having Material Description field in the Allowed Field Catalogs in SPRO --> SD --> Basic Functions --> Pricing --> Pricing Controls --> Define Condition tables --> Allowed Field Catalogs in order to fetch the same for Pricing Condition Table creation with Mtrl Description as Key Combination.
    Hence, as a first step, have added the MAKTX field inside the "ZStructure" (which was created before) inside Main Structure KOMP and activated the same. Then i have added the same field MAKTX in Allowed Field Catologs of Pricing using New Entries.
    Now i have tried to create a new Pricing Condition Table with field catalog of Material Description (the added field), but there is no such field is available for selection.
    Is there anything i missed to do, so that the newly added field is available during New Condition Table Creation with key combination of the added field.
    Appreciate your promot response.*
    Rgds,

    Hi,
    Thanks for your response.
    Have added the required field in Structure KOMG now and it is available for selection in Condition Table Field Catalogs. However, am allowed to select this field only when creating a New Condition Table and if i want to add this field in the already created condition table in change mode, it thows an error message - "Function Code cannot be selected".
    How to proceed further.
    Rgds,

  • Add a new field to field catalog in billing output

    Hi Experts
    can anyone tell me whether I can add 'item category' to field catalog for application V3.  and how can I do this? I want to create an access sequence-bill to party/item category, is that possible?
    thanks a lot!
    elly

    Hi..
    Below is process of adding filed to catalogue in Pricing..
    Follow below procedure as its same as condition technique...
    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.
    REWATD IF U FINDS THIS AS HELPFUL..
    Regds
    MM

  • Prices conditions, minimum quantity and multiple

    Hello,
    I am currently working on SRM 5.0 on which I am going to plug MDM 2.0.
    I was wondering 2 things:
    1. Is it possible, in standard SRM, to specify price conditions for full catalogs items (there is no Material Master managed in SRM). For example:
       - If someone orders a quantity of pens between 1 and 10, he will pay 1€/pen
       - If someone orders a quantity of pens between 10 and 100, he will pay 0,8€/pen
       etc
    If it is not possible, do you know if we can do it in MDM?
    2. Is it possible, in standard  SRM, to force user to order a minimum quantity of items, and to force him to only orders multiples of this order quantity?
    If it is not possible, do you know if we can do it in MDM?
    Thanks for your help,
    Patrick

    Hi Patrick
    1) Is possible in MDM Catalog
    2) Not standard. You can achieve this using BBP_DOC_CHECK_BADI.
    Best regards
    Ramki

  • ALV field catalogue update problem

    Dear Friends;
    I have a problem with field catalog update of ALV grid. I have designed an initial screen for selections and there are two pushbuttons here. According to the pushbutton selection the field catalogue values change, ie. some fields are hidden etc. After the first selection this works but if i exit the second screen and go to the selection screen to change my selection the fieldcatalogue is not updated accordingly altough i call the relevant fm. i fill in fieldcat with fm LVC_FIELDCATALOG_MERGE.
    Can someone suggest a solution pls?
    Thx
    Ali

    Hi Ali,
    chk this excellent Link.
    http://www.sapdevelopment.co.uk/reporting/alv/alvgrid.htm
    compare your code with the code there.
    Regards
    anver

  • Field catalogue update problem

    Dear Friends;
    I have a problem with field catalog update of ALV grid(ABAP Objects not just fm use). I have designed an initial screen for selections and there are two pushbuttons here. According to the pushbutton selection the field catalogue values change, ie. some fields are hidden etc. After the first selection this works but if i exit the second screen and go to the selection screen to change my selection the fieldcatalogue is not updated accordingly altough i call the relevant fm. i fill in fieldcat with fm LVC_FIELDCATALOG_MERGE.
    Can someone suggest a solution pls?
    Thx
    Ali

    Hi,
    Check the link below it may be useful to u.
    http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_editable.htm
    http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/update-ztable-through-editable-alv-grid-981928

  • Field catalog not appearing in the condition table for output determination

    Hello,
    I wanted to include WBSTK as a condition table entry in the output determination for  outbound deliveries, WBSTK is available as field catalog , but not available during condition table creation.
    Can you pls help me out?
    Regards
    Vaidee

    Check OSS Notes
    379619 - Preference process in SD order: Prefrnc ID missing
    595984 - Preference indicator in SD order
    379269 - Preference in SD doc: User exit: Set pref. indicator PREFE
    Regards

  • Automatically update of the info record price conditions from last purchase

    Dear.
    I need to massive update the info record price conditions from the last purchase order price for a list of materials.
    Does exist a standard transaction where I can I do this ?
    Thanks.

    hi,
    Yeah, I just checked it..
    Its not possible in Std. SAP system...
    There is no field provided for the same...
    the other way, but doesn't applies to you...as you are doing massive job...
    still if req. then check..
    The other way is:
    Maintain Quotation and ref. it in inforecord...price gets updated easily from it...
    Regards
    Priyanka.P

  • Addition of field to field catalog in order to create condition table

    hi,
       I need to add field to SAP 5.0 Field Catalog to allow for creation of custom Condition Table. A field named “Serial no. profile”  exists in SAP 4.6c. The equivalent should be added or created in the SAP 5.0 Field Catalog.
    How do i do this. Plz help.

    Thank you. i've got the solution

  • KMANU field value download from R/3 to CRM for price Condition type

    Hi
    We done changes for KMANU field in R/3 - price condition type and that changes have to download from r/3 to CRM. I was tried below object adapters to update field value (R/3 u2013 table name: T685A - KMANU) from R/3 to CRM (Table :PRCC_COND_CT u2013 KMANU). Could you any one tell me how to resolve it. Its urgent plz
    u2022         DNL_CUST_CNDALL
    u2022         DNL_CUST_CND
    u2022         DNL_CUST_PRC
    u2022         DNL_CUST_FGD
    u2022         DNL_CUST_PRICE
    Appreciate your help...........
    Regards
    Sri

    Hello Sri,
    Ideally object DNL_CUST_CNDALL should get all changes done to customizing setting in R/3 to CRM.
    Did you check the logs in txn CND_MAP_LOG_DISPLAY in CRM?
    You can get some hints there, if any error has occured during the download.
    Best Regards,
    Shanthala Kudva.

  • Error in updating ALV field catalog in selection tool for Planning Book

    Hi ,
    I am Implementing BADI  '/SAPAPO/SDP_SELECTOR' to upload Custom Fields Data in Planning Book Selection Window under APO Location Product. These Custom Fields are maintained in Custom Table.So from Table whatever Custom Fields are availabe all the fields needs to be available in for selection. Once selection is done the same data to be uploaded into Planning Book.
    This BADI is working Fine upto 4 fields but if any extra fields are added in the table 'Error in updating ALV field catalog in selection tool' error Pop Up is coming. Here i am using Folloowing Methods
    1). INIT_OBJECT_LIST
    2). F4
    3). LOC_PROD_VALUE_LIST
    Please help on the same if u have any idea or clue.
    Thanks.

    Hi Srinivas!
    Where did you get your implementation from?
    It would be nice if you could debug your code!
    For the F4 method, have you seen this note?
    Note 544904 - Sample source code f.BAdI /SAPAPO/SDP_SELECTOR ('F4'method)
    Also check this note. It contains selection modifications in the BAdI:
    Note 376902 - SDP selector: Basis corrections for BADI
    I do not know your release and support package in your SCM, but you can find a lot of notes related to this BAdI.
    Thank you!
    Will
    SCM Support Consultant

  • Error in updating ALV field catalog in selection

    Dear all,
    I'm trying to use the standard transaction /SAPAPO/TSKEYFMAIN in order to check the TS values.
    After filling the selection variant, the system shows the following error:
    'Error in updating ALV field catalog in selection'
    Could you please provide me with further details about the error? What could be the possible solution to avoid it?
    Many thanks,
    SM

    Hi Marius,
    thanks for your answer.
    I would like to use the /SAPAPO/TSKEYFMAIN transaction to check massively the values in the time series KFs and not just the consistency of them.
    So do you know any other transaction to do it or do you have an idea about the error of /SAPAPO/TSKEYFMAIN?
    Thanks for your help!
    SM

  • How to update multiple Price conditions in FM CRM_ORDER_MAINTAIN

    Hi All,
          need to update multiple price conditions in a contract Thru FM CRM_ORDER_MAINTAIN.
    please see the piece of code that am using...
      am able to update single price condition...but not able to populate 2 or more .......i,e..ADD A Condition
    i,e...DATA : ls_cond TYPE prct_cond_external_input,
           lt_cond TYPE prct_cond_external_input_t.
    DATA : ls_con TYPE PRCT_COND_DU,
           lt_con TYPE PRCT_COND_DU_TAB.
    Create Condition Type
    *ls_con-KNUMV = lv_header_guid.
    *ls_con-KPOSN = lv_item_guid.
    ls_con-stunr  = '134'.
    IF Y EQ 1.
      ls_con-ZAEHK = '001'.
    ELSE.
       ls_con-ZAEHK = '002'.
    *ENDIF.
    *ls_con-kschl = 'ZFP1'.
    **ls_cond-waers = 'CNY'.
    *ls_con-kbetr = '0.00'.
    *ls_con-kpein = '1'.
    ls_cond-kschl = 'ZFP1'.
    ls_cond-waers = 'CNY'.
    ls_cond-kbetr = '0'.
    ls_cond-kpein = '1'.
    ls_cond-knumh = lv_item_guid .
    CLEAR ls_Price_doc.
    ls_Price_doc-ref_guid = lv_item_guid.
    ls_Price_doc-ref_kind = 'A'.
    IF Y EQ 1.
    ls_Price_doc-ref_handle = '000000001'.
    ELSE.
      ls_Price_doc-ref_handle = '000000002'.
    ENDIF.
    *ls_price_doc-PRIC_COND[] = lt_cond[].
    *INSERT ls_con into table ls_price_doc-PRIC_COND.
    INSERT ls_cond into table ls_price_doc-COND_ADD.
    INSERT ls_price_doc INTO TABLE lt_price_doc.
    ls_input_fields-ref_guid    = lv_item_guid.
    ls_input_field_names-fieldname = 'KNUMH'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'KPOSN'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'KSCHL'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'KPEIN'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'STUNR'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'ZAEHK'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'WAERS'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'KBETR'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    CLEAR ls_input_fields.
    Ls_input_fields-ref_guid    = lv_item_guid.
    ls_input_fields-ref_kind    = 'B'.
    ls_input_fields-objectname  = 'PRIDOC'.
    *ls_input_fields-logical_key = '0001'.
    ls_input_fields-field_names = lt_input_field_names.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    CLEAR ls_input_fields.
    CLEAR ls_Price_agreement.
    Clear ls_cond.
    I kept this under code. loop, for item records.....
    Though the internal table lt_price_doc. is holding all the records, it is updating only one record. can you any one pls guide me ,

    This example works fine for me. Modify it according to your needs...
    Price
                  IF it_item-value IS NOT INITIAL.
                    ls_cond-kschl = 'PR00'. " add price
                    ls_cond-kbetr = it_item-value.
                    ls_cond-waers = st_head-currency.
                    INSERT ls_cond INTO TABLE ls_pridoc_com-cond_add.   
                    index_2 = 1.
                    CLEAR: ls_cond.
                  ENDIF.
    Discount
                  IF it_item-discount IS NOT INITIAL.
                    ls_cond-kschl = 'ZPPP'. " add discount
                    wa_procent_calc = it_item-discount * 10.
                    ls_cond-kbetr = wa_procent_calc."it_item-discount.
                    ls_cond-waers = '%'."st_head-currency.
                    INSERT ls_cond INTO TABLE ls_pridoc_com-cond_add.   
                    index_2 = 1.
                    CLEAR: ls_cond, wa_procent_calc.
                  ENDIF.
                  IF index_2 = 1.
                    ls_pridoc_com-ref_handle = counter.
                    ls_pridoc_com-ref_kind = 'B'.
                    INSERT ls_pridoc_com INTO TABLE gt_pridoc_com.
                    CLEAR: index_2,ls_pridoc_com.
                  ENDIF.

  • Vendor field not updated in CRM pricing condition table

    Hi,
    We have maintained condition table with Material and Vendor fields in ECC and table is active
    After replicating this table from ECC to CRM, vendor field not updated in table and it is inactive.
    There is any mapping settings required to update vendor field in CRM table from ECC.
    Please help me out to solve this issue
    Regards
    kishore kumar

    hi,  the data field of vendor is a standard one or custimizing one?
    I remeber there is a data mapping setting in CRM, for condition field.   If you want to mapping a ERP standard field to a CRM custmizing one, you need to setting your rule in it.  Maybe you can find it in SM30 view.
    I can't login a CRM system now, so sorry for not offer your the view name.

Maybe you are looking for

  • Any way to get at the title bar in JFrame?

    I'd like to either add a button to the title bar (title pane?) or override the behavior of the resize button. As far as I can tell, the LookNFeel classes don't allow you to add anything, just change colors, icons, etc. The WindowListener classes don'

  • PI 7.1 EHP1

    Hi Guys, Is PI 7.1 EHP1 available? Can i install windows server 2008 64 bit for PI 7.1? MS SQL Server 2008 supports PI 7.1?. which is better 2005 or 2008. any ideas or suggestions would be appreciated. Thanks, Raj

  • Sizing Impact for Trex and user defined Message search

    Hi All,     In PI 7.1 we have content base search in nwapi and also we have trex based earch. Do any one have any idea about the sizing impact for the both...? Regards Pradeep P N

  • How can I avoid automatical quantity confirmation of the items?

    At our case, production is done on sales sales order for some of the materials. When all of the materials at the order are producedi I want to triger the availability check but availability check triggered autpmatically when for the first time the or

  • MIRO postings during MIGO

    Hi Friends, My client requirement is like this: During Return Delivery (MIGO - M.type:122), system should post Vendor Debit (MIRO) postings also.  They don't want to do it in two steps. Any user exist available in MIGO to  activate MIRO postings.  I