Carry out new pricing when key in access field is changed

Need automatic update to 'carry out new pricing' when field that is part of key combination is changed.
The system recognized the change when viewed in analysis, but amount is not updated unless "Update" button is manually pressed.

hi,
you sales orders which are already created then you changed the access key. For these order unless you run an update pricing they cannot be updated. Now for the new sales orders which are going to be created if the new key combination matches the sales order criteria then it gets picked up automatically and you dont to do anything.
as we understand from access sequence setup, we do it frm the most specific to the most general ( while setting up the condition tables ie key combinations), So when a condtion record is found whether new key combination or old if its the relevant one and a condition is found for it, it gets picked up automatically.
regards
sadhu kishore

Similar Messages

  • Do not carry out new pricing when plant change in sales order

    Hi,
    I have one z field in additional data tab in sales order. This field store the original plant if anyone has changed plant in Sales order. My requirement is to trigger the pricing in sales order with this old plant. I am not getting any exit for this.
    Suggest me the solution.

    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

  • Need exit/badi to carry out new pricing(b) for SO coming from CRM...

    Hello Experts,
    We are transferring internet sales orders from CRM to R/3. Now, what I need to do is
    to trigger the 'carry out new pricing' for all the line items. Just like when we click
    the update button in the conditions tab and click on the 'carry new pricing' option even though
    user only displays the sales order in R/3.
    Hope you can help me guys. Thank you and take care!

    No Answer...

  • Carry out new pricing for SO

    Hi Guys,
    Is there any function module/BAPI to carry out new pricing for sales order.
    Somehow my BDC for VA02 is not working and
    my bdc does only carrying out new pricing for that order.
    This I want to replace with BAPI.
    Could you please help me in this regard
    Prashant

    Hi,
    An alternative solution is to use the BAPI to make a general CHANGE to the sales order and let the user exit take care of the repricing.
    Calling program :
      ls_order_header_inx-updateflag = 'U'.
        ls_logic_switch-pricing = 'C'.
        ld_bapi_reprice = 'C'.
    Memory ID is read in MV45AFZB, form USEREXIT_NEW_PRICING_VBKD
        EXPORT ld_bapi_reprice TO MEMORY ID 'Z_BAPI_REPRICE'.
        CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
             EXPORTING
                  salesdocument    = p_vbeln
                  order_header_inx = ls_order_header_inx
                  logic_switch     = ls_logic_switch
             TABLES
                  return           = gt_return.
        FREE MEMORY ID 'Z_BAPI_REPRICE'.
        READ TABLE gt_return INTO ls_return
        WITH KEY type = 'E'.
        IF sy-subrc NE 0.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
               EXPORTING
                    wait = ''. " No wait between orders
        ELSE.
          ls_error-vbeln = p_vbeln.
          ls_error-text =  ls_return-message.
          APPEND  ls_error TO gt_error.
        ENDIF.
    MV45AFZB, USEREXIT_NEW_PRICING_VBKD :
    DATA : ld_bapi_reprice TYPE knprs.
    Memory ID is exported from program ZPSF_01_TOOLKIT_F01
      IMPORT ld_bapi_reprice FROM MEMORY ID 'Z_BAPI_REPRICE'.
      IF NOT ld_bapi_reprice IS INITIAL
      AND sy-subrc IS INITIAL.
        new_pricing = ld_bapi_reprice.
      ENDIF.

  • Carry out new pricing at invoice

    Hi all,
    My requirement is to carry out pricing at invoice and not copy from sales order.
    For this, I goto tcode VTFL and opened copy control for LF to F1. I changed pricing type from C to B but still system is copying price from order and not carry out new pricing automatically at the time of invoice creation.
    please update that what needs to be done.
    Many Thanks.,
    AI.

    I changed pricing type from C to B
    First please dont post the same question related to an issue in multiple times.
    Coming to the issue, you have to test this by creating a new sale order.  Existing orders will not change once you change the copy controls.  It will have impact only on the newly created documents.
    Last but not least, as for as possible, continue your queries in the other thread and close this one.
    thanks
    G. Lakshmipathi

  • User-exit for  carry out new pricing while sales order save automatically

    Hi all,
    I need to carry out new pricing while sales order save automatically. Please any one help me to finding proper user-exit to achieve my requirement.
    Thanking You.
    Moderator message: please search for available information.
    Edited by: Thomas Zloch on Jan 11, 2012 12:53 PM

    Pl help.

  • Carry out new pricing not working in Me23n

    Dear Experts,
    I am trying to carryout new pricing in purchase order i.e iam going into Item conditions of PO and hit update button on the botton of the conditions tab and select B as the pricing type . The value changes to the new rice and then I save the PO.
    After hitting save the values remain unchanged .
    Please help on this .

    hi,
    you sales orders which are already created then you changed the access key. For these order unless you run an update pricing they cannot be updated. Now for the new sales orders which are going to be created if the new key combination matches the sales order criteria then it gets picked up automatically and you dont to do anything.
    as we understand from access sequence setup, we do it frm the most specific to the most general ( while setting up the condition tables ie key combinations), So when a condtion record is found whether new key combination or old if its the relevant one and a condition is found for it, it gets picked up automatically.
    regards
    sadhu kishore

  • Carry out new pricing by changing item category

    Hi All,
    Is it possible to carry out a new pricing depending on item category. The requirement is when i change the item category it should trigger new pricing procedure. Like example if it is tann one pricing procedure and if it change to another category like ztann it should trigger new pricing procedure .
    I know that  pricing procedure not defined on item category. I tried with the exit form userexit_new_pricing_vbap changing new_pricing. But i dont know what to write in that. I am technical guy . Please share me your idea if any one did this before.
    Regards,
    Madhu.
    Edited by: madhurao123 on Mar 10, 2011 5:54 PM

    Dear Lakshmipathy,
    I have tried the option you have suggested but was unable t o make any progress. I have done the following steps:
    In VKOA I have done the revenue account determination based on Acct Assign Grp: Customer, Acct. Assign Grp: Material, and Item Category. Despite this the correct G/L accounts are not being picked up. Can you please suggest where I may be going wrong.
    The scenario is as follows for all Item categories except ZTNN::
    If Customer and Material are taxable @ 5%VAT then pick G/L1
    If Customer and Material are taxable @ 15% VAT then pick G/L 2
    If Customer and Material are taxable @ 2% CST then pick G/L 3
    If Customer and Material are taxable @ 5% CST then pick G/L 4
    If Customer and Material are taxable @ 15% CST then pick G/L 5
    For Item Category ZTNN:
    If Customer and Material are taxable @ 5%VAT then pick G/L6
    If Customer and Material are taxable @ 15% VAT then pick G/L 6
    If Customer and Material are taxable @ 2% CST then pick G/L 6
    If Customer and Material are taxable @ 5% CST then pick G/L 6
    If Customer and Material are taxable @ 15% CST then pick G/L 6
    Your suggestions would be greatly appreciated.
    Thanks and Regards,
    Rohan Gudavalli

  • How to Carry out New Pricing in Sales Order userexit

    Hello,
    In userexit save_document_prepare of program MV45AFZZ, I'm adding an entry in XKOMV for a header pricing condition ZD01.  After saving, if I go back into the order and go directly into the line item conditions, the ZD01 does not exists at the item level.  If I navigate the the header conditions and then go back to the items, ZD01 appears as it should.  I believe what is happening is that the header condition is not being distributed to the line items unless New Pricing is carried out.  If I manually enter the ZD01 condiiton instead of relying on the userexit code, everything works fine.  The header condition is properly distributed to the line items.  Therefore, I believe the configuration is correct.  My question is, "How can I programatically trigger New Pricing from a sales order userexit".  Is this possible in SAVE_DOCUMENT_PREPARE or do I need to do it somewhere else.".
    Thank you,

    this problem has been resolved.  The problem was that I was appending the header condition to XKOMV instead of inserting the header condition as the first line in the table.  SAP will carry out the new pricing if the header condition is on the first line.

  • How to: not to carry new pricing when plant is change

    Hi,
    How can I prevent the system from carrying out new pricing when the plant is changed.
    Also,
    I have a quotation in which users can change the prices, I want to finalize the pricing in the quotation and have my sales order with fixed pricing. What is the best way to do this.
    Thanks.

    Hi,
    Try this user exit.
    Include: MV45AFZB
    USEREXIT_NEW_PRICING_VBAP
    This userexit can be used to perform new pricing, dependant   *
          on the change of datafields.                                  *
          This routine is not called, when the material number has been *
          changed.                                                      *
          Available data-fields:                                        *
            vbak - header data                                          *
            vbap - item data     (changed)                              *
            *vbap - item data (old, before the change)                  *
          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
    It should work for you.
    Reward points if it works for you.
    Rajesh S.

  • How to make reference wbs custom data carried to new wbs when using custom tab and custom table

    I created a custom tab for WBS elements by using user exit CNEX0007 and custom screen and put a table control in it.
    As table control's data has to be stored in a table I could not use append structure of PRPS.
    When I used reference wbs, PRPS custom fields were carried also but I could not find any solution to fill table control data with reference table.
    I need to get correspondence between reference number's and new id's key data. Is there any exit, enh. that I can store the relationship.

    Solved...
    I've used an enhancement point in include LCNPB_MF38.  CJWB_SUBTREE_COPY exports a table called newnumbers. Here you can find correspondances between copied WBS and new WBS.
    Exported table to memory id.
    And imported it in another user-exit. You can use proper user exit for your need.  ( EXIT_SAPLCNAU_002)

  • Automatically determine new-pricing when partner changed

    Dear All:
    when so partner changed, i hope the price will update automatically
    sap offered this two userexit, can be used to perform new pricing, dependant on the change of datafields
    USEREXIT_NEW_PRICING_VBAP
    USEREXIT_NEW_PRICING_VBKD
    but vbpa is not  Available data-fields
    is there any other similar userexit or method to Achieve this?

    Hi Timothy,
    Please check this user exit
    USEREXIT_PRICING_PREPARE_TKOMP.
    This exit has VBPA structure, you can explore further
    thanks
    santosh

  • Calendar is sending out new requests when I delete an event...

    This goes under the bizarre category.  After upgrading to Yosemite, when I delete an event, it is sending out new requests to the people that were on the event.
    100% reproducible.  We use Exchange Server.
    Thoughts?
    Macbook Pro, 10.10.
    Mark

    Phil, thank you for that info.  I just found the incoming section, but is different from what you show.  I don't have the "Delete from server" setting on my phone.  After Authentication mine shows IMAP Path Prefix/ and then goes to the Server Port as the next setting.  This is in my work email account and the one I really want to save on the server.  Any other idea or explanation on why different??
    On my personal account (Yahoo), the advanced screen was much different, but I think I found the same setting and changed it to never.  That one appears to be working.
    I appreciate your help a lot!!

  • When selecting a floating field to change details (name, binding etc), automatically changing field?

    Hi,
    I am having some issues when trying to select a floating field to change its binding, it will be highlighted until I click to change the binding in objects it will automatically change the selected floating field to a differant one. Any assistance would be appreciated.
    Cheers,
    Jared

    thanks for both replies. indeed, i get uniques names when creating each box anew, my problem lies more in that i don't want to have to draw each box individually all those times and had been copying and pasting them, as you mention. i wish there were a function to select the group of them and have acrobat number them, given the amount of boxes i am now renaming manually, one by one!
    kind of like a file-renaming application that allows you to rename a group of files with sequential numbers "file01", "file02" etc. maybe a feature for a future release.
    thanks again!

  • Out of Order Primary Keys and Blob fields

    Hi,
    I am using Oracle Migration Workbench to transfer the data from SQLServer 2000 to ORacle 9i. I am running into the following issues and was wondering if you had any ideas what may be going on:
    1.) Primary keys are out of order
    2.) Blob fields are inserted into the incorrect row
    Ex. BLOB field stating 'Application active' should be associated with Act_key (primary key) = 5 and it ends up transfering over with act_key 28.
    Thank you for any information you may have on this.
    AK

    I am very interested in this thread because I have encountered a similar problem with BLOB columns, except that I am also seeing this with CLOB's.
    Essentially the all the data gets 'migrated', but the CLOB and BLOB columns are all mixed up!
    Any solutions?

Maybe you are looking for

  • Print Selection no longer working for Firefox only using a HP Laserjet 1100

    Was working fine yesterday. Is not working today. Print selection prints out content fine with IE but not with Firefox. What has changed from yesterday? How do I fix the problem? Thanks, in advance.

  • How to restore an application from a computer to a iPod?

    How do I restore an application from itunes on my PC to my iPod?

  • Purchasing organization & cost element IN BOM

    Hi All,          I facing a problem with "N" category items in BOM. When i'm creating a BOM & adding a component which is non-stockable "N category", system is by default copying the Purh. org & cost element into this component. I checked the materia

  • Changing in dial "in ear" ring sound

    HI we have CME and I was wondering if there was a way to change the sound that customers hear when they in dial? Currently it is a long ring with a pause and another long ring. Traditionally in Australia the in handset ringing sound is short and repe

  • WIN - MAC -WIN - MAC.... What the...

    Really! what is wrong now days! Are we all living happilly ever after using open source technology on our Win's and our Mac's and dont't give ANY CREDIT to ALL THEM LINUX USERS CONTRIBUTING ENTIRE SYSTEMS WITH OPEN SOURCE CODE ALL THESE YEARS!?!?!? F