Skip to Content
0
Aug 21, 2020 at 04:04 AM

API_PRODUCT_AVAILY_INFO_BASIC Payload error in SAP S/4HANA Cloud In-App Extensibility

142 Views

Dear Experts, I am using APIAPI_PRODUCT_AVAILY_INFO_BASIC ( Batch Request ) using GET call to read CalculateAvailabilityTimeseries data in CBO BADI. Ex: GET CalculateAvailabilityTimeseries?ATPCheckingRule='A'&Material='001000000999'&SupplyingPlant='0900' I am able to run for multiple material using Postman, but in CBO I am trying to create payload before the POST call, but it is giving 403 error. Please note that I amfetching the CSRF token before POST operation. I used the below payload in Postman --batch_mybatch Content-Type: application/http Content-Transfer-Encoding: binary GET CalculateAvailabilityTimeseries?ATPCheckingRule='A'&Material='001000000999'&SupplyingPlant='0900' HTTP/1.1 Content-Type: application/json --batch_mybatch Content-Type: application/http Content-Transfer-Encoding: binary GET CalculateAvailabilityTimeseries?ATPCheckingRule='A'&Material='001000000998'&SupplyingPlant='0900' HTTP/1.1 Content-Type: application/json --batch_mybatch-- i need to design the same payload in CBO BADI for POST call. Thanks in Advance.