Skip to Content
author's profile photo Former Member
Former Member

Create Sold to Party on fly?

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

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Aug 02, 2006 at 04:00 AM

    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 comment
    10|10000 characters needed characters exceeded