on ‎2019 Nov 26 11:02 AM
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
Request clarification before answering.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please let me know if you found an answer to this question? We are also looking at a similar problem right now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.