Application Development 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: 

Create the Sales order Using BAPI BAPI_SALESORDER_CREATEFROMDAT2

0 Kudos
194

Hi All,

I have a Doubt.

I m creating a program to create the sales order using txt file.

I m using the Bapi BAPI_SALESORDER_CREATEFROMDAT2

In the file I have a column that is Customer and other that is material ( for Item).

We have differents rows for diferents materials but the same customer.

Program create one Sales order per row.

I need that the program agroup all rows that have the same customer an create only one Sales orders but with differents Item. ( Differents materials).

How can I write this in ABAP code?.

Many Thanks

Best Regards.

0 REPLIES 0