Hello experts,
I have a requirement to build a fiori application where user will upload excel file containing purchase orders and we need to post supplier confirmation after some initial validations.
I have done one POC to consume api API_SUPPLIERCONFIRMATION to post supplier confirmation in RAP action and it is working fine. I wanted to know whether it is a recommended approach to consume released api from ABAP as it introduces a http overhead? If we cannot find any released BO then can we go with calling released api from ABAP?
Thank you in advance for your support.
Imteyaz
Request clarification before answering.
Hello @md_alam
For an ABAP Cloud/RAP application, the recommended approach is to use a released API/business object whenever available instead of calling the OData API via HTTP from ABAP.
Use a released RAP BO/API if SAP provides one for Supplier Confirmation.
Calling API_SUPPLIERCONFIRMATION via HTTP from ABAP works but introduces network/HTTP overhead, authentication handling, and additional error management.
If no released BO or API is available in ABAP Cloud, consuming the released OData API (API_SUPPLIERCONFIRMATION) is the supported fallback approach.
For mass processing from Excel uploads, validate the data first and then process confirmations in batches to optimize performance.
Recommendation,
Check whether a released BO/API exists for Supplier Confirmation in your S/4HANA release.
If not available, use the released API_SUPPLIERCONFIRMATION OData service from RAP/ABAP.
The HTTP overhead is generally acceptable unless you are processing very high volumes.
Thanks,
Sravan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 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.