Symptom
The DeliveryDate field of inbound/outbound delivery returns null in the API response when the time is removed from field 'Delivery Date' in delivery header, even though the date remains valid.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Remove time of field 'Delivery Date' in inbound/outbound delivery header.
- Query the delivery via API (for example, using API_INBOUND_DELIVERY_SRV or API_OUTBOUND_DELIVERY_SRV) and observe that DeliveryDate is null in the response.
Cause
The OData service exposes a combined timestamp (Edm.DateTime) derived from separate database fields for date and time. If the time field is blank, the framework cannot form a valid timestamp, so the computed DeliveryDate is initial and the API returns null. This is expected, by-design behavior.
Resolution
If time is not needed for the business process, set a default non-empty time value instead of deleting it.
Keywords
deliverydate, inbound delivery, api_inbound_delivery_srv, odata, edm.datetime, null value, delivery time, timestamp, date time, time missing, api response, public cloud, deliverydate null, by design, interface api , KBA , LE-SHP-API-2CL , Interfaces for Delivery Documents (API) (Public Cloud) , Problem
SAP Knowledge Base Article - Public