Automatic price update if key field values changed in sales order and bill

Hi Experts,
I have requirement as follows.
<b><u>Scenario: -</b> </u>We wanted carryout the pricing based on Incoterms, customer and material. I have created the condition table with these fields. And maintained the condition record. The values will flow to sales order without any problem.
<b>
Problem: - </b>When we change the incoterms say for CIF to FOB the system should redetermine the price automatically, but this is not happening (If will redetermine only freight). If we carryout new pricing manually the right price will flow.
<b>
Expectations: -</b> Is their any exit or any configuration setting where in system will redetermine the price automatically if we change the field value in sales order(For the field value it will be used to create condition table).
If anyone done this please help me with setting or Exit and code to enable us to come out from the situation.
We need this to happen while creating sales order as well as billing, Since @ billing prices will be redetermined.
Thanks in advance for the needful.
With regards,
Manjunatha H.S.
M: 9740433511
<b></b><u></u><u></u>

Hi Shivakumar,
You can use USEREXIT_NEW_PRICING_VBAP in include SAPMV45A for this.
Regards
Nikhilesh

Similar Messages

  • Update KOMV-KBETR field for sales order and billing

    I would like to update the KOMV-KBETR (condition amount or percentage) under condition tab for both Sales order and billing.
    example:There are two condition types ZA00 and ZB00 and need to get the KBETR value from ZA00 and add it to KBETR value of ZB00 and update the sum in KBER value of ZB00.
    1. creation of sales order & billing.
    2. Change of sales order & billing.
    3. For single & multiple line items in both sales order & billing.
    4. during updation of price in the change mode of sales order & billing.
    5.When user click on Update button in the condition tab(i.e., when clicked on Carryout new pricing)
    I tried with the VOFM routine but as the routine is triggering multiple times the sum is calculated again and again.For that I set flags also.It is working for sales orders but for billing creation the field XKOMV-KBETR is cleared after this routine.
    So I would like to know are there any EXITS for this scenario or any one entountered the similiar issue which I am facing.

    Hi Brad,
       It is an Client requirement.So need to do the addition of that condition types.
    Can you please let me know the configuration point where we can do it and the condition type which we need to update the Rate/Amount value.ie., KOMV-KBETR is and Price list value and not the subtotal one.
    Thanks,
    Srilakshmi Lagisetty.

  • Sales order and billing document fields

    what are the fields for sales order and billing document dates?

    Hi
      Couldnt really get the exact requirement:
    1. If Billing Dates are to be extracted from Sales Documents, we can do that by extracting field <b>FKDAT</b> from table <b>VBKD</b>.
    2. If it is Billing Document creation date, extract from VBRK-ERDAT with below condition.
      select vbrp~vbeln vbrp posnr vbrp~aubel
             vbrp~aupos vbrk~erdat into table itab
             from vbrp as a
             inner join vbrk as b
             on vbrp~vbeln = vbrk~vbeln
             where vbrp~aubel in s_vbeln.  "Sales Documents
       Hope this gives you some idea.
    Kind Regards
    Eswar

  • Required Field which flowes from Sales Order to Billing Document at item

    Dear All,
    I required one field which i can enter in sales order at item level and that copies into billing document.
    Which field i can use.
    Regards,
    PM

    PM,
    YOu are using material group for analysis purpose. please check the config path:
    IMG --> LG --> Material Master --> Settings for Key Fields --> we have one "Define Material group" where you will maintain the initial Material group appearing in Material master.
    But what you require is Material group appearing in sales order item details screen. For that check
    IMG --> LG --> Material Master --> Settings for Key Fields --> Data Relevant to Sales and Distribution
    --> Define material groups
    Then we need to maintain Material group hiererchy for the materials then group all the materials then proceed accordingly.
    I tried but i didn't get.... i have not tried material group hierarchy
    Regards
    Sathya

  • Field sequence Change in Sales order after adding new field( Resolved)

    Hi I have added a new filed into sales order/item overview.(addded thr se51-layout ) . but when i go to va01/02/03, i noticed that the field sequence is changed due to my new field.(but when i see the layout its differnt and correct.)( even i checked changing the groups also)
    Is there something i need to do..?Please advise. Thanks a lot.
    <b>Answer:</b>
    Table view is configurable in VA01/02/03.( No matter where you add the  new fields)
    Users can always move them to desired position.
    Message was edited by: Deadlock1
    Message was edited by: Deadlock1
    Message was edited by: Deadlock1

    Hi
    In the comments for the subroutine, it says:
    *       Parameter new_pricing controls the new pricing in the calling *
    *       form. It can be filled according the the allowed values       *
    *       of domain KNPRS (Pricing type), for example:                  *
    *       ' ' = no new pricing                                          *
    *       B   = Carry out new pricing                                   *
    *       C   = Copy manual pricing elements and redetermine the others
    So, you must write:
    If VBAP_WERKS NE *VBAP_WERKS.
      new_pricing = 'B'.
    Endif.
    Regards
    Eduardo
    Edited by: E_Hinojosa on Aug 25, 2011 8:21 AM

  • Netvalue in the Sales order and Billing document is changing dynamically

    Hi Experts,
    I have one issue,when i goto VA02 or VA03 and VF02 and VF03 by giving document number the net value in the Item-Condition(KOMP-NETWR) is changing automatically and it is giving some unknown value.Please let me know what went wrong?
    Please note that there is no Routines and User exits used for the customization.
    Also note that this value changing happening only when i goto Item-->Condition,if i goto to other sections or views in Item the value is not changing.
    Is it some thing probelm with Update group?please guide me.
    Regards,
    Chandra
    Edited by: Chandra Duvvada on Jan 8, 2010 5:34 PM

    Hi Franck,
    Thank you for reply.
    If i goto Header-->Condition both from SO and Billing doc ,i cannot see change of the Net value.
    But only when i go Item-->Condition the value is getting changed automatically.
    Please note the there is only one condition type determining value from the condition record i.e negative value just like -151.33 USD and this value should be posted to accounting,but it will not.When i click Item-condition the net value is becoming 0.01 USD.
    Also note that no problems before Dec'09.
    I doubt is is something with Company code validations or substitutions?
    Regards,
    Chandra

  • Need different price for sales order and billing document.

    Hi,
         I'm having a scenario.I have created a sales order for a material,the order value is $100.I have done up to Delivery.Billing part is only remaining in the flow.Unexpectedly the price of the material increases $20 more.Customer is ok with the new price $120.So how the new price comes in billing document.For this what are all the steps i want to configure?
    Regards
    Raj

    I want to know from you is client entering price manual or condition records maintained, if it is manual.you can go billing in the item pricing condition click on update field and select B i.e carry out new pricing.& enter the current price manually.

  • Different value in sales order and billing document for one line item

    Hi Experts,
    User created a sales order with three line items say line item 10, line item 20, line30 and he did the delivery and billing also. Line item 10 value is 5024.26 EUR in Sales order
    At the time of billing the value of a line item 10 is increased by 0.02 i.e. 5024.28
    I asked the user cancel that invoice and the post goods issue. He cancelled the invoice and post goods issue. Then he created the PGI and billing now the value of line item decrease by 0.01(5024.27) again he cancelled the invoice and post goods issue. he created the post goods issue and billing. Now the value is correct i.e. 5024.26.
    User is asking me the reason can any one help me in this
    Note: price is copying from delivery to billing

    Morning Sunina
    Now consider this scenario
    Item a - 10
    Item b - 20
    Item c - 30
    and the validity of condition rec for item C is 31st of Jan
    after 31st JAN the record changes or there isn't any.
    In Copy control the pricing type is 'B' i.e., carry out new pricing.
    Now if the document is created in January it will take all the above prices. and this document is then billed in Feb. Now the copycontrol, whilst copying the prices, will predetermine the same.
    Now your task is to check if there was user intervention, check the pricing in order and check what condition types got affected in order and in billing.
    If your scenario is still not amongst the above cases...
    I don't know what to do, if you figure out please let us also know, god know when we would face the same scenario....
    Take care

  • Currency Change from Sales Order to Billing

    Hi All,
    We have a Requirment where we need to change the invoice to RUB while the Sales Order will be in USD.
    I understand that in Stand. SAP the invoice currency should be same as Order Currency.
    Can any one tell me that what custom logic needs to written for this or is there any specific Customizing settings for this.
    Regards
    Basha

    Hi Basha,
    Yes it is possible,
    1. The scenario is like this I have a additional Data B tab in the header where we provided a text box with field label Invoice Currency. If you enter the currency system will generate the invoice with required currency.
    2. Create a ZTABLE like ZINV_CURRENCY with fields Sales Org, Currency, New Currency.
    In this case you should change your standard program of creating invoice and you should use make use of this ZTABLE. Also you should make sure of currency exchange etc.
    I do not know how exactly we can impliment it but I have seen this scenario in one of client system.
    Thanks & Regards,
    Nagaraj Kalbavi

  • Update terminated error while doing changes in sales order

    Hi
    We had found below error message while trying to save a sales order
    RV_sales_document_update
    Report-LV45UF0V
    Row 265
    Error details-SAPSQL_ARRAY_INSERT_DUPREC-671
    This had happened for 2 sales orders alone..
    "SAPSQL_ARRAY_INSERT_DUPREC" "CX_SY_OPEN_SQL_DB"
    "SAPLV45U" or "LV45UF0V"
    "VBEP_BEARBEITEN"
    We are not using any user exit for VBEP...
    Can u please tell us how to overcome this error
    Regards
    Sudha

    How was it solved ? I have the same Issue.
    << Moderator message - Everyone's problem is important. But the answers in the forum are provided by volunteers. Please do not ask for help quickly. And consider opening your own thread on this >>
    Thanks
    Abhinav
    Edited by: Rob Burbank on Jan 12, 2011 4:08 PM

  • Layout change in sales order or billing suitable for taking printout in A-4

    Address is larger than the space provided in the pre- printed stationary billing slip or sales oreder provided by our client, how to adjust the font, that fits for print out sheet of A- 4 size.kindly tell me how to adjust the size of layout. is there any need for ABAPer, to work on re-sizing of the layout of the slip, which is suitable for taking printout ?
    kindly sugggest how to dot this layout adjustements.
    regards,
    g.v.shivakkumar

    this will done by abaper.. goto se 41.. there abaper will write code ...
    ramki

  • Flow of Old Sales Order and item values

    Dear Gentlemen,
    Account Based COPA activated and being used since 2010 in our client system.
    As per the customer requirement,recently we have created two new charateristics ,viz;Sales Order and Sales Order  Item in COPA and values of Sales Order and its item are being flowing in to COPA.
    But customer expecting to flow the values of OLD Sales Order and its items (i.e since 2010) for the above stated new two new characteristics.
    Can anybody throw some light on this as how to bring the values of old sales oredrs and it items.
    Regards
    Su

    Hi SU
    You have created the Characteristics fields now and  you want to effect the data flow in old FY, which may not be possible effect from old fiscal year/periods.
    Can you try use KE21N -repost line items for the current period.

  • Can we change key field values in table maintenance

    Hi,
      I have created Z-table and table maintenance for the same...
    In table maintenance..Can we change key field values??
    Is there any posibility????
    Rayudu

    you can do it in this way.
    open sm30->tablname->edit
    snow select the row(s)->copy->change the keyfield values-back->save.
    no in that sm30, select records with old primary key and delete->save.
    so you got all field similar for those record under modification, only the key field changed.

  • Posting Key Field Status changes - unable to generate Transport request

    Dear All,
    I did posting key field status change from suppress to optional ( P.Key 24).
    However I am unable to generate a transport request.
    Please share your inputs
    Thanks
    Sanjai 

    Hiii sanjai Babu... your client would have set automatic recording of changes in scc4... or the request would be created and yo woulnt have left the page after saving soo it might have been saved... hope it helps...
    Regards
    Abhay

  • Key Field Value for File Adapter Sender Wildcard

    Hello everybody, is there a way to use a wildcard for the property of NamA.keyFieldValue in the cc for a Fils Sender????, here's an example why, I need to take some Files via PI 7.0 and my key filed can change according to the file an example is that in a file can be HF28 and in another file can be HF29, the only character that is going to be constant is the H, I would really appreciate any suggestions, thanks in advance.
    Regards,
    Julio Cesar

    Hi Julio
    File sender adapter will read the file using FCC
    Key Field Value entry is mandatory if the key field name is set. Otherwise, the entry can be ignored
    http://help.sap.com/saphelp_nw70/helpdata/EN/34/393071e9b998438ddb8ce97cd617a1/frameset.htm
    Content Conversion ( The Key Field Problem )
    Thanks
    Gaurav Bhargava

Maybe you are looking for

  • Apple LED 24" Cinema Display audio problem under 10.6.8 (with post fix)

    Hi all, I'm using an Apple LED 24" Cinema Display with a 2010 MBP 15" and had been using 10.6.8 without problem. After installing the post-fix I now get static noice on (clipping?) when music contains lots of base. If I switch the output to my MBP's

  • Why don't add-ons upgrade to work on the latest version of Firefox?

    Having all these add-ons doesn't make much sense if you keep getting a "not compatible with latest Firefox version. Yea sure I bought a s4 to run the older versions. Firefox seems to have alittle google mindset about themselves. Without the add-ons F

  • Function to run conditional on CSV and delete line if true

    It's Friday and my brain is focusing more on the weekend than work, so I ask your help, oh PowerShell community: I've been tasked with converting our old VB new user script to Powershell, the input of which is a CSV that HR sends us on a daily basis.

  • Error when opening the file

    Hi all, we are sending the purchase orders from SAP to Third party system as file using IDOC to File scenario. In XI side successfully gone through in MDT also i didnt see any errors. But when we open the file in third party system its giving errors.

  • GPU driver update from AMD website? (G570)

    Got a G570 with HD 6370M & Intel HD Graphics 3000 (switchable graphics). I'm having some bad graphics performance since the driver offered by Lenovo is outdated, and I want to update my AMD drivers. Can I download the latest one from this website wit