Userexit/Badi for vendor or enduser addition/change in sales order creation

Hello Gurus,
I need a userexit/badi that gets triggered on the addition/change of partners in sales orders
I need to make some validations when the user adds/changes the vendor or
enduser in the sales order creation.
I tried many exits that I could find from forum but they were not able to asist.
Any help would be much appreciated.
Thanks in Advance,
Sumit.

Well, if all else fails, USEREXIT_MOVE_FIELD_TO_VBAK will definitely be called when you change partners... but of course it will be called much more often than at only partner changes. Still, internal table XVBPA shows the current partners, so you could compare its content with the earlier state of the table to recognize a partner change you're interested in.
Strangely, the usual Y-table (YVBPA) is not populated, not sure why, otherwise the comparison would be even easier.

Similar Messages

  • Method /Event for getting all the info passsed on sales order creation/edit

    Hi Experts,
    I am editing sales order screen on UI, and I need all the inputs that I m passing on the screen.
    Can nybody suggest any method or event in which I might catch all the info on clicking the 'SAVE' button.

    Hi Asif Khan,
    Please check this link
    BAPI_SALESORDER_CREATEFROMDAT2 - Sales Order Create
    http://sap-img.com/abap/bapi-salesorder-createfromdat2.htm
    Best regards,
    raam

  • Any Userexit & BADI for transaction VB(7 during final settlement

    Hi SAP GURUS,
    I have checked no user exit and BADI. Any Userexit & BADI for transaction VB(7 during final settlement. During final settlement of rebate, I have to change the amount from KONP table in transaction VB(7 . Let me know the userexit and BADI.
    Regards,
    Karthik.

    Hi Sekhar,
    These following BADI are not capturing KONP item details.
    I want to capture KONP item details to modify amount.
    ARC_SD_COND_CHECK : Archiving Object SD_COND: Additional Checks
    ARC_SD_COND_WRITE : Archiving Object SD_COND: Archive Additional Data
    SD_COND_SAVE_A : Save condition application A, E
    Regards,
    Karthik.

  • Userexit/BAdi for CBIH102  (HR-EHS module)

    Hi guru's,
    Please help find the userexit/BAdi for Transaction code: CBIH102. The Requirement is to auto-populate the Accident Category  (CCIHT_IPEVA-IALPCAT) field  during the Creation/Change mode. I tried the below exits/BAdi & set all the breakpoints, activated CMOD projects and even implemented BAdi. It is not triggering. Enhancement Framew
    Object Name                                 Description
    EHSIAHM1                                     EH&S: Menu Exit 1 for Incident/Accident Log Header
    EHSIAHM2                                     EH&S: Menu Exit 2 for Incident/Accident Log Header
    EHSIAPM1                                     EH&S: Menu Exit 1 for Incident/Accident Log Person
    EHSIAPM2                                     EH&S: Menu Exit 2 for Incident/Accident Log Person
    EHSMPHM1                                   EHS: Menu Exit 1 for Measurement Project Header Data
    EHSMPHM2                                   EHS: Menu Exit 2 for Measurement Project Header Data
    EHSMPJM1                                    EHS: Menu Exit 1 for Measurement Project Measurements
    EHSMPJM2                                    EHS: Menu Exit 2 for Measurement Project Measurements
    EHSSARA                                     EHS: Check/Edit Lines in SARA List Before Printout
    BAdi Name                                    Description
    EHSI_AC_COSTC                          EHS: Cost Calculation in Safety Measures
    EHSI_ANNC_RATCP                      EHS: Calculation of Rating of Standardized Criteria
    EHSI_ER_MEX_01                          EHS: Risk Assessment Menu Exit 1
    EHSI_ER_MEX_02                          EHS: Risk Assessment Menu Exit 2
    EHSI_ER_MEX_03                          EHS: Risk Assessment Menu Exit 3
    EHSI_ER_MEX_04                          EHS: Risk Assessment Menu Exit 4
    EHSI_FAL_***_SRV_SCR           EHS: Screen Enhancement: Injury/Illness Log-Service Assignmt
    EHSI_FAL_MEX_01                        EHS: Injury/Illness Log Menu Exit 1
    EHSI_FAL_MEX_02                        EHS: Injury/Illness Log Menu Exit 2
    EHSI_FAL_MEX_03                        EHS: Injury/Illness Log Menu Exit 3
    EHSI_FAL_MEX_04                        EHS: Injury/Illness Log Menu Exit 4
    EHSI_IA_RPHDFLG_COMP             EHS: Determ. of Reportable Event Indicator in Inc./Acc. Hdr
    EHSI_INT_ORG_1403                     EHS: Write Long-Term Average to Infotype 1403
    EHSI_MJVA_MATCHUP                  EHS: Transfer Measured Values - Amounts
    EHSI_MJ_IMPORT                           EHS: Import Measured Values
    EHSI_MJ_MEX_01                           EHS: Measurement Management - Measurement - Menu Exit 1
    EHSI_MJ_MEX_02                           EHS: Measurement Management - Measurement - Menu Exit 2
    EHSI_MP_CREATE                          EHS: Create Measurement Projects
    EHSI_MP_DV_SCR                         EHS: Screen Exit: Device List in Measurement Management
    EHSI_MP_EPI_IMP                           EHS: Import Exposure Profile
    EHSI_MP_METHOD_HELP               EHS: F4 Help for Measurement Method
    EHSI_MP_MEX_01                           EHS: Measurement Management - Meas. Project - Menu Exit 1
    EHSI_MP_MEX_02                          EHS: Measurement Management - Meas. Project - Menu Exit 2
    EHSI_WA_MEX_01                         EHS: Work Area Menu Exit 1
    EHSI_WA_MEX_02                         EHS: Work Area Menu Exit 2
    EHSI_WA_MEX_03                         EHS: Work Area Menu Exit 3
    EHSI_WA_MEX_04                         EHS: Work Area Menu Exit 4
    EHSI_WA_OVERALL_RAT             BAdI Default Impl.: Work Area Overall Rating
    EHSI_WA_RECEIVED_RAT             BAdI Default Impl.: Work Area Received Rating
    EHSI_ACPM_DATA_TRANS           BAdI Default Impl.: Work Area Received Rating
    EHSI_CLM_HEAD_SCR                  BAdI Default Impl.: Work Area Received Rating
    EHSI_CLM_MEX_1                          BAdI Default Impl.: Work Area Received Rating
    EHSI_CLM_MEX_2                          BAdI Default Impl.: Work Area Received Rating
    EHSI_CLM_PAY_SCR                    BAdI Default Impl.: Work Area Received Rating
    EHSI_IAL_COSTS_SCR                 BAdI Default Impl.: Work Area Received Rating
    EHSI_IPEVA_TIMDAT                     EHS: Make the Multiple Absences in the I/A Log flexible
    Regards,
    Vinayak

    Up please )

  • Is there any BTE or Badi for Vendor Outgoing payment posting

    Hi Experts,
    My client who want the bank commission deduction at the time of vendor outgoing payment on the net values. the bank commission is fix of Rs. 0.07 Paise Per Rs. 1000/-
    The scenario is as below:
    Client who deduct the deduction at the time of Invoice for e.g. can bhade, Sanstha anamat , Prakriya Kharch ,Vahtuk Bhade, Share anamat etc. this deduction are directly update the Accounting GL .
    after that the client pay the vendor dues amount. in this they deduct some deduction through Account (FI) (E.g. Sanstha Audit fee, Shikshan fund, machine anamat) & After deducting the Accounting deduction they calculate bank commission on the net amount (Invoice amount - FI deductions = Net amount)
    Dear Expert, Please help me to work out this problem. in sap at the time of invoice we deduct the deduction as per client required & get the vendor due amount properly.
    but at the time of vendor outgoing payment i had done the FI side deduction manually but i can't get the bank commission on the net dues amount. client required automatic bank commission deduction on the net amount.
    is there any BTE or BADi for Vendor outgoing payment?
    Please help me to workout this issue.
    Warm regards,
    Dhananjay Rahane.

    ok

  • Userexit/BADI for VA01/VA02 on save

    Hello ,
    Can any body provide the avaialble Uesr exits or BADIs which will trigger ON SAVE of sales order creation or change .
    I tried with some BADI but all they are for Internal use only .
    Please provide me the externla BADI s  which can be implemented .
      or
    userexits
    very very urgent
    Points will be given
    thanks

    Enhancement                                                                               
    V60F0001                                SD Billing plan (customer enhancement) diff. to billing plan
    V46H0001                                SD Customer functions for resource-related billing         
    V45W0001                                SD Service Management: Forward Contract Data to Item       
    V45S0004                                Effectivity type in sales order                            
    V45S0003                                MRP-relevance for incomplete configuration                 
    V45S0001                                Update sales document from configuration                   
    V45P0001                                SD customer function for cross-company code sales          
    V45L0001                                SD component supplier processing (customer enhancements)   
    V45E0002                                Data transfer in procurement elements (PRreq., assembly)   
    V45E0001                                Update the purchase order from the sales order             
    V45A0004                                Copy packing proposal                                      
    V45A0003                                Collector for customer function modulpool MV45A            
    V45A0002                                Predefine sold-to party in sales document                  
    V45A0001                                Determine alternative materials for product selection      
    SDTRM001                                Reschedule schedule lines without a new ATP check          
    SDAPO001                                Activating Sourcing Subitem Quantity Propagation                                                                               
    Business Add-in                                                                               
    BADI_SD_SCH_GETWAGFZ                    Scheduling Agreement: Read WAGFZ from S073                 
    BADI_SD_V46H0001                        SD Customer functions for resource-related billing         
    Regards,
    Shib

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

  • Sales Order creation/ change date for the items

    I have a unique scenario and i need to get a Report for this
    A sales order is created for 4 line items.
    Out of these , for 2 line items a delivery is created. I need the sales order creation date and time  for these 2 items in a custom report
    Now the other 2 items go in to some kind of block- Now these are released by going in the sales order VA02 and after releasing the delivery is created. Again for these two items , i need the sales order change date as after a user goes and changes the sales order to remove the block only then delivery is created for these two items
    Also another scenario is the 2 line items go for back order and when we get stock  at tht time system confirms the stock and then the delivery is created for these. So also for this when this change occured i need to get the date for these 2 line items
    Can any one please suggest how to get this data  from the scenarios?
    I dont want to get the date when the delivery is created as i can get tht from the LIKP table. I need the sales order create and change dates for these.

    You may be aware, any changes to a document will be recorded in CDHDR (for header changes) and CDPOS (for item changes).  You can explore these two tables.
    thanks
    G. Lakshmipathi

  • Regarding UserExit in sales Order creation(VA01), change(VA02)

    *Hi Gurus,*
    we are having one requirement that we have to change User status at item level in sales Order creation(VA01), change(VA02) according to certain condition( condition is if user status at item level is 'SGUC' then we need to get item category and with this item category we have to find new user status from our custom table).
    *So is there any FM or user-exits to set the User Status of the Sales Order Line Item at the time of Order Creation(VA01) or Change sales order(VA02) but before saving.*
    *looking for your inputs.*

    Check,
    In include MV45AFZZ
    Routine USEREXIT_SAVE_DOCUMENT_PREPARE
    In include RV45PFZA
    Check with USEREXIT_SET_STATUS_VBUK ,  USEREXIT_SET_STATUS_VBUP

  • 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

  • Change the  sales order reason for rejection for line item

    Hi,
    i want to change the  sales order reason for rejection for line item.
    iam using bapi_salesorder_change.but i unable to change the sales order.
    if possible please provide me what are the fields necessary  for changing
    sales order reason for rejection for line item.
    Regards,
    Suresh

    This is the standard config to supress printing on the rejected item. Are you using standard programs or customised ?

  • Component Qty Increases during change in Sales order for CONFIGURABLE MATL

    Hi PP Gurus,
              I have setup a configurable material with a bom that has component quantities is computed by entering the characteristic values (length, width, thickness) in the SALES ORDER creation. When the go back to the sales order (VA02), and I change ONE CHARACTERISTIC value,  the component quantity changes as expected. However, when I select the header material then click the configuration icon to see the characteristic value and press back after seeing the values, the odd thing is that the component increases by a FACTOR (conversion of cubic inch to Liters, 61.023).
             When I change the setting in the CONFIGURATION PROFILE-> untick "manual change allowed in the sales order,  this STOPS the component quantity from increasing.
            I would really appreciate if someone can help me.
    Thanks,
    Heinrick Palad
    Edited by: Heinrick Palad on Feb 11, 2009 4:32 AM

    Hi Shaik,
        Yes, I have maintained an alternate unit of measure. The base unit of my component is LITERS (IN3) while my issuance unit / sales unit (unit in BOM) is CUBIC INCHES (IN3). It is interesting that the conversion from Liters to cubic inches is 61.023. WhY does it multiply by 61.023 everytime I tick on the CONFIGURATION ICON in the SALES ORDER while Im not changing anything in the CHARACTERISTIC values?..
        It continues to multiply by 61.023 if i repeat on ticking on the CONFIGURATION ICON and going back to SO header view (until it encounters an error, because of a value of quantity too large).
    Thanks,
    Heinrick

  • Interdependent Changes in Sales Orders (CRM -- R/3)

    Dear Sap gurus,
    at my current customer they have implemented warranty complaints in SAP CRM.
    This is a copy of the transaction type CRMC (service complaint)- Type leading transaction category = BUS2000120 (complaints).
    Once the complaint has user status 'closed' this complaint is sent to R/3 for further processing.
    At that moment no changes made in R/3 are replicated back to CRM.
    Note 642944 explains that ou can make changes independent of the system in which you originally created the order. This is called scenario A (compared to scenarios X , Y and Z which are described in oss note 705200 (which are valid for older releases of CRM and R/3). <b>Since we are using CRM 5.0 and R/3 (release 4.7 and one is SAP ECC 6.0) we fall into validity for scenario A.</b>
    You still have a bunch of other related OSS notes such as:
    - 630778: Scenario A: mutual change of sales documents
    - 620139: Scenario A: independent changes in sales documents- R/3
    - 720511: FAQ: Data exchange sales documents (CRM <-> R/3) II
    - 656224: FAQ: Sales documents data exchange (CRM>-> R/3)
    - 642269: Scenario A: mutual change of sales documents - CRM
    - 971782: New Badi for exchanging data from sales document lists
    - 541113: Data exchange scenario for orders (CRM-R/3)
    -490932: Data exchange of sales transactions between CRM & R/3
    <u><b>My question is the following:</b></u>
    Since they speak about sales orders/Sales documents etc all the time, I am wondering if all these notes also would apply in the case of CRM Complaints (CRMC with leading transaction category COMPLAINTS).
    I would like to avoid investigating every single note, if in any case these would not apply to Complaints.
    <b>(Just for the record: the reason why I ask is that for example Product proposal (in the cross selling context) is for example also not supported for Complaints in SAP CRM 5.0, as opposed to Sales orders and Quotations.)</b>
    Thanks for a quick answer for those that already have had experience.
    davy

    To start with I have to describe the actual scenario...(therefore I think Interdependent changes is not valid as Lorna explained already).
    <b>Scenario:</b>
    We are using Complaint management in CRM 5.0. combined with SAP ECC 6.0.
    Now we are not following the standard process flow which is described in:
    http://help.sap.com/saphelp_crm50/helpdata/en/ed/8816f949e90644ada2c210ba2316e0/content.htm
    When Creating a Complaint (CRMC) and adding a unit (individual object/material) at header level, and the spare parts (on item level) we do certain validation checks
    for warranty validity etc.
    On item level we can set the status on either "Accepted" or "rejected"(where we also indicate per item based on code groups if this should be
    - credit memo request
    - free of charge substitute delivery
    After all item statuses are either Accepted or rejected, the user status on header level automatically changes to 'immediate settlement'.
    When this is the case we can manually set the user status to closed on header level.
    At this very moment replication takes place in the form that a Sales Order is created in R/3 with either a credit memo request and/or
    a Free of charge delivery. (these have the same item category as in SAP CRM).
    so far so good. But in this stage no manual changes are possible anymore in the SAP CRM complaint.
    Changes can still be made on Sales order level in R/3 by adding for example another item (spare part).
    <b>My Question now is:</b>
    Suppose a change is made on sales order level (this sales order has the same number as the complain which was originally created in SAP CRM), how can we
    update the Complaint in SAP CRM?
    I first was looking at delta replication for sales documents (described in notes 642944 and 705200) but this is not valid since the actual complaint is not
    replicated to R/3 in the first place.
    The only thing I could think of is making use of some action (profile)...which might for example check if the R/3 sales order with same document number is changed.
    Anyone experience with setting up such a thing or perhaps has another suggestion?
    Thanks in advance
    davy

  • Report on changes to sales orders

    Hi Experts,
    I am looking for a way to report on changes to sales orders, specifically the row shipping date and quantity.
    I can see that the data is apparently in tables ADOC and ADO1 but am having trouble getting useful results. What I need is a report that, for sales orders only and for a date range, shows all changes to row quantities or row shipping dates. The type of output that would be useful is:
    Change date  - document # - row# - Item code - old shipping date - new shipping date - old qty - new qty
    filtered on change date for sales orders only. This seems beyond my preferred option of XL-Reporter and I'm getting lost in the history tables in creating a query.
    Best Regards
    Matthew

    Hi,
    Without doing the query for you, history tables are linked as the "normal" table but with the addition of the LogInstance column. Then the UpdateDate column (from base table ie. ADOC) will tell you when it was changed.
    Your query isn't an easy one... SInce you have to link an instance (ie. LogInstance = 1, which will be the original created object) to all the modified ones.
    Regards,
    Eric

  • Regarding the date of last change in sales order...

    Hi,
    Can anyone help me in the scenario...
    I have to pick the date of last change in sales order...whether it is done on Configuration items ,additional data B or on the ordered quantity...
    the problem is that it has some customized fields that are included in VBAK....
    So i need help regarding this...shud i have to writ a user exit for this....or i hv to do a change in USEREXIT_SAVE_DOCUMENT .
    Plz help me..
    Edited by: Amit Gupta on May 1, 2008 3:02 PM

    VBAK-AEDAT will be updated, evenIf you have your custom fields in Sales Order.
    Regards,
    Naimesh Patel

Maybe you are looking for

  • Lacie External Drive not recognized

    I just unpacked and turned on my new iMac Desktop. Then I plugged in my Lacie Desktop external drive (with all my files, iTunes and iPhoto data) to move all of my files. But the Lacie Drive doesn't show up anywhere on the iMac when plugged in. I've t

  • Can I direct wifi clients from my Express (extending my network) to my Extreme?

    I am currently using an Airport Express to extend my Airport Extreme's network, and I want to know if I can dictate whether or not a device connects to the Extreme or the Express? The reason is that I only need the Express to handle my Apple TV and m

  • Import format and/or digital copy protection issues

    I'm new to the iTunes thing recently purchasing two 3gs iPhones. I have several hundred CD's ripped to FLAC format on a NAS device. When I add the networked folder to my iTunes it seems to read the directory and then add nothing to the library. I hav

  • Signal 11 error in Oracle Reports 6i

    Hi, Im getting "Program terminated by signal 11" error in the log file,when I run a matrix report in Oracle Apps. I can see partial output in the output file. Below is the log file for the report. LGEIL EOE Extension: Version : UNKNOWN - Development

  • 12.02 crash report

    i opened a file, updated text, closed, didn't save and hit this (the file is this 7600 pixels wide) 2008 Mac Pro 8core any clue? Process:         Adobe Photoshop CS5 [298] Path:            /Applications/Adobe Photoshop CS5/Adobe Photoshop CS5.app/Con