BADI or Exit for Partner Change in Sales order VA01,VA02

Hi All,
Please provide me with exit or badi to change the partner details(sold to , ship to , bill to etc...) before saving the sales order.
I have tried to use 'MV45AFZZ' and treid to change XVBPA table but even though I update this internal table data is not getting updated into VBPA table of the database.
Please help me out in this.
thanks,
Ayesha.

Hi Valter,
My requirement is whenever i change ship to party in sales order , bill to and payer need to be redetermined from ship to instead of sold to (as the standard does). I am doing this in MV45AFZZ. But I can see them updated in VBPA.
But can see it in transaction as exit is triggering each time.
suggest an alternative....
thanks
ayesha.

Similar Messages

  • User exit for partner tab on sales order

    Hi All,
    Is there any user exit available for partners tab on sales order which should trigger when ever user changes anything from that tab like add/change remove any of the partners.
    Thanks,
    Suman.

    Hi Guys,
    Any Updates.
    Thanks,
    Suman.

  • !!!How to restrict user for making  changes in Sales order , partner level

    Hi all,
    Can anybody tell me how to restrict user for making  changes in Sales order  at partner level, is it through user exit?

    Hi Ruchi
    I hope u had gone to the screen fields which u want them not to be editable. So there u select all the fields contents which u do not want to to be changed and check the boxes with W.content and Display and save it. Once evrything is done u have to activate the particular transcation going in to the standard variants and put the name and click the activate button.
    Hope its clear
    Reward if help ful
    Sri

  • Screen /user exit for additional screen on sales order header

    Hello sir's,
    can anybody help me for this query---
    Screen /user exit for additional screen on sales order header.
    exit name.
    Thanks in advance,
    Vikram

    Hi,
    SAP has provided screen modification. This you can do on "Additional data B" screen at both <b>header</b> and line iteam level.
    Additional <b>header data is on screen SAPMV45A 0309</b>, additional item data on screen SAPMV45A 0459. These screens contain the <b>Include screens SAPMV45A 8309 ( this is the screen exit at header  )</b> or SAPMV45A 8459 ( this is the screen exit at item ) as user exits. There few more exits you will have to code to get this screen works. The are,
    MV45AOZZ - PBO module of screen
    MV45AIZZ - PAI module of screen
    MV45ATZZ - Global data definition for user-exit.
    Check this link for more info regarding user-exit in sales docs.
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/frameset.htm
    We have alredy implemented this solution at line item level. Let me know if you have any question.
    Regards,
    RS

  • User exits for route determination in Sales order & Deliver creation

    Hi Gurus,
    I need to do some change in the route determination for both sales order & Delivery creation.
    Can anyone suggest me which user exit I have to use.
    Appropriate answers will be awarded.

    Hi,
    You can use the following exit for route determination - EXIT_SAPL0VRF_001.
    The FM documentation is below. Check the functionality:
    "The customer exit can be used for customer-specific route determination or to modify the inbound data for the company's own route determination.
    The following data is transferred to support customer-specific route determination:
    I_VBAK current order header (for route determination in sales order)
    I_VBKD order business data (for route determination in sales order)
    I_VBAP current order item (for route determination in sales order)
    I_VBPA current sales partner
    I_LIKP current delivery header (for route determination in delivery)
    The following data can be modified and transferred back to the standard route determination or used for a specific route determination:
    C_ALAND Country of departure
    C_AZONE Departure zone
    C_LLAND Destination country
    C_LZONE Receiving zone
    C_VSBED Shipping condition
    C_TRAGR Transportation group
    C_GRULG Weight group
    C_FLAG_GEN_VT Flag: Route determination with generic shipping
    requirements/transportation group.
    C_FLAG_INCR_GRULG Flag: Increase weight group if no route
    If you want to use a standard route determination with different parameters, trigger the exception 'CONTINUE_WITH_STANDARD'.
    In the log table C_PROT, the log data from the customer-specific route determination can be transferred back. In this case, the log entries always refer to customer-specific messages. To add a message to the log table, the function module SD_ROUTE_DET_LOG can be used (see below).
    If a route is determined in the customer-specific route-determination, it can be transferred back in the E_ROUTE field. If no route was found, the exception 'NO_ROUTE_FOUND' is to be triggered."
    Thanks.

  • User Exit to make changes in sales order line item data.

    Hi All,
    I need to know about user exit by whcih I can make changes in sales order line item details --> Account assignment tab --> Sales order no and line item no.
    I want to make changes so as to bring the active maintenance contract no and line item no here instead of sales order no and line item no. So whenever ( Va02 or Va03) we go to sales order line item and se the account assignment tab I should see the contract no there.
    Just let me know the USER EXIT to do the above changes.
    Points will be awarded.
    Regards,
    Satish.

    Hi,
    Please have a look at the following user exits...
    1. user exit_ save_document
    2. user exit_save_document_prepare
    Regards
    sankar

  • BADI for Partner Determination in Sales Order

    Hi Experts,
    Please guide me on this issue:
    Issue: When we create sales order in CRM..through org data profile...org entities will be derived automatically and based on this partners also determined.However my situation here is something differrent.We are maintaing one Z table for sales office and vendor number.Once ord data is derived in sales order,custom defined program should read sales office from org data and check the correspoding entry in z table,if its find match....put the entry as a partner function under partners tab.
    I am searching for BADI's which will trigger after the org data determination and populate the vendor number as a parner function under partner tab.
    I tried using all standard partner badi's and sales order badi's...but no luck.
    Please help.
    Thanks

    COM_PARTNER_BADI should help.
    We have successfully used method DETERMINATION_ADD_IN_3 to achieve something similar.
    Regards,
    Kaushal

  • User-Exit for Checking Customer and Sale order type in Sales Order Creation

    Hi Experts,
      While creating the Sales Order once i enter sold-to-party and enter line item, i have to check the customer against the sales order type.
    Please suggest me if any user-exit or enhancement or BADI available for it.
    Thanks & Regards,
    -VM

    Hi
    Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction.
    mark if helpful
    Regs,
    Tushar Mundlik

  • Logic and User Exit for Availabilty Check in Sales Orders,

    Hi All,
    I have a requirement of creating a Sales order from an Inbound IDOC. Before saving i need to do all the validations for the sales order including the availabilty check for the sales orders. If it is not  fulfilled i need to reject the sales order creation.
    I am trying to search for the logic for the availabilty check of the sales order but i am not able to find one. Please help me out with that and also i need the user exit for the availabilty check for the sales orders. Please help me out with that one too.
    Regards,
    Sharadendu

    See this function Module for message type ORDERS
    IDOC_INPUT_ORDERS all validations are there in this Function Module .
    Please reward if useful.

  • Question - SD user exit for Billing with multiple sales orders

    We have a situation where we are summarizing Accounting Billing document updates via OBCY, transaction type VBRK .
    We will also have multiple sales orders per billing document.
    One of our accounts is a COGS- clearing account which will post for both delivery and billing documents.
    Our goal will be to clear the COGS-clearing account after the delivery and billing has occurred.
    One alternative being evaluated is to update the assignment field ( bseg -zuonr) for the sales order. 
    To do this, one of the SD user exits , perhaps SDVFX008, would be necessary to update the sales order from vbrp-vbel2 to bseg-zuonr.
    I am concerned about
    1) will the update work
    2) what will be the effect on summarization
    If we try to implement the user exit , would we be successful to just update the assignment field for just the COGS accruall account.   _Therefore the next effect is that AR,Rev, etc, would summarize , but the COGS clearing would break out due to the update to the assignment field..
    Does anyone have any experience similar to this situation.
    Thank you,
    Jeff

    Hi
    You can use SDVFX008 or FI Substitution exit RGGBS000 (Form U100)
    You can very well update the required GL (COGS Clearing) with the Sales order No... However, how exactly it would behave upon summarization, I am not sure about that.. you need to develop that and see
    In the COGS account during PGI, Sales Order No is populated always in the field "Sales Order"... In your case, the COGS clearing account should be having sales order no populated...
    So, if you are successful to populate Sales Order No during billing in the "Sale Order" Field for the COGS clearing account, that should also suffice...
    or See if you can have relevant sort key in FS00 for the COGS clearing account so that Sales order no is always populated..
    Regards
    Ajay M

  • IDOC Generation For Quantity Change in Sales Order.

    Hi to all,
    I have a very urgent Requirement,Please give correct solutions.
    Requirement:
    When a change is made in the quantity of the sales order line item,an idoc should be trigerred . I have done done all the configurations ,still no results.I am new to ABAP , GIve good solutions ,i will reward you.

    Hi there,
    Could you please explain step by step procedure of your req. coz it is not clear.
    What is BoQ?
    Customer gives raw material with out knowing the specification of sheet?
    Thanx
    Jess

  • Need of User-Exit  in the creation of Sales Order(VA01)

    Hi,
    In the creation of Sales Order, I need to Compare the Ordered Quantity and Confirmed Quantity. If the CQ is less than OQ I need to create one more line item with the same material for the rest of the quantity and send the request to Production order for the remaining quantity. For this I am unable to get the exact exit. Please help me in this regard ASAP.
    Thank you.

    the following program are the user exit for billing.
    we often use RV60AFZC and RV60AFZZ.
    RV60AFZA
    RV60AFZB
    RV60AFZC
    RV60AFZD
    RV60AFZZ
    RV60BFZA
    For Sales order
    Pricing, item addtion deletion
    MV45AFZZ
    First, I did not find documentation for the BADI either. But at the first glance the process of implementing it looks quite straightforward. I assume you run R/3 Enterprise (4.7). So, you should implement BADI 'BADI_SD_SALES' - this must be done in transaction SE19. In particular for the purpose of adding some additional items into sales document I would implement method SAVE_DOCUMENT_PREPARE. This method has changing table parameter FXVBAP of type VA_VBAPVB_T - it holds all the sales document items. Just add items of yours to it. Certainly, you have to fill all the appropriate fields carefully.
    Hope this helps somehow.
    In that case you should use USEREXIT_DOCUMENT_SAVE_PREPARE subroutine (form). As far as I remember it has no parameters. To add items to the sales document you should modify internal table XVBAP.
    regards
    vinod

  • Change Material in sales order (VA01/VA02) after GATP execution

    Hi All,
    My requirement is to replace the Material no if confirm quantity is 0 after GATP execution.
    Currently i am changing material no in USEREXIT_CHECK_VBAP. After chnaging material in this user exit, new material is replaced on screen. But when i press ENTER its not changing all the relavent data for new material (Like Material Description).
    Also New Pricing is not carried out.
    Is there any flag, through we can trigger all SAP standard process after i change material on user exit or is there anything to trigger SAP standard process again after changing material in user exit?
    Thanks in advance.

    Hi Valter,
    My requirement is whenever i change ship to party in sales order , bill to and payer need to be redetermined from ship to instead of sold to (as the standard does). I am doing this in MV45AFZZ. But I can see them updated in VBPA.
    But can see it in transaction as exit is triggering each time.
    suggest an alternative....
    thanks
    ayesha.

  • PO attachments to Sales order (VA01/VA02)

    Hi Experts,
    Need you help again. I am trying to find the solution on how can we interface the documents (e.g. customer PO in PDF format) attached to sales order (Via services for object) to webportal?
    I know how to attach the documents using GOS. But not through DMS. Even in any of these options, not sure where the attachments are stored and can extract it to pass on to webportl.
    Kindly help. I have searched the forum and google, but did not find anything otherthan SAP DMS or GOS.
    Thanks,
    Ram.

    dear, the best way i suggest is to use the DMS functions.
    run t-code CV01N and look/play how you can attach a document.
    you would search DMS forum. regards,
    P.S.
    look at some theory:
    http://help.sap.com/saphelp_47x200/helpdata/EN/30/08a037b9e62417e10000009b38f889/frameset.htm

  • Plant Maintenance Order - BADi/user exit for operation change

    I need to send a mail on plant maintenance order (IW32) save event if there is any change in operation - requirement assignment person. Means if the operation is assigned to a person then notify that person on order save event.
    Can anybody help me on this in finding some BADi or user exit?
    Thanks in advance.

    Hi,
    User Exits:-
    IWO10009  Customer Check for 'Save' Event
    BAdI:-
    ALM_ME_001_ORDER      Order/Operation Data
    ALM_ME_ORDER_OPER   MAM 1.0 Order Operations
    IBAPI_ALM_OPR_GETDET BADI for Reading Fields for BAPI_ALM_OPERATION_GET_DETAIL
    Check with these User Exits & BAdI's.
    regards,
    Venkatesan Anandan

Maybe you are looking for

  • SM36 spool list problem

    Hi all, I scheduled a report to run in the background and it is working and generating a list in the spool. The thing is i am able to see all the records but all the columns are not being displayed. The list generated when running it in the foregroun

  • I can't install newer Safari or others...

    My Safari is v. 3.0.3. When I click .pdf files on the web pages, mostly the browser crashes and accidently closed. And video (I think flash movie) from cnn.com is not working. I tried to install newer Safari, I have enough hard space, about more than

  • IOS 8 Hidden Photo Data

    Okay, I'm running iOS 8.1.3 on my iPhone 6 and trying to clean off space. I have cleared off ALL of the pictures in the photo app, even in the deleted pictures folder. However, for some reason iTunes and the Settings app say I have 1.1GB of space tak

  • Tablespace threshold alert

    Hi, I executed the below procedure to implement the tablespace threshold for the tablespace 'TESTING'. My doubt is, once the threshold reaches where will I get the message like the tablespace 'TESTING' has only 51200 KB left. Database:10.2.0.4 OS: so

  • How to use third party library (like .dll and .lib files) in flascc?

    I have a number of .dll and .lib files of the  third party library, which are generated from C++ code. I read about flascc on other web site says: "If you want to use third party library in your Flascc project,you must have either the source code or