cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello,

On ECC, we used BAPI's for creating/updating... SAP objects in ABAP.

For example, in order to create a purchase order, it would be recommanded to use BAPI_PO_CREATE1.

In S/4 HANA, SAP has created lots of standards API's. Theses API's are based on oData protocol and I understand that this is the recommanded way to update SAP objects. Of course, in ABAP, it wouldn't make any sense to call an HTTP request to create a purchase order, but, if we look inside the implementation of the API of purchase orders, we can find an interesting class :

CL_MM_PUR_PO_PROCESS_API

Question : Should we now use these kind of API class instead of classical BAPI's for updating SAP objects in ABAP ?

Thank you,

Louis-Arnaud

View Entire Topic
matt
Active Contributor
0 Likes

I think if you're on the ABAP stack, then you should use the BAPIs. However, it is a useful tip that s4hana has these apis - because if there isn't a BAPI, it'd be a good alternative!