SAP Knowledge Base Article - Public

3640273 - Error "Resource not found for segment 'A_SalesOrderPartnerAddressType'" in SAP S/4HANA Cloud Public Edition

Symptom

Using the API Sales Order (A2X, V2) to retrieve the address for a sales order resulted in the error "Resource not found for segment 'A_SalesOrderPartnerAddressType'".

Environment

SAP S/4HANA Cloud Public Edition

Cause

The Address entity of the Sales Order (A2X, V2) has a limitation: it can only read addresses from documents, not from master data.

Resolution

Here is a workaround: Use this API to read existing system data by either retrieving all document data or including specific entity properties in the request to retrieve only those.

See Also

Keywords

SAP S/4HANA Cloud Public Edition, API, Sales order (A2X, V2), API_SALES_ORDER_SRV, A2X, V2, A_SalesOrderPartnerAddressType, Resource not found for segment 'A_SalesOrderPartnerAddressType', Retrieve, Document address, Master data address, Address, Workaround , KBA , SD-SLS-API-2CL , API (Public Cloud) , SD-BF-PD-2CL , Partner Determination (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions