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

Reg:BAPI

Former Member
0 Likes
413

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
Read only

valter_oliveira
Active Contributor
0 Likes
369

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.