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

Former Member
0 Likes
394

how to pass multiple line item in bapi

example header data

11 34 raja

line ltem

1 10 qty

2...

3..

3..

1 ACCEPTED SOLUTION
Read only

Former Member
3 REPLIES 3
Read only

Former Member
Read only

Former Member
0 Likes
372

Hi,

In the TABLES section you would be having the ITEMS parameter. Create an internal table of tht format & populate it with the Data & pass the same.

Best regards,

Prashant

Read only

Former Member
0 Likes
372

Hi,

You can use the <b>AT NEW</b> command to process the change in header. As the header remains same for all the line items you can see the start of a new(legacy order) order here.

You can use the <b>AT END OF</b> command to <b>commit the order</b> in SAP. Once this is trigerred the order would be created in SAP.

In between the AT NEW and AT END OF you can use the processing for the line items.

Hope this solves your query.

Reward points if useful.

Thanks,

Tej..