SAP Knowledge Base Article - Public

3776950 - How to use batch request of API_PRODUCT_AVAILY_INFO_BASIC

Symptom

You want to use the batch request functionality of API_PRODUCT_AVAILY_INFO_BASIC, but you are unsure of the correct format for the payload.

Environment

SAP S/4HANA Cloud Public Edition

 

Resolution

Refer to below example payload and URL:

URL: /sap/opu/odata/SAP/API_PRODUCT_AVAIL_INFO_BASIC/$batch

Content-Type: multipart/mixed; boundary=batch

Payload:

--batch
Content-Type: application/http
Content-Transfer-Encoding: binary

(There must be a blank line here)

GET DetermineAvailabilityAt?SupplyingPlant='1010'&Material='TG-DATP4'&ATPCheckingRule='A'&RequestedUTCDateTime=datetimeoffset'2026-7-6T17:00:00Z' HTTP/1.1

(There must be two blank lines here)

--batch
Content-Type: application/http
Content-Transfer-Encoding: binary

(There must be a blank line here)

GET DetermineAvailabilityAt?SupplyingPlant='1010'&Material='TG-DATP2'&ATPCheckingRule='A'&RequestedUTCDateTime=datetimeoffset'2026-7-6T17:00:00Z' HTTP/1.1

(There must be two blank lines here)

--batch--

Keywords

api_product_availy_info_basic, odata v2, $batch, multipart/mixed, determineavailabilityat, atp, product availability, batch request, multiple sub-requests , KBA , CA-ATP-PAC-2CL , ATP: Product Availability Check (Public Cloud) , How To

Product

SAP S/4HANA Cloud Public Edition all versions