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

problem on BAPI_SALESOREDR_CREATEFROMDAT2

Former Member
0 Likes
444

hi,

i am tring to create a sales order through BAPI_SALESOREDR_CREATEFROMDAT2 but i am getting an error as specify ship-to-party or sold-to-party.

thanks in advance

basha

1 ACCEPTED SOLUTION
Read only

shishupalreddy
Active Contributor
0 Likes
419

Hi,

ORDER_PARTNERS LIKE BAPIPARNR

U will find above table parameter in that in which u need to populate the partner function and partner number that may be ship to or sold to depends on partner function

pass it and try

regards

4 REPLIES 4
Read only

shishupalreddy
Active Contributor
0 Likes
420

Hi,

ORDER_PARTNERS LIKE BAPIPARNR

U will find above table parameter in that in which u need to populate the partner function and partner number that may be ship to or sold to depends on partner function

pass it and try

regards

Read only

Former Member
0 Likes
419

thank for ur kind information.

Read only

Former Member
0 Likes
419

expert,

i tried this in tcode: se37 sales document has been creted for given parameters but i got message as sales document not yet updated edit.

but it is giving sales document number 12223, i tried with tihs no in va03 but i am getting an error as not archeived.

please reply me soon.

Read only

0 Likes
419

pls execute BAPI_TRANSACTION_COMMIT along with BAPI_SALESOREDR_CREATEFROMDAT2

go to Function Module -> test -> test sequence

and specify BAPI_SALESORDER_CREATEFROMDAT2 and then BAPI_TRANSACTION_COMMIT and then execute.