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

Which BAPI to be used?

Former Member
0 Likes
959

Hi

I am little confused with duplicate BAPIs.

For example, PurchaseRequisition has two BAPIs for creating a record -->

     CreateFromData = "bapi_requisition_create" and

     CreateFromData1 ="bapi_pr_create"

It is the case for few other Business objects. And these "new" BAPIs are titled additionally as "Enjoy ......" in some cases.

When i look at version info, it indicates that the new BAPI (ending with 1) are from latest versions.

Can someone throw light on which BAPIs should be used in which case?

Thanks, Ram

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
882

Hi 

Ganapathi Ram ,

The latest versions of BAPI include much enhanced features and capabilities of the functionalaties.

As per my knowledge it is recommended to use the BAPI which is latest version. Because it can meet the recent updated functionalities. Even though CreateFromData and

CreateFromData1 does similar functionality , CreateFormData1 has additional capability .

Hope this helps

Hi

I am little confused with duplicate BAPIs.

For example, PurchaseRequisition has two BAPIs for creating a record -->

     CreateFromData = "bapi_requisition_create" and

     CreateFromData1 ="bapi_pr_create"

It is the case for few other Business objects. And these "new" BAPIs are titled additionally as "Enjoy ......" in some cases.

When i look at version info, it indicates that the new BAPI (ending with 1) are from latest versions.

Can someone throw light on which BAPIs should be used in which case?

Thanks, Ram

3 REPLIES 3
Read only

Former Member
0 Likes
882

Hi,

If you find th eDuplicate  BAPI check the Release  Version and use accordingly.

1. Create from data

2. Create from Data1

Thanks

Pavan.N

Read only

Former Member
0 Likes
883

Hi 

Ganapathi Ram ,

The latest versions of BAPI include much enhanced features and capabilities of the functionalaties.

As per my knowledge it is recommended to use the BAPI which is latest version. Because it can meet the recent updated functionalities. Even though CreateFromData and

CreateFromData1 does similar functionality , CreateFormData1 has additional capability .

Hope this helps

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
882

Basically As SAP is also evolving like Enjoy transactions are coming same way these BAPI are also getting adapted. Reagrding your question related to

CreateFromData = "bapi_requisition_create" and 

     CreateFromData1 ="bapi_pr_create"  I have used both of them and found that one of the BAPI trigger implicit commit.