SAP Knowledge Base Article - Preview

3705195 - "Resource not found for the segment 'to_Item'" when using Outbound Delivery (A2X) API in SAP S/4HANA Cloud Public Edition

Symptom

When using the Outbound Delivery (A2X) API API_OUTBOUND_DELIVERY_SRV to retrieve outbound delivery data, the request fails with HTTP status code 404 – Not Found.

For example, when executing a request containing an $expand parameter:

GET <host>/sap/opu/odata/sap/API_OUTBOUND_DELIVERY_SRV;v=2/A_OutbDeliveryHeader?$expand=to_Item

the following error message is returned:

Resource not found for the segment 'to_Item'

The outbound delivery header and item data cannot be retrieved as expected within the same API request.


Read more...

Environment

SAP S/4HANA Cloud Public Edition

Product

SAP S/4HANA Cloud Public Edition all versions

Keywords

outbound delivery, a2x api, sap s/4hana cloud public edition, resource not found, to_item segment, 404 error, api request, delivery document, delivery header, delivery item, api outbound delivery srv, error resolution , KBA , LE-SHP-API-2CL , Interfaces for Delivery Documents (API) (Public Cloud) , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.