Hi Gurus,
I need some logic to create a sold to party to be created at click of a button.
I have a reference Ship to party and Sold to party number for which new shipto is to be assigned to and the new address of the ship to party.
i know we can use BAPI_BUPA_CREATE_FROM_DATA or BAPI_CUSTOMER_CREATEFROMDATA1 can be used to create a customer.
But are there any BAPIs which adds the newly created customer as a shipto to a given sold to party.
Any help is appreciated.
Regards
Sujan
I think you can use fm SD_CUSTOMER_MAINTAIN_ALL and only pass in the t_xknvp table populated with your new data. Or there is also fm IDOC_INPUT_DEBITOR.
Add a comment