FM for updating Partner details in Sales order

Hi,
Pleaes let me know the FM to update partner functions in sales documents. FM is expected to only update partners and shouldnu2019t update pricing or incompletion or anything else. thanks

Look at function group V09A - Partner processing SD. Also investigate module SD_PARTNER_UPDATE.

Similar Messages

  • Changing the Ship-to partner details in Sales order header through exit

    Hi all,
      I have a requirement where in during the process of the sales order creation, based on certain
      criteria, the details in the ship-to partner would have to be modified.
      These details like the Name, Street, etc would be maintained in a local table and based on the criteria,
      the appropriate record from this table would be fetched and updated to the ship-to partner.
      I was trying to implement this in the MV45AFZZ user exit. However, I was not able to update this through the exit.
      Would I have to somehow update the ADRC table directly through this exit or is there any better method.
      Please suggest.
    Regards,
    Sudeep

    Hi,
    If you could not find Street in this Routine call the BAPI BAPI_BUPA_ADDRESS_CHANGE to update Street and required details ..
    Thanks and regards,
    Sree.

  • Table for C form Details in sales order

    Hi Experts,
    what is the table for details of C, H, I, etc forms against sales order.
    Thanks,
    Anu

    Hi
    yes i checked by step no. but step of this value in not available in KONV
    like ZDCM is on 125 step value available and JASS is on 170 value is available but
    NET EX MILL PRICE is on 160 and this 160 step is not available.
    Regards
    Abhi

  • User exit for updating delivery block of Sales order before Delivery

    Hi  Folks,
    Need to have an user exit for updating Delivery Block indicator for a Sales order Before creating its delivery
    I have got an exit in Program SAPMV45A
    MV50AFZ1
    FORM USEREXIT_REFRESH_DOCUMENT.
    that hits before processing the delivery block fro delivery (Correct me if i m wrong with this )
    Now i want now how to change the Delivery Block indicator of Sales order in that exit
    any FM available ?
    Thanks n regards
    Sonal...

    Hi  ,
    How did you solved this issue?
    I am having similar scenario in which while pressing the save button  delivery block should update if multiple schedule line exist.
    Tried by two different approaches in various user exit without any success.
    AFAIK we have two ways to achieve this functionality.
    1) Count the no of rows in vbep. If greater than 1 then multiple schedule line exist and we can assign the value to VBAK-LIFSK(delivery block) as per our requirement.
    This is not correct. If there are two line items both with single schedule line . This case total no lines in vbep will 2 and above condition will true which is incorrect.
    2) There is a indicator for multiple schedule line (VBAPD-EPMEH , xvbap-epmeh ) if it is check then multiple schedule line exist and we can assign the value to VBAK-LIFSK(delivery block) as per our requirement.
    If I write code in USEREXIT_SAVE_DOCUMENT_PREPARE.
    Multiple schedule line indicator is not populate so can not use 2nd approach.
    If I write code in  USEREXIT_SAVE_DOCUMENT it of no use as vbak is updated before reaching this user exit.
    If I write code in USEREXIT_MOVE_FIELD_TO_VBAK as this user exit is also called while pressing the enter key for this I have use
    the condition of fcode but it also fails in some condition.
    If fcode eq 'SICH'.
    Read table xvbap with key epmeh = 'X'.
    IF SY-SUBRC = 0.
    VBAK-LIFSK = '03'.
    Else.
    VBAK-LIFSK = ' '.
    Endif.
    Endif.
    Please help me to get the desired functionality working for all cases.
    1) One line item with multiple schedule line                                              
    2) Two line item with multiple schedule line                                             
    3) One line item having one schedule line and second one having multiple
    4)Two line item both with single schedule line.

  • Updating email address in Sales order header partner address -VA01/VA02

    I got the requirement to update the email address in Sales order-> header-> partner address.
    The mail address will be picked from ZTABLE and updated in header partner address through user exit
    I cannot find any field for updating email address in partner address in user exit "MV45AFZZ"
    Is there any other user exit/option to update email address in header partner address of sales order?
    Thank You,
    GM

    Hi Rajesh,
    I agree with you but this Scenario is different.
    Just as you have mentioned the address change will not reflect in the Old Sales orders but it should in the new Sales orders right??
    But that is not happening..The Address was changed say two months back and the new address is not appearing in the Sales orders created these days say yesterday or today..
    In such a case,what is should I check to get the address updated??
    Please advice.
    Regards,
    Sophia Xavier

  • Query for details of  Sale order , Invoice and COGS

    I Need the report cointing following based on month & Business partner
    Sale order, Sale Amount, Due date, Invoice Amount, Last Invoice date, COGS amount

    Hi Anantha,
    Please check below link and modify according to your requirement.
    Sales Order Query for  in SAP B1
    Query - Sales Orders linked to Deliveries
    My Top SQL Queries for SAP Business One
    Hope this helps
    Regards::::
    Atul Chakraborty

  • 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

  • Multiple bill to partner function in sales order

    How can a partner function be setup that it can appear more than once in a sales order ? 
    Need to make a sales orders with more than one "bill to partner".  When I add the same partner function with another customer in the header of the sales order I get error message VPD012  :  "partner function ZX can only occur 1 times in procedure ZEXP (sales document header) .
    I searched OSS,  and debugged for a while to try to find where that "1" is coming from. 
    In function SD_PCHECK_PARVW_COUNT_OK,  a counter is set to "1" based on the field TPAER-PAREI (line 86).  Allthough the flag "unique" is not set in partner function ZX, I get this error.
    Some further in the function, there is the comment :
    102     *     currently uniqueness of a partner is mandatory in sales docs, so
    103     *     if no CAS-Doc, partner has to be unique if not AA or AW
    Perhaps, in sales orders it is not at all possible to use multiple partners with the same partner function in sales orders ?
    Anyone having experience with this ?
    Thanks,

    Hi Dries,
    Even after you created your order you can maintain different bill to party.
    Go to VA02 screen
    Enter your order number.Enter.
    Goto item details Partners tab:
    Now all the details are in editable mode.enter your bill to party.Make sure your bill to party is in same sales area and company code as of sold to party.After entering the taxes will be redetermined message will come.
    Enter.
    Save.
    Now You do the same for all other items.
    Regards,
    Mohan.

  • Self Updating Report of Open Sales Orders (Maybe Crystal )

    I want a self updating report of Open Sales Order. I want it to refresh constantly. I know that it could be an alarm but it would be executed every # minutes and dont want to. Any ideas ? I dont know Crystal Reports enough but is it posible ?

    Hi ,
    If I were you , I will not be crazy looking at my sales order in every 1 minutes ..I would train my users to check at least 15 minutes.
    I understand what u are trying to do;you  want that customer will see the latest open SO created ..but 15 minutes is good enough time .
    I think you have to check if database size grows up big time ..so far no report has come to me from my clients for this set up .
    make sure you  are not saving an alert into database
    If you are using multiple alerts , I will atleast monitor my database for a while to see i encounter performance issue ..
    So far for one alert at every 15 minutes ..i think u should be fine ..
    Hope this helps
    Bishal

  • Credit exposure updating even when the sales order is blocked

    Hi,
    We are using FSCM credit management. We observed that the credit exposure is updated even when the sales order is blocked. When we investigated it is found out that SD has removed the requirement 101 in the subsequent functions. The reason is they want the confirmed quantity to be updated even though the order is blocked. This will allow the Material Planning to go ahead and purchase the goods. Is there a way around it where we can have MM see the confirmed quantity in the order and it will not updated the credit exposure?
    Thanks and Regards
    Madhu Vutukuri

    Hi Sravan,
    Please let us know, whether the document is really getting reflected in the blocked documents list for a particular kind of block and you are releasing that particular block in the specified area as we have different areas for releasing blocks. Chances are that in the mean time, the concerned block might have been removed in the system and not updated as it might have been. It will be of great help, if you can provide us with the screenshots of the process followed.
    Regards,
    Aman

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

  • Pricing details of sales order

    Hi SAP GURUs,
    I want to make report of pricing details of sales orders.
    From which table i should get the pricing details. I know tables KONH and KONP...but i dont know how to get details in these tables for perticuler sales order.
    Please help me out ...
    Thanks,
    Tarpan

    Hi Tarpan,
    You can create a pricing report besides standard pricing table by using V/LA t-code. in V/LA, you can add  if which fields are needed for your report.
    Additionally, you need new table and need a new t-code for this report.
    Please explore this t-code and try it. please share further issue for this requirement with us.
    Regards,

  • Can we create two POs for the same 3rd party Sales Order?

    Hi MM experts,
    Issue: Can we create two POs for the same 3rd party Sales Order
    In Third party purchase process, first sales order created with a spl. item category  and it creates the PR automatically with the Sales order material and Qty and this PR converted PO.
    They got a pur.req. for sale order on same item for same delevery date. They did not get any warning msg. saying that a PO was prviously placed against this sale order.
    How it is possible that we were able to place another PO? concern is that second PO was palced against SO which was already used & completed. they were able to place 2 POs for the same customer same delevery date. How it is possible?
    If anyone face the same issue, please let me know if you have any answer to this questions.
    Thanks in advance.
    Suresh.

    Suresh,
    It is hard for me to give you a definitive answer since you have created a customized solution.
    How it is possible that we were able to place another PO? concern is that second PO was palced against SO which was already used & completed. they were able to place 2 POs for the same customer same delevery date. How it is possible?
    Normally, the system will not do this.  A third party PR or PO will be 'account assigned' to the Sales order.  SAP standard 3rd party will not create additional purchase reqs unless there has been manual intervention.  Try searching for changes in the Sales order and changes in the original purchase order.  They may give you a clue.
    I believe the normal Item category for third party SO is TAS (I am working from memory here, I am not in front of a system).  I don't know what ZTAG does.  I confess I am not an SD expert.  You might also want to post your question in an SD forum.
    You mention two custom applications, ZMMPLAN and ZSTPMP.  These somehow have functionality that is used to help you convert your PRs to POs.  If I were in your position, I believe I would also look at these applications for clues to how they might be contributing to your problem.  And please don't send me details about these apps.  I will not comment on custom code in this forum.
    Sorry I can't be of more help.
    Rgds,
    DB49

  • Tables for SD partner details

    hi,
    Can anybody help me to get tables for SD partner details?
    Any useful answer will be rewarded.
    Thanks & Regards
    Naveen

    Hi,
    For order related parnter you can use the table VBPA
    For general customer master you can use the table KNA1
    Thanks
    Naren

  • Update Purchase Requisition from Sales Order

    Hi,
    My requirement is to Update Purchase Requisition from Sales Order based on the Vendor number in
    Purchase Requisition .
    I have used Userexit         :- MV45AFZB
                     Customerexit :- EXIT_SAPFV45E_002
                     BADI             :- ME_REQ_OI_EXT, ME_REQ_POSTED
    for my requirement, but in vain.
    Of these Userexit  MV45AFZB, Customerexit EXIT_SAPFV45E_002, BADI ME_REQ_OI_EXT are getting triggered in Sales order creation but, Purchase requisition is not yet triggered and we dont have the VENDOR value with which i need to do perform some checks and update the Purchase requisition.
    After I SAVE sales order, BADI ME_REQ_POSTED is getting triggered.Here, the purchase requisition is created ( not yet inserted into the database ) .I also have required VENDOR value, but in the given
    BADI ME_REQ_POSTED I can make checks according to my requirement but not able to update the new values into purchase requisition.
    Literally speaking, Iam struck up..Dont know what to do.....
    Please let me know any Userexit/BADI/BTE where I can  Update Purchase Requisition from Sales Order based on the Vendor number in
    Purchase Requisition .
    Thanks,
    Shivaa..

    Hi Max,
    It just struck to me...
    As suggested by you, I thought of calling BAPI BAPI_REQUISITION_CHANGE  from user exit USEREXIT_SAVE_DOCUMENT in MV45AFZZ .
    I f I give PReq no. , BAPI BAPI_REQUISITION_CHANGE  will take the particular PReq no., from database and then change it according to our requirements...
    But, in our scenario I am calling the BAPI BAPI_REQUISITION_CHANGE  and passing a PReq no..which doesnt exist in the d/b itself.....
    Anyways, let me try......
    Meanwhile ,please suggest any other options for resolving the issue in question......

Maybe you are looking for

  • Submission timestamp on PDF form

    How do I add a timestamp to an enabled PDF form? Need to document original date form is submitted/printed

  • Difference between BOXI 3.0 and 3.1 ?

    Hi Friends, We are in the process of upgrading BOXIR2 to BOXI3.0. We had already dowloaded the software, but I recently found that there is another updated version BOXI3.1. Can anybody explain what is the difference between BOXI 3.0&3.1, and we need

  • 3D Plot Properties Axis Format Property update bug

    Tested in LV 2011, Windows XP. If you try to change an axis format property (say Digits of Precision) and switch to another axis using the pull-down list box, the property is not updated, even though it is also not applied to the new axis. In other w

  • How to I find my itunes library? It has disappeared

    Our itunes library has disapppeared off our computer.  How do we regain what we once had?

  • Porting Solaris 10 from Fujitsu to Sun V490

    Hi Does anyone know how to take an existing copy of Solaris (and environment ) running on a Fujitsu box to restore on a Sun V490 Hardware. How can you get this to work ? basically I have a Fujitsu server runnig Solaris 10 and I want to copy everthing