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_CREATEFROMDAT2 receiving location field

Former Member
0 Likes
660

Dear all,

We are creating sales orders using BAPI_SALESORDER_CREATEFROMDAT1 and BAPI_SALESORDER_CREATEFROMDAT2 but we cannot find where to enter "receiving location" data in these BAPIs. Can anyone give us an idea which filed shall we use for it ? Is there any technical document that explains the field instructions abouth these BAPIs ? Thanks in advance.

Rgds.

1 ACCEPTED SOLUTION
Read only

b_deterd2
Active Contributor
0 Likes
568

Hi,

It can well be that there is no field 'receiving location'. There is however a partner role ship-to-party (partner role WE) which you can fill with the right address data . Perhaps this can be of help to you.

Regards,

Bert

4 REPLIES 4
Read only

b_deterd2
Active Contributor
0 Likes
569

Hi,

It can well be that there is no field 'receiving location'. There is however a partner role ship-to-party (partner role WE) which you can fill with the right address data . Perhaps this can be of help to you.

Regards,

Bert

Read only

Former Member
0 Likes
568

Thanks for your comment Bert. However we couldn't find the field for "receiving location" with partner table of BAPI_SALESORDER_CREATEFROMDAT2 . So creating a shipto party is not helping us.

Read only

P507709
Participant
0 Likes
568

hi,

u can see this BAPI FM rather than crateform 2.

FM:BAPI_SALESORDER_CREATEFROMDAT1 u will find ship-to-party under export .

Read only

Former Member
0 Likes
568

Dear all thanks for your comments however our problem is not "how to define ship-to-party". Our problem is "how to define receiving point with ship-to-party". For example there is a field named UNLOAD_PT in ORDER_PARTNERS of BAPI_SALESORDER_CREATEFROMDAT1 and the value we populated here directly goes to the "Unloading point" field of the sales order created. Just like this one we are searching for a field in this BAPI for defining "Receiving Point" in the created sales order.

Rgds.