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.

Similar Messages

  • 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.

  • User Exit for eliminating double condition type in sales order

    Sir,
    In SE38,  Program SAPMV45A,  I am using user exit ( Userexit_pricing_prepare_tKomp )  to avoid double entry
    of condition type like PR00 in sales order . But i am not getting how to write code.
    Please, help me how to write code in user exit.
    thanks,
    Manoj.

    Thanks for replay.
    Sir, I want to impliment it in sales order (VA01 OR VA02 )
    for pricing  . Here I want to avoide double  condition types like PR00, packing forwarding, frieght ....etc
    in  sales order pricing.
    Here i want to give logic that codition type is already exit and you canot enter same condition type
    again. means if condition type is already exit then system should not allowed to enter again the same condition type
    in sales order pricing.
    Thanks
    Manoj.

  • User exit for pop-up box in creating sales order

    how to display a pop-up window while entering a particular material in the creation of the sales order

    You can use userexit 'USEREXIT_MOVE_FIELD_TO_VBAP' in include MV45AFZZ. This is executed every time a user changes anything on a material (e.g. put in a material number) and hits return. Just raise your pop-up window there if the user puts in the particular material you are talking about. The material number is available in xvbap-matnr.
    Hope that helps,
    Michael

  • 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.

  • 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

  • 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

  • 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 or badi to restrict PROO in Sales Order for certain sales organisation

    Hi SAP SD experts,
    I would like to know the User exit or badi to restrict PROO in Sales Order for certain sales organization. This can be done by making condition type as D but will affect all sales org and we to restrict for a certain sales org only.
    thanks,
    SG 

    Kindly  explained  how  you have  solved  others  may benefit..
    regards
    Arunkumar

  • Need a user exit to add custom partner function in sales order @ item level

    Hi,
    Need a user exit to add custom partner function in sales order at item level. Goto --> Item --> Partner.
    Thanks,
    Thiyagi

    HI Leo
      To add a condition price for a condition type, this has to be assigned in the <b>pricing procedure</b>. For each condition type in a pricing procedure, we will have <b>access sequences</b>. If we follow this approch, the price is automatically extracted basing on the access sequences when condition records are maintained. For this, no coding is required and everything can be done by configuration by Functional consultant.
       Naren is right to point out on the same.
      If you need to change the price for a particular condition which already exists, you can go by <b>pricing routines</b>. Go through transaction <b>VOFM</b> for the same. 
       I advice you to discuss with your functional consultant and understand the requirement and then go for modifying accordingly.
    Kind Regards
    Eswar

  • 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

  • User Exit for ERS (Evaluated Receipt Settlement ) while Creating PO

    Hi All ,
    i have a Specific Requirement ,
    When ever an PO is created for ERS Vendors , The ERS check box at Invoice tab would be  Ticked by default for specific document types ,
    But for all other document type this ERS tick from  PO item detail (invoice Tab) should get unticked automatically.
    Is there a User Exit for ERS at PO level
    Thx ,

    Hi
    <b>Please verify that the user running the report as well as the RFC User in the SRM system must have proper authorization to execute the report. For time being, provide SAP_ALL profile, and then try out the same.
    Also, check whether for the R/3 back-end Vendor, the ERS is set or not.</b>
    Please confirm this -
    You want to set the ERS indicator for the documents sent from SRM into R/3 system. Is this your requirement ?
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • User exit for greying out fields

    hi all ,
    i would like to greyout certain fields after relase of MO ... any user exit for this ?
    regrds
    pushpa

    Why don't you greyout the fields from SHD0?
    refer below link this would help you ,about how we can achieve this from SHD0.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/transaction%2bvariant%2b-%2ba%2bstep%2bby%2bstep%2bguide%2bfor%2bcreation
    Re: Parameter and Variant Transaction

  • 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

Maybe you are looking for

  • Poor network performanc​e Pavilion 500

    Has anyone ran into and solved an ethernet performance issue on the HP Pavillion 500 (500-047cb) where the nic is unable to acheive speeds of 20MB/sec or higher?  The max download performance of my current card is in 5MB range.   The same computer ge

  • How to assign "back to start" function on a button in Bex workbook?

    Hi guiys, I want to control fitering funtion with buttons since every object takes time for filtering, I want to set multi objects and multi value in excel sheet and filter them at one with button command. Filtering at ones is OK. the problem is when

  • Bank Gurantees & Letter of Credit

    Pls explain how bank gurantees and Letter of credit customizin and procee of above field explain me with exampls any documents appreciated [email protected] Edited by: Madhava Venkat on Jul 2, 2008 8:56 AM

  • HT1551 Connected apple TV to Music.

    I'm connected to apple tv with my iPad (using Remote) but cannot play songs from Music. Any ideas?

  • Where is my save game ?

    i want to ask where is my save game saved? in game centre or in my ipad ? because i want to reset my gamesuch my clinic,contract killer and the others but i can't .. Anyone can help? please thx...