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: 

sales order creatio in abap oo

Former Member
0 Kudos

Hi experts,

Pls send the source code for sales order creation in abap-oo,

thanks

Fazil

1 REPLY 1

sreemsft
Contributor
0 Kudos

Hi Fazil,

For creating Sales order you can directly use the BAPI - BAPI_SALESORDER_CREATEFROMDAT2.

And fill the structure which are mandatory and execute the program.

I think there is no other way we generally follow in the OOABAP.

Rather than using Perform.... Form... EndForm... in OOABAP, we will use CLASSES...METHOD.. ENDMETHOD...

Put the BAPI code inside the method and end method of a class...

I think this is the way we code in OOABAP also.

Regards,

Sreekanth