cancel
Showing results for 
Search instead for 
Did you mean: 

Ship to party in BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Kudos

Hi,

I am using BAPI_SALESORDER_CREATEFROMDAT2 to create sales orders.

I am trying to create an order with a different ship to party than the default one.

I enter its details in the PARTNERS table (PARTNER_ROLE either WE or SH), but still, in the sales order created, the ship to party is equal to the sold to party.

Anybody knows why?

Thanks,

Amit

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

You should do partner determination

Go to the transaction VD01 and see the sold to party

If the sold to party is related to the ship to party you entered it will come

Hope this helps

Bye

N Ganesh

Former Member
0 Kudos

Hi,

Thanks for the quick response.

When creating a sales order using VA01, you can double click on the ship to party, and change its details. That was my goal, can't it be done using the BAPI?

Thanks,

Amit