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: 

Reg:BAPI

Former Member
0 Kudos

Hi All,

Can any give me the differences between the following BAPI's

BAPI_SALESORDER_CREATEFROMDAT1

BAPI_SALESORDER_CREATEFROMDAT2

BAPI_SALESORDER_CREATEFROMDATA

BAPI_SALESDOCU_CREATEWITHDIA

Its a bit urgent.Useful answers will be awarded points

Thanks,

Ravee...

1 REPLY 1

valter_oliveira
Active Contributor
0 Kudos

Hello there.

As far as I know, you should use BAPI_SALESORDER_CREATEFROMDAT2 because the first two versions of bapi are obsolete (BAPI_SALESORDER_CREATEFROMDATA since 40A and BAPI_SALESORDER_CREATEFROMDAT1 since 46C).

So, use BAPI_SALESORDER_CREATEFROMDAT2 to create sales order in the system.

The last one, BAPI_SALESDOCU_CREATEWITHDIA, creates data container with dialog.

For additional info, check tcode BAPI->Sales and Distribution->Sales->Sales Order.

Regards.

Valter Oliveira.