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

How to create sales order with multiple line items by using BAPI

Former Member
0 Likes
1,881

Hi All,

How to create Sales Order with multiple line items by using BAPI_SALESORDER_CREATEFROMDAT2.

Should all the line items in a single row of the excel sheet ?

Please provide me with the program code for this BAPI.

Thanks in Advance.

Hi All,

How to create Sales Order with multiple line items by using BAPI_SALESORDER_CREATEFROMDAT2.

Should all the line items in a single row of the excel sheet ?

Please provide me with the program code for this BAPI.

Thanks in Advance.

4 REPLIES 4
Read only

Former Member
0 Likes
1,113

Hi Micky

Firstl you should upload the Line items for a particular sales Order in an Internal table

and then pass that internal table to your BAPI during your coding corresponding to a particu;lar sales order

In case of any issues pls revert back

Reward points if helpful

Regards

Hitesh

Read only

0 Likes
1,113

Dear Hitesh,

How to pass the 3 line items from the internal table to the BAPI's Item table ?

Please reply ASAP.

Read only

amit_khare
Active Contributor
0 Likes
1,113

Refer the link -

Regards,

Amit

Reward all helpful replies.

Read only

Former Member
0 Likes
1,113

Hi mickey,

BAPILINEITEMS is an internal table only...

So you can pass the multipleitems to the internal table....

Also you can get the data as a multiple lines while uploading for the excel sheet.

So this should be solving a problem...

Please reward if it helps..

regards,

Brijesh Patel