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

Similar Messages

  • 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 exits/BAdIs for Forecast consumption by sales order

    Hello Experts,
    My question here is: When Sales Order either new or change comes from ECC to APO, what are key fields considered for Forecast Consumption? Is requirements strategy is considered from location product master or Sales Order brings own data from ECC into it's own structure? I have read from SAP help or documentation that Sales Order coming from ECC does not use requirement strategy from Product Master. Rather it get its own fields like planning strategy/group / requirement class from ECC. It uses location product master only to get consumption parameters like forward/back word consumption days. So I am thinking to use some user exits or BAdIs to enhance the incoming sales orders to consume separate forecast categories in APO.
    My requirement is:
    For the same one product we want sales orders (can have two different order types or identify by a custom field) to consume two different order categories (ie. FA & FC) by enhancing incoming sales orders. So we have regular 1)Forecast key figure which is 'FA' category and 2)Forecast Additional key figure which is FC category. When we release two separate forecasts from DP we release into these two key figures and categories. Now we want incomping sales orders to consume these two categories separately when our sales orders are having two different order types (i.e OR and ZR).
    I want to kow what way we can acomplish this? Are there any user exits or BAdIs for this purpose?
    I looked arount BAdI /SAPAPO/DM_BADI_CSP and I am not quite sure it's going to help. Are there any others?
    I appreciate if anybody explain me the process?
    Thanks in advance!
    Raj

    Standard Logic --- Whatever plant is visible in the Sales Order, the sales order will appear under that Product Location in SNP
    There is no standard way of making the sales order visible in another location.
    Depending on your requirement(Ex: Forecast Consumption, planning etc),using APO-BW we can simulate the requirements in the other plant which can be a nightly run and not immediate.
    Now coming to your question, if the delivering plant is A, how does ECC Delivery document know when the sales order has plant B that the delivering plant is A.
    Can you be more specific.
    THanks
    Kumar

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

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

  • User exit or BADI for business area in sales order

    Hi,
    At present the business area in the sales order is greyed.i want to remove the greyed field and put some input value to the  business area  when a new sales order is created....
    Please suggest the user exits or BADIS
    Kanishak
    Edited by: Kanishak Gupta on Feb 4, 2010 1:06 PM

    Hi Kanishak
    You can use userexit userexit_cobl_send_header
    If you overule the settings, you will be able to enter business area ( GSBER )
    Also, try out:
    userexit_cobl_receive_vbak to transfer the screen value entered by the user back to vbak-gsber.
    If item level is also necessary you also need :
    userexit_cobl_send_item
    userexit_cobl_receive_vbap
    Hope this helps.
    Harsh

  • Partner selection at sales order entry: ship-to's flagged for deletion

    Hi All,
    I need some inputs for the following issue.
    For Partner selection at sales order entry level: ship-to's flagged for deletion are also proposed as it is entered in customer master. I dont want to delete the ship-to's marked for deletion in the customer master.
    In short - only the ship-to's that are not marked for deletion should get populated.
    Kindly suggest if there is an userexit for the same.
    Regards
    KCB

    Hi,
    You can try Blocking option for the particular Ship to Party.
    But this will not disable it appearing in the Partner Function Selection Pop up.
    Once you block it; though it appear in the selection pop up, you cannot select & proceed, as it gives a error message.
    You can set this block in 2 ways.
    1 - Tx: XD05
    Go to the Tx give the customer number, sales area & Pres enter.
    There you can set different type of blocks depend on your scenario.
    Save
    2 - Tx: XD02
    Go to TX, Give the Customer number (Ship to Party) & go in. Since you have marked him as a delete, you'll get a warning message there too.
    Select Menu option -> Extras -> Blocking Data
    You'll coime to the same screen as above.
    Maintain relevant blocks & Save
    Check whether it satisfy your requirement.
    Best regards,
    Anupa

  • Partner determination functions are not determine in sales order

    Dear Sap Gurus,
    I have made a new partner function (P2) and have been configure it in partner determination procedure, although i hv made new customer master for the same account group. All th partner function are showing in the customer master data but these are not determine in sales order, one error is coming...this partner procedure is not defined.......kindly give me advide how to resolve this problem.
    Regards
    Parul Deshwal

    Hi
    Have you assigned the Partner determination procedure to your sales document type?
    Also have you assigned the Partner function to your Partner determination procedure.
    Also do the same to the sales order item partner determination
    regards
    Prashanth

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

  • COGS determination for Free of cost sales order

    Hi All,
    We have an issue regarding the COGS determination for Free of cost sales order. We created a free of cost sales order. But i need to know whether this sales order items will hit to COGS or not? If so how do i check whetehr its has been charged to COGS or not? and we have an issue raised saying thst one material in this sales order has not being charged to COGS. So please help me to solve this issue. Ihave checked the account assignment in GBB-VAX. And is there anyting to do with the settlement profile for COGS determination?.
    Thanks and regards
    Uday

    Hi,
    During PGI a material document and accounting doc gets created which would hit COGS account.
    You're talking about one specific sales order in which for one material it didn't hit COGS account or any order you're creating now with that material has an issue? If its a specific material which has an issue always..then something is wrong with that material master setup. Also you can go to the reported Sales order--doc flow to the PGI document and check the accounting doc and if its not posted..check the analysis why its not posted?
    And if its one off then I would suggest 2 options:
    1) Reverse the goods movement, cancel the delivery or if billing has already been done..cancel the billing as well. And re-do the cycle. This always ensures correct posting.--> Recommended option.
    2) Manual adjustment in FI.
    And settlement profile is Controlling concept..not sure you would get any help on this in this forum.
    Regards
    RS

  • 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

  • Clearing the the street,Postal code and city in partner tab at sales order

    Hi Experts,
    I have a requirement like in sales order header or Item, In partners tab, when they are selecting the particular partner function like CR and the customer number is 500, and if they press enter then automaticaly it fetches the name,street,postal code and city at the right side for that entry. My requirement is like for particular customer 700, they want to hide the customer address in that Partner tab while sales order creation VA01. If they select the partner function CR and customer 700, after pressing enter, it shouldn't fetch the automatic address of that customer. They just want the customer name and remaining fields like street,postal code,city should be blank.
    Can you please let me know how to reach this requirement ate sales order creation or change level in partner function tab.
    I test these exits EXIT_SAPLV09A_001 to EXIT_SAPLV09A_004 but no use. Let me know possible ways to achieve this?
    Any idea on these?
    Thanks in advance ,
    Edited by: dolly B on Jan 18, 2010 11:36 AM

    Hi,
    This is happening because you have not maintained your data in sales order.
    Billing document takes the reference of order and delivery document for taking the data.
    Now if you donu2019t maintain your partner function in order nor in delivery then it wont be determine in billing document.
    If you want ZZ to shown in billing document then you have to make that function visible in sales order.
    While creating sales order it will take it from customer master data but when you are creating billing it wont search in customer master data it will search in sales order only.
    You can do one thing make that function non modifiable in partner determination procedure.
    So it cant be change in sales order.
    But I want to know why you want that should not be visible in sales order.
    Hope so I will be correct with my explanation.
    Regards
    Raj.

  • Route determination during sales order creation!

    Hello all,
    I am having a problem with route determination in sales order. The issue is when I remove delivery block (LIFSK) on the sales order and select 'under minimun' in orther reason (AUGRU)field, the route is not getting determined when the partner at the header level is changed.
    When if there is a delivery block and other reason is empy, the route is correctly determined when the partner (intermediate consignee) is changed.
    Why is it behaving this way? Any siggestions?
    Thanks,
    Message was edited by:
            Naren Somen

    Hello all,
    Looks like if there is credit block for a customer, the sales order is not getting updated. Is there anyway to get around this?
    Thanks,

  • Storage location determination at Sales Order

    Dear All,
    Could we storage location determine at sales order level ?
    As per my requirement. Stock is available a particular plant example below
    Plant
    Storage Loc
    Stock Available
    Batch
    1305
    1300
    10
    1000190
    1305
    1300
    10
    1000890
    Got order from customer is 15 Quantities and the sale order is confirmed because stock is available but at the time of delivery storage location is determined on the particular material so batch is picked automatically on base quantity other other is showing open. So could u plz give me solution for storage location determination on sales order level.
    Thank You!
    Chakradhara

    Being an old member of the forum,  I dont want to highlight the importance of adhering to forum rules.  This topic has been discussed many times here and if you search in SCN or Google it, you would accept this has been discussed many times.  Please adhere to forum rules and avoid posting such repeated queries.
    G. Lakshmipathi

  • Alternative Free Good determination in Sales order

    Dear Gurus,
    We activated Free Goods determination. We are maintaining condition records in Tcode VBN1. We are creating the condition records using the fields Sales org, Distribution Channel and Sales Office.  Condition record specifies the free good material and its quantity for main material with specified quantity. As of now,  It is working fine and it is picking up the free good material correctly at Sales order if we create line item for main material.
    As per the new requirement, if the free good material is not available in the stock, it should pick up other alternative free good material for the main material.  Mean to say, we want to configure free good determination where we will specify two free good materials  for one  main material, then system will pick up one of the free good materials for main material in Sales order.
    Ex:  Main material : A
         1st Free good material :  F1
         2nd Free good material :  F2
    If the stock for F1 free good material is not available then system should pick up F2 free good material automatically.
    I have tried to map the another Free good material for main material in the same condition record, but system is not accepting to proceed further.
    Kindly suggest what I need to do, what configuration is required. Please provide your valuable inputs.
    Thanks
    Chandra Mouli

    FYI - Neel & Chandra Mouli
    Substitution strategy in Material Substitution: Reason (TCode OVRQ ) controls whether product selection should occur automatically in the background or whether the alternative materials should be offered for selection in a dialog box. So, this product selection in the background is performed on the basis of the availability check.
    The substitution reasons are entered in the master records for material determination.
    Kindly test & share your feedback.
    Thanks & Regards
    JP

Maybe you are looking for

  • How to reset Windows 7/Vista/XP/2000 password if you forgot or lost windows

    How to reset Windows 7/Vista/XP/2000 password if you forgot or lost windows password It is truly very often for us to meet the password problem, sometimes we would forgot windows password or lost windows password, and could not login windows system a

  • Problem installing Itunes on my windows pc

    I get an error that says could not access network location %PUBLIC%\desktop\ The loading file is visible on the desktop and we can't figure out how to get it to install itunes.

  • Digital audio streaming from Nano

    I own a 2nd and 6th gen iPod Nano.  Is there a way to stream ditgital audio content from the Nano bypassing it's internal DAC?  I'd like to deliver the digital signal directly to my Audio system and allow it do the digital to analog conversion.  Than

  • Issue with bodog website

    I have a verizon 8330 curve and my verison is 4.5.0.175. I'm having an issue with https://sports.bodog.com/. I can log in and get all the way to where I click on "Review My Bet." I click the button and it goes nowhere. It acts like I haven't clicked

  • Ordering a non-database block....

    Hi , Is it possible to order and how a non-database block according to user's willing...???? Thanks , a lot Simon