User exit for new pricing at header - Urgent!

Hi All,
My Requirement is if I change a value at the header of the sales order(after pressing enter) , pricing should be done automatically. I don't want at the line item level.
so would like to know if there is any user exit?
I found userexit_new_pricing_vbkd in Include MV45AFZB , but like to know if this works?
Please let me know.
Thanks and Regards,
Kumar.

Here my solution (it works also, if you press <save> without <Enter> first):
Include MV45ATZZ:
DATA: gs_vbak_changed TYPE vbak.
Include MV45AFZB (USEREXIT_CHECK_VBAK):
IF NOT gs_vbak_changed IS INITIAL  AND vbak-vkbur <> gs_vbak_changed-vkbur.
      PERFORM preisfindung_gesamt USING 'G'.
ENDIF.
Include MV45AFZZ (USEREXIT_MOVE_FIELD_TO_VBAK):
MOVE vbak TO gs_vbak_changed.
Good luck
Manuela

Similar Messages

  • User exit for Pop-Up text Header Note II for transactions VA02 and VA03

    Hi ,
    Need  new user exit to call text pop-up functionality (used in standard at sales order creation) when modifying or displaying a sales order (VA02 / VA03)
    Text ID: ZX02
    Text Object: VBBK
    Text procedure: X1
    Access sequence: 6002
    Text is always shown at creation if exists for the SOLD-TO in the sold-to language, and is defined in customizing as to be displayed : V_TTXER_N-TXPFL = 'Y' or 'Z'
    This is checked in RV_TEXT_COPY
    NOTE: Present while creating the sales order , popup is coming to add the text.Same pop up required for VA02/VA03 transaction.
    Reason: all orders are entered via EDI . In these cases the info from the text is not displayed.
    Pl. let me know the user exit for above requirement.
    Moderator message: please do your own research before asking.
    Edited by: Thomas Zloch on Jan 13, 2011 1:50 PM

    How do you know "ECOM Order"?
    What constitutes a "HOLD"?
    I'd do something like:
    In USEREXIT_SAVE_DOCUMENT_PREPARE (SAVE has been pressed at this point and SAVE_DOCUMENT is to fire off other processes, etc).
    IF sy-tcode eq 'VA01' or sy-tcode eq 'VA02'.
      if vbak-something (identify your ECOM order)
        loop at vbap transporting no fields (Think it's back to VBAP at this point)
        where... (look for your hold indicator in every row)
      endloop.
    if sy-subrc eq 0. "found the hold
    message innn(class) display like 'E'.
    endif.
    endif.
    endif.
    Be VERY careful with ANYTHING that you put into SAVE_DOCUMENT exit form.

  • User-Exit for changing Sales Document Number - Urgent

    Hi Experts ,
                     Please suggest me the <b>User Exit for changing Sales Document Number.</b>
    thanks,
    Jayesh<b></b>

    hi jayesh,
    chech this exit-----EXIT_SAPFV45S_002.
    this exit's description says " Change Sales Document Using Configuration".
    Other available exits are
    SDAPO001            Activating Sourcing Subitem Quantity Propagation
    SDTRM001            Reschedule schedule lines without a new ATP check
    V45A0001            Determine alternative materials for product selection
    V45A0002            Predefine sold-to party in sales document
    V45A0003            Collector for customer function modulpool MV45A
    V45A0004            Copy packing proposal
    V45E0001            Update the purchase order from the sales order
    V45E0002            Data transfer in procurement elements (PRreq., assembly)
    V45L0001            SD component supplier processing (customer enhancements)
    V45P0001            SD customer function for cross-company code sales
    V45S0001            Update sales document from configuration
    V45S0003            MRP-relevance for incomplete configuration
    V45S0004            Effectivity type in sales order
    V45W0001            SD Service Management: Forward Contract Data to Item
    V46H0001            SD Customer functions for resource-related billing
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan
    Enter these exits name in SMOD transaction and select components. u can find all the user exits available for this exit name.
    Reward me if useful..........
    Harimanjesh AN

  • User exit for va01 pricing

    Hi experts,
                   while preparing order in va01 user wronly enter value for zvat in condition , for eg : zvat is 12% but user given 4.5% and save order, i won t allow to save this type of order. kindly give any solution for this.
    Regards
    G.Vendhan

    hi
    you can have a look at all the user exits available on this thread
    Re: User Exit for va01
    hope it helps
    regards
    Aakash Banga

  • User Exit for New Field Creation & Updation at Sales Order Level

    Hi All,
    I want to create one new field in Additional Data B Tab of Sales Order.
    Also when the sales order is created with reference to a Contract, that Contract number to be updated in that field.
    Which user exit need to be used for this field Creation & Updation at the time of order creation? Is it MV45AFZZ?
    Pls suggest.
    Rgds,
    Senni.B

    Hi
    Additional header data is on screen SAPMV45A 0309, additional item data on screen SAPMV45A 0459. These screens contain the Include screens SAPMV45A 8309 or SAPMV45A 8459 as user exits.
    Regards
    Madhu

  • User-exit for changing pricing date in condition record while creating SO?

    Hi all,
    I am creating sales order based on PO using  ALE-idoc . Here i got one problem i.e the system taking the pricing date as system date.
    But i want the pricing date equal to PO document date.
    Please specify where and how to set this pricing date?
    Thanks,
    Vamshi.

    hi Vamshi,
    Could you poste your solution for our information?
    I ran into a situation sort of related to yours.
    Our customers use ALE change their Purchase Order(PO) to us. Then, by means of ALE, our Sales Order(SO) changed accordingly.
    According to system standard, our Sales Order(SO) pricing date modified to present date. But in our industry scenario, pricing date is unchangable once the Sales Order(SO) has been created.
    Which user exit I can utilize to made those pricing date of SO header and body item stay the same?

  • User exit for Dlvy Block at header for sales order for Companycode & materl

    Hi all,
    I have a requirement. I need to apply a Delivery Block for all sales orders which fall
    In a particualr company code "999" and if they have any configurable material in the item level.
    When a Sales Order is generated, during the process of generation, I should
    Write a loigc such that, if the sales orders fall in a particlar company code
    Say for '999' and if they have a configurable material at item level,
    I have to trigger an ABAP Proxy that goes and fetches a Yes/No value from an
    External system. Based on this Flag value I h ave to then apply a delivery block for
    The order at header level.
    So I assume, I should put a logic in some user exit that gets triggered before order is saved.
    And in that user exit I have to check if the Company Code of that order is '999' and if it  has
    Configurable product or not. If it satisfies the 2 conditions, I should, trigger this ABAP Proxy and
    Based on the true/False value I have to set Delivery Block or do not set delivery block for the order
    At header level.
    So I think first I should figure  out following things.
    1) user exit ..where I should put the code to check conditions and to apply delivery block.
    2) write a proxy and trigger that proxy in this user exit.
    Coming to first part, which user exit should I use to set delivery block for the order
    At header level. And how will I check for company code and config product?
    Which variables of the SAP stnd pgm store Company Code and Config product values so that
    I can check those variables for that values?
    Please suggest and help me with this.
    Any help will be highly appreciated.
    Regards,
    Sam

    1)go to the main program sapmv45a
    include MV45AFZZ ->userexit_move_field_to_vbak
    depending on ur conditions ...
    keep a break-point in the form userexit_move_field_to_vbak ,and if it stops there Check for vbak-lifsk .
    Write a condition to set the deliveryblock that is vbak-lifsk = 'xx'.
    2)then regarding your second point ...what is the middle ware used to interact with legacy system
    let me know

  • BADI and User exit for MIGO item and header enhancement

    We want to add three extra fields in MIGO screen for specific movement type 101 . Two fields at item level and one filed at header level .
    Item level fields are independent fields it will store in separate z-table and z-field and dont't have any relation with other table .
    but header field has some relation with quantity field in item level . All the item quantity has to add up in header , Is it possible to add up .
    What are the BADI and user exit need to use for this enhacement and etc required details

    Hi Raghavendra,
    Use BAdI MB_MIGO_BADI.
    It has all the methods that cater your requirement.
    Try to have a design such that you can store the values within the document by enhancing the tables using Append Structures, they surely have a link with the document.
    regards,
    Aabhas K Vishnoi

  • User exit for Payment terms at header level

    Dear Alli
    In which user exit, I have to modify if I need ti change value of payment terms at Sales Order Header level .
    and  let me know in which include program is that ??
    Thank You.
    Regards
    Madhu
    Edited by: madhu tatikonda on Feb 12, 2008 8:58 PM

    You can check move_field_to_vbak or in USEREXIT_SAVE_DOCUMENT_PREPARE
    in include: MV45AFZZ

  • User Exit for Material Group...Urgent help needed

    Does anybody have an idea of which user exit can be used to capture the changes made to material group in MM02(Material)..... Urgent help needed...

    See  the below user exit and this will trigger under MM01,MM02 and MM17 Transaction
    Enhancement name : MGA00001
    Function module :EXIT_SAPLMGMU_001
    Include : ZXMG0U02
    Reward Points if it is helpful.
    Thanks
    Seshu

  • User Exit for managing Customer Master Texts- Urgent

    Hi All,
    I have a requirement in which the the Customer Master Central texts for certain text Id's are to be maintained in such a way via XD02 that whenever any changes are made and it is saved the changes become non editable and added with user date and time and then the user can add additional line of texts but cannot edit the earlier ones. So in this way the earlier texts are prevented from accidental deletion and any new addition has a stamp( User,date,time) to determine who changed it and when. I searcehd for any exit in the program but could find only one i.e. EXIT_SAPMF02D_001
    Is this requirement faesible in standard SAP?
    Now to me this exit could not serve any purpose.Please help.
    thanks,
    Manish

    Hi,
         use the following BADI's which will suitable for ur reqirement
    business Add-In CUSTOMER_ADD_DATA_CS .
    business Add-In CUSTOMER_ADD_DATA
    Regards

  • PPCO0007 User Exit for  Changing Header Fields During Order  (CO40)

    .. Hi !!!!
      I need your help or suggestions,
      I need to change the standar order  before to save, i found the user exit PPCO0007,
      i assign the new value for the order, but when finish the fuction, EXIT_SAPLCOZV_001, the new values are
      lost, and finally the system set the standard order.
        Someona know how can change the order and the the batch.
         Thanks
    Noemí Huerta

    Hi Noemi
    You can use the enchancement PPCO0007 (exit when the production order is saved).
    Use the function module EXIT_SAPLCOZV_001 (User Exit for Checking or Changing Header Fields During Order Save) to update the field priority starting the information in the material-customer info record.

  • USER EXIT FOR PRICISING CONDITIONS ?????

    I WANT TO KNOW USER EXIT FOR DETERMINIG PRICING CONDITION IN TCODE VI01 , I WANT TO CONTROL SOME OF THE PRICES MANUALLY ....

    Hi, here are enhancements (assign to your project in CMOD and activate):
    V54B0001     Shipment costing: Configure pricing
    V54B0003     Shipment Costs Calculation: Determine Rate Type
    V54B0004     Shipment Cost Calculation: Determine Status
    V54C0001     Shipment costing: Description(s) shipement cost item(s)
    V54C0002     Shipment costing: Create shipment cost sub-items
    V54C0003     Shipment Costs Processing: Determine Invoicing Party
    V54C0004     Shipment Costs Processing: Determine Loc. for Tax Invoice
    V54D0001     Shipment Costing: Determining the Tax Countries
    V54KSFRC     Determining the factors for apportionment of shipment costs
    V54U0001     Shipment cost processing: Check whether changes made
    V54U0002     Check shipment costs for completion
    V54U0003     Specification of shipment cost number
    V54U0004     Formatting for update of new objects (shipment costs)
    V54U0005     Updating new objects in shipment cost processing
    V54U0006     Shipment Purchase Order - Header Data Supply
    V54U0007     Shipment Purchase Order - Item Data Supply
    Regards
    Filip

  • User exit for pricing to calcumlate net sales value and taxat billing level

    Hi,
    Can anyone suggest me , which user exit i can used for below scenario.
    Create a new user exit attached to pricing procedure ZXTNIC in order to exclude the conditions YTN1 & YTN2 from the calculation of the net sales value and include the value of the conditions YTN1 & YTN2 to the calculation of the Tax vale.
    From pricing procedure ZXTNIC need the net value to be till line 500 only and exclude the value of the conditions YTN1 & YTN2
    BACKGROUND
    Inter-company invoice is not calculated correctly in terms on the net sales value. The calculation of the net sales value is correct as some conditions are included in the calculations which must be excluded.
    The reason for creating the user exist is that any change in the pricing conditions class can not be used to exclude them from the net price, without totally changing the concept behind the conditions (new conditions, new access sequence in taxes, IC changes and so on).
    FUNCTIONAL DETAILS
    The user exit will run on the values of the line item and the header of the pricing conditions
    The user exit will subtract the current net value from the value of the conditions YTN1 & YTN2, also the Tax value will be added to the value of the conditions YTN1 & YTN2.
    Need the Net value = 8,032 and not 8,882
    This value will be calculated as follows = Current Net u2013 YTN1 u2013 YTN2 = 8,882 u2013 0,773 u2013 0,077 = 8,032
    Need the Tax value = 2,395 and not 1,545
    This value will be calculated as follows = Current Tax + YTN1 + YTN2 =     1,545 + 0,773 + 0, 077 = 2,395
    Regards,
    Jayaram

    solved

  • User Exit for Pricing Condition

    Hi all,
    I wanted to change the values of few fields in the communication structure KOMK and KOMP for Delivery Order when pricing is being processed.
    Is there a User exit for doing the same.
    Regards,
    Rupesh.

    hi,
    In Pricing in SD the fields on the basis of which pricing is done are derived from the FIELD CATALOG which is a structure KOMG .This structure is used to transfer transaction data to the pricing procedure in SD and is also known as communication structure.This structure KOMG consists of two tables KOMK for Header related fields and KOMP for item related fields.
       The fields which are not in either of the two tables KOMK and KOMP
    cannot be used in pricing .Sometimes a need arises when the pricing
    is to be based on some other criteria which is not present in the form of fields in either of the two tables.
      This problem can be solved by using USEREXITS which are provided for pricing in SD.
      Pricing takes place both when the SALES ORDER ( Transaction VA01) is created as well as when INVOICING ( Transaction VF01) is done.Hence SAP provides 2 userexits ,one for sales order processing which is
    USEREXIT_PRICING_PREPARE_TKOMP  or
    USEREXIT_PRICING_PREPARE_TKOMK
    Depending upon which table (KOMK or KOMP) the new fields were inserted we use either of the above two userexits.These userexits are found in include MV45AFZZ of the standard SAP sales order creation program SAPMV45A.
    In the case of userexit which will be called when invoicing is done ,these
    are provided in the include RY60AFZZ which is in the standard SAP
    program SAPMV45A. The name of the userexits are same. i.e
    USEREXIT_PRICING_PREPARE_TKOMP  or
    USEREXIT_PRICING_PREPARE_TKOMK
    These userexits are used for passing the data from the communication structure to the pricing procedure, for this we have to fill the newely
    created field in the communication structure KOMG for this we fill the code in the above userexit using the MOVE statement after the data that
    has to be passed is taken from the database table by using the SELECT statement. The actual structure which is visible in these userexits and which is to be filled for that particular field is TKOMP or TKOMK.
    Before the coding for these userexits is done ,it is necessary to create a new field in either of the two tables KOMK or KOMP .For this purpose
    includes are provided in each of them .
    To create the field in header data(KOMK) the include provided is KOMKAZ
    and to create the field in item data(KOMP) the include provided is KOMPAZ.
    One possible example for the need of creating new fields can be e.g. Frieght to be based upon transportation zone ,for this no field is available in field catalog and hence it can be created in KOMK and then above userexits can be used to fill the transportation data to it.
    2)The other method of finding userexit is to find the word USEREXIT in the
    associated program of the transaction for which we want to determine userexit using SE38.
    3)The other method of finding userexits is to find the include in case of SD/MM applications where the userexits are located ,this can be found in the SAP reference IMG generally in the subfolder under SYSTEM MODIFICATION.
    Some other examples of userexits in SD are:
    USEREXIT_NUMBER_RANGE
    This userexit is used to assign a different internal document number to the
    sales order(VA01) when it is created depending on some criteria like a different SALES ORGANIZAION(VKORG) .
    USEREXIT_SAVE_DOCUMENT_PREPARE
    This userexit is used to insert the ABAP code which will be called when
    the document (sales order VA01) is just about to be saved.This userexit is used generally for custom checks on different fields , to display some information before the order will be saved or for making changes to certain fields before the sales order will be saved.
    Hope this helps, Do reward.

Maybe you are looking for

  • Epub document in Marathi

    Task - Create a marathi unicode document and export it to epub. The epub file should be readable on iOS and Android. Problem - I have created an ebook using apple pages in Marathi Language. I have used marathi unicode font to do that. I have exported

  • JSP(XML+XSL)=HTML : error: sealing violation

    Hi, I have this jsp which will transform an xml file to html using xsl file... but its giving me a sealing violation. i tried the same code in a java application and its working... The error thrown is this: Internal Servlet Error: javax.servlet.Servl

  • Use BigPond Video with T-Box

    Re: Use BigPond Video with T-Box i don't remember my pin

  • Subscription

    I bought a Skype subscription bit it says my number is not active.

  • Command for Images in the WAD 2004s

    Hi I have notived that in 2004s that the new Button Group web Item allows the user to assign commands. eg: Bookmark.   It does however not allow the user to assign an image instead of a Button. It is also possible to insert an image however I have no