2011 Dec 04 4:44 AM
Hi abapers,
i have spent a lot of time searching for a solution to my requirement and i have not found yet.
My requirement is that i want to change field VBPA-ADRNR with an existing one for a particular sale order for partner role RE.
I tried with BAPI_SALESORDER_CHANGE but it creates a new address number every time.
If there is no standard SAP function, it is advisable to manually change value of this field using SQL statement UPDATE from a ABAP program?
Thank you.
2011 Dec 04 4:56 AM
2011 Dec 04 4:59 PM
that discusion doesn't help me so much.
yes, USEREXIT_SAVE_DOCUMENT it's an option but this is not so usefull for me because a lots of sales order are created yet.
Anyone? any idea?
2011 Dec 04 6:40 PM
Technically speaking, you shouldn't update address number field in partner table (VBPA) directly.
What do you want to do? If you want to change the Bill-to party adress, just change the Bill-to party customer number, with the proper customer number which has the address you want to display.
If the address you want to change is only for printing purposes, it's better to determine the address number in Smartforms/SAPscript with some programming logic, but leaving the sales document unchanged.
Regards
2011 Dec 05 5:05 PM
customer is one time account.
because it's one time account, sap split billings. that's why i want to update all the VBPA-ADRNR to all sale order to be the same.
2011 Dec 05 5:57 AM
2012 Jun 07 11:20 AM
Hello Dan,
Please update thread with solution you adopted to resolve issue.
I have similar issue and looking for best suitable answer.
Regards,
Dhanraj