How to change Ship to party no. in delivery doc. after creating Invoice

Hi,
    Sold to party ( customer code ) 1001473
But by mistake bill was raised ship to party ( customer code ) 1001082 then I changed the ship to party code ( through VA02 )and saved the documents, but still in the invoice it is showing  ship to party address only instead of sold to party.  If any thing possible in the delivery level ( vl02n ) to change the ship to party so that it will possible to change the invoice it self. Kindly confirm so that I will reverse the entry and change the ship to party code in vl02n and I hope it will not any reflect in the  invoice.
Regards
Jibanjyoti

Hi,
First reverse the invoice(Cancel)
Then change partner functions
go to SE16N and  Change table entries
if you want to change in SALES ORDER,then put table VBAK,VBAP
if you want to change in delivery,then put table LIKP, LIPS 
After chages
create invoice again
Note : As I am not tested this due to system unavailability, but as far as my undersatnding it will work
kapil

Similar Messages

  • How to change ship to party'  Transportation zone when create a order ?

    Hi,
       I want to change ship to party'  Transportation zone when create order with VA01 before save.
       what user ecit can be used? I modify the Transportation zone  in the table xvbpa in program MV45AFZZ, but it does work.
       Please help ~
      Thank you~

    Hi,
    Try to use Fm  BAPI_SALESORDER_CHANGE
    in table u can find
    PARTNERS          Communications Fields: SD Document Partner
    PARTNERCHANGES          Partner changes
    and use UPDATEFLAG when  you change

  • Change Ship to Party on outbound delivery

    Hi
    Our customer has a specific requirement changing the ship to party on outbound delivery when it is created (VL01N). The requirement is trading partner order the goods for example 100 qty. When the goods are ready for delivery he will inform to deliver 50 nos to XYZ customer (end user) and ABC customer (end user). So the sales order is created with the trading partner but when delivery is created the first 50 should be for XYZ and the second 50 should be for ABC. In this case there will be two outbound deliveries one with ship to XYZ and other one with ABC ship to.
    When sales order created it has trading partner as ship to now during the delivery creation we need sort of pop us to select the ship to party. I have searched all the possible delivery creation user exits but did not find any on partner function to implement the pop up functionality.
    Note: customer does not want to change the address of ship to on delivery by keeping the original ship to which is copied from sales order
    Please help me with suitable suggestions.

    My ex-company did this customization, and our users are very happy.
    As mentioned by G. Lakshmipathi, change that VOPA setting, untick it.
    Customized  a OB creation t code. You need good abaper for this.
    In selection screen, have something like this.
    Sales Order number
    Item Number (If required)
    Sales Order date
    Sold To party
    Shipping Point
    etc...
    And "Delivery ShipTo Party" example.
    You should have a output screen for user to select which SO item to create OB.
    In your program, use VL01N to create it, then VL02N to change the shipto party to the required as per selection screen.
    You should then have a output screen to capture and display all standard error messages or succcss message.
    Optional: You may like to consider also, in VL02N user exit, control shipto party is grey off by user's ID and not by the customized t-code.

  • BAPI_SALESORDER_CHANGE changing ship-to party

    Hi,
        i want to change ship-to party for sale's order.how to do this using BAPI_SALESORDER_CHANGE.
    thanks in advance.

    pradeep,
    I still see this thread as open.  Please review this code as a more clear solution.
    REPORT  ZR_SANDBOX_PROG.
    data: vb like BAPIVBELN-VBELN.
    data: cl like BAPISDH1X.
    data: rt type table of BAPIRET2 with header line.
    data: rt2 type BAPIRET2.
    data: pt type table of BAPIPARNRC with header line.
    vb = '0000153147'.     " your sales order here
    cl-updateflag = 'U'.
    pt-DOCUMENT = vb.
    pt-ITM_NUMBER = '000000'.  "header line item = 000000
    pt-UPDATEFLAG = 'U'.
    pt-PARTN_ROLE = 'WE'.
    pt-P_NUMB_OLD = '0003300744'.
    pt-P_NUMB_NEW = '0003300074'.
    append pt.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        SALESDOCUMENT               = vb
        ORDER_HEADER_INX            = cl
      TABLES
        RETURN                      = rt
        PARTNERCHANGES              = pt.
    loop at rt.
      write: / rt-MESSAGE.
    endloop.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = 'X'
    IMPORTING
       RETURN        = rt2.
    Reward points accordingly.

  • How to find Ship to party number for a Sale doc.

    Hi,
    Currently, I have a sale doc number with type ZDR (Debit memo request). Could you please let me know how can I get the ship to party number for that document number.
    In General, Could you please show me how to get ship-to party number for a sale doc with all sale doc type ?
    Thanks,

    Hi Krishna,
    Your answer is correct, I just go to table VBPA pass the sale doc number & choose the partner function as ship to party, then I can get the ship-to-party ID.
    Hi Sandipsinh,
    The KUWEV is the customer master data view that is used in standard T-code. However It is not a table, therefore I can't get data from it.
    Hi  senya_1111,
    You know, with a sale order we have only one sold-to-party. However, we can have several corresponding ship-to-partys.
    Moreover, In table VBAK(Sale order header)  we just have sold-to-party not ship-to-party. That means we can get wrong value in case ship-to-party is not the same as sold-to-party.
    Overall, Thank all of you for your opinion.

  • Change Ship to party number for outbound delivery

    Hi guys
    I have a problem 
    We need to change Ship to party number for outbound delivery
    Any suggestions
    Any Table level changes posibility???
    Thanks
    SAP MM

    Hi,
    You cannot change the ship to party in delivery, nor should you change it.
    If you really want to change the SH in delivery, please delete the delivery (after cancelling the picking) and then go to sales order in change mode and then change the ship to party there. After doing this, create the delivery once again with the new SH.
    It is not advisable even through programatically to change SH in delivery. This will have lot of implications in the further processes like PGI, Proof of Delivery and so on.

  • Changing Ship to Party

    Is it possible to change a ship to party once the billing document has been created?
    Thanks and much appreciated.

    Hi Kennedy
    Once you created billing, you cannot change any of the parter function in the billing but certainly you can change the ship to party in sale order both at Header Level and at Item Level, even if you have generated a  billing document.  The changed ship to party will flow ONLY for the subsequent billing.
    Thanks
    G. Lakshmipathi

  • MASTER DATA: HOW TO CHANGE SHIP TO INTO SOLD TO

    Hi Gurus,
    can you please help?
    i need to change a ship to party into a sold to party. can you tell me how to do it?
    thanks
    C.

    Hi,
    If u want to change a SP to SH then use XD07.. to change the a/.c grp..

  • Change Ship-to Party of Sample Line item

    Hi experts,
    Is it possible to change the ship-to party of the sample line item only during runtime, using userexits in transaction VA02? Without changing the ship-to party of the header and other line items.
    Can someone tell me how to do this?
    Points will be rewarded to helpful answers...
    Thanks...

    Hi,
    Check the Below user exit
    V45A0002      Predefine sold-to party in sales document
    Regards
    Sudheer

  • Change Ship-to-party in VL01N

    Dear SAP Gurus,
    My requirement is as follows,
    In the transaction VL01N, shipping point and order number will be given, after pressing enter a pop-up should come asking that "do you want to change the ship-to-party".
    if yes , then the ship-to-party is to be taken from the user and is to be changed in VF02. If no then it should be normally processed .
    How can I do this , please help.
    Thanks and Regards,
    Pavan.

    hi, Thanks for the reply,
    can you tell me which user exit i can use to stop afer pressing enter in VL01n.
    Thanks and Regards,
    Pavan.

  • How to change sold to party in sales order

    Hi
    We have the below requirment of changing sold to party after creation of sales order...
    Below is the scenario
    Once sales order is created,purchase requisition is created autamatically and purchase order is created with reference to the purchase requisition..So when Goods receipt is done,the respective stock is getting reserved for that sales order...
    We wanted to change the sold to party option.
    After creation of purchase order,sold to party option in sales order is display only..
    Can u tell us how to make it changeable...
    Regards
    Sudha

    Hi,
    Why don't you try to make the Partner Function for Sold to Party as Modifible (Don't select Non Modifible) for the Sales Order Header in partner determination determintaion setting in customizing.
    You have to check with the partner determination procedure assigned to your sales order type and check accordingly.
    Reward points if it helps.
    Regards,
    Harsh

  • Changing ship to party address in sales order

    Hi All,
    We have a scenario herein in sales order, the ship to party  address is copied from some other ship to party address. Put simply if the ship to party in sales order 1 is A, the address of A will be copied from ship to party B. The ship to party B is in sales order 2.  The ship to party in sales order 1 will remain A only but the address is copied from B ship to address
    i just need to know where this kind of development must have been done. i.e the include program, exit etc.
    i am trying to see exit  EXIT_SAPLV09A_001, but i could not see it in se38?
    regards
    sachin

    Hi,
    In first place why you want to have such a requirement. Why can't you have the correct address in the Ship to Party master record in the XD01 and assign correct ship to party at the sales order line item, so that correct address flows to the sales order line item.
    Eg:
    Sold to Party A
    Ship to Party A & Ship to Party B (Both are assigned in the Partner tab of Sold to Party A)
    Ship to Party A has Address A & Ship to Party B  has Address B (Ship to Party B was created with Account Group SHIP TO)
    On the sales order line item, change the ship to party to Ship to Party B
    So that you have correct address in the relevant line item.
    As per your requirement, you have to have a Z table to keep the logic between hip to Party & relevant address.
    If not, check below link for all User Exits in SD>
    https://wiki.sdn.sap.com/wiki/display/ERPLO/SDUserexits
    Find a correct one for your requirement.
    Best regards,
    Anupa

  • Need help for customer service management for changing ship to party addres

    Hi All,
    I Have a bapi that will be called from web application craete service notification .
    business requirement is to change the shipping parner details with addition of name that
    will be notify person.I follwed this approach.
    1.Call the BAPI BAPI_SERVNOT_CREATE to create service notification.
    2.Call the BAPI_SERVNOT_SAVE to  save.
    3.BAPI_TRANSACTION_COMMIT
    4. Called function module ADDR_GET to get the address details of the ship to party.
    5.ALL FUNCTION 'ADDR_INSERT'to insert the modified address to sam memory.
    6.CALL FUNCTION 'ADDR_NUMBER_GET' to get the address no that will create a adrnr in sap
    table adrc.
    7.Called function module PM_PARTNER_UPDATE to update parten table that is ihpa.
    8.At last called the function module CALL FUNCTION 'ADDR_MEMORY_SAVE to save the
    address.
    Now the problem is when i open the transaction IW52 to see the notification created it
    has not the changed data but has standard ship to party detail.
    but there is an entry in adrc table for address created but when i see IHPA table the
    adrnr is not assigned to the notification no.
    Information is required thanks

    Hi Venkat
    Go to <b>VA02</b>, change the ship to party as SH02 on top screen itself so that it will be defaulted for all line items.
    Now make changes for rest of the items.
    But ensure that no subsequent document (delivery) is generated for any of the line items for which you are trying to change which is NOT possible.
    Thanks
    G. Lakshmipathi

  • How to change sold to party description

    Hi all,
    I want to change sold to party description to customer in VA11/ VA21/VA01 (sold to party).
    Is there any possibility to change it?
    Please give me solution if it is possible............
    Thanks in advance
    Babu

    Dear Babu,
    There are two ways to change the description of Sold to party:
    1. XD02 / VD02 - Change the Customer description, which would be Master Data change & would effect all Documents.
    2. At time of Sales Order processing (which is what you want): VA01 / VA02 - Double click on Sold-to-party code & you will go to Header - Partner Data - Here once again click on Customer Code of required partner (Sold-to-Party in your case) & make the necessary changes.
    There changes would be applicable only for the particular Sales Order & the Master Data would not be changed.
    Hope this helps...
    Thanks,
    Jignesh Mehta

  • How to associate Ship-To-Party to a Sold-To-Party using BAPI

    I am looking for a BAPI that will allow me to associate existing Ship-To-Party to an existing Sold-To-Party. I tried to search for the BAPI that might do this job but could not find one. Any help is greatly appreciated.
    System: SAP R/3 4.7
    Edited by: Jignesh Jethva on Nov 19, 2009 12:11 AM

    Hi,
    Check table CRMM_BUT_LNK0141 to obtain the sales area of a BP (by BP Guid).
    If you need the sales office and sales group, read GuidSet of that table and check table CRMM_BUT_SET0140 to list the sales office and sales group by that Guid set.
    There are some function modules too:
    CMS_BUPA_ORGDATA_GET_BL among others.
    Regards,
    Susana Messias

Maybe you are looking for