10-30-2007 11:18 AM
Hi experts,
Pls send the source code for sales order creation in abap-oo,
thanks
Fazil
10-30-2007 2:42 PM
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