Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_SALESORDER_CREATEFROMDAT1

Former Member
0 Likes
532

hi

while using bapi BAPI_SALESORDER_CREATEFROMDAT1 i m getting error as

'please enter sold-to-party or ship-to-party ', what may be the reason.

thanks in advance

4 REPLIES 4
Read only

Former Member
0 Likes
492

Pass the ORDER_PARTNERS Table.

Albert

Read only

0 Likes
492

hi

yes it was passed. here we have to pass ship-to-party and sold-to-party or any one is enough.

Read only

0 Likes
492

Hi Prabhakar,

Sold-to is enough. Ship to will be set to same partner as sold-to if you do not pass it.

If ship-to is different from sold-to you will need to pass it.

Regards,

Frank Umans

Read only

Former Member
0 Likes
492

pass data to table ORDER_PARTNERS .

ORDER_PARTNERS-PARTN_ROLE = BP (bill to party) or SP(ship to party) or VN(Vendor)

ORDER_PARTNERS-PARTN_NUMB = Partner Number.

if ship-to-party is diff. add one more record with role as 'SP'.

and append it to structure ORDER_PARTNERS .