SAP Knowledge Base Article - Public

2645602 - Process Sales Order API not retrieving requested data

Symptom

We suspect a bug when calling a sales order for project based services. Service node A_SalesOrder is not able to retrieve any data.

Environment

  •  Sales and Distrubution (SD)
  •  SAP S/4HANA CLOUD 1708 
  •  SAP S/4HANA CLOUD 1711 
  •  SAP S/4HANA CLOUD 1802 
  •  SAP S/4HANA CLOUD 1805 
  •  SAP S/4HANA Cloud 1605 
  •  SAP S/4HANA Cloud 1608 
  •  SAP S/4HANA Cloud 1611 
  •  SAP S/4HANA Cloud 1702 
  •  SAP S/4HANA Cloud 1705
  •  SAP S/4HANA Cloud 1808
  •  SAP S/4HANA, cloud edition 1503 
  •  SAP S/4HANA, cloud edition 1506 
  •  SAP S/4HANA, cloud edition 1511 
  •  SAP S/4HANA, cloud edition 1603

Cause

With this service, it is only possible to process sell from stock scenarios (third-party processing, for example, is not supported).

Resolution

The retreival of sales order data for Project Based Service documents is not supported with this service. See the following SAP documentation for more information and for further restrictions with this service:

 > https://help.sap.com/viewer/635f557c455d42eaae20f169d9c43d9b/1805.500/en-US/00d244581efca007e10000000a441470.html

"Restrictions

With this service, it is not possible to:

  • Create single entities. You can only create entities as part of deep insert requests.

  • Process sales orders with SalesOrderProcessingType P (project-based services (PBS))

  • Process sales orders with SalesOrderProcessingType I (sales order without charge)

  • Create sales orders with one-time customers

  • Create, update, or delete schedule lines

  • Search in subentities based on filters

  • Create or process multiple sales orders in a single changeset of a $batch OData request"

Keywords

A_SalesOrder, Sales order header, API_SALES_ORDER_SRV, A_SalesOrder, A_SalesOrderHeaderPartner, Sales order header, partner, API_SALES_ORDER_SRV, A_SalesOrderHeaderPartner, A_SalesOrderHeaderPrElement, API_SALES_ORDER_SRV, A_SalesOrderHeaderPrElement, A_SalesOrderItem, Sales order item, API_SALES_ORDER_SRV, A_SalesOrderItem, A_SalesOrderItemPartner, Sales order, item partner, API_SALES_ORDER_SRV, A_SalesOrderItemPartner, A_SalesOrderItemPrElement, API_SALES_ORDER_SRV, A_SalesOrderItemPrElement, A_SalesOrderScheduleLine, Schedule line,
API_SALES_ORDER_SRV, A_SalesOrderScheduleLine, , KBA , SD-SLS-API , API , Problem

Product

SAP S/4HANA Cloud 1605 ; SAP S/4HANA Cloud 1608 ; SAP S/4HANA Cloud 1611 ; SAP S/4HANA Cloud 1702 ; SAP S/4HANA Cloud 1705 ; SAP S/4HANA Cloud 1708 ; SAP S/4HANA Cloud 1711 ; SAP S/4HANA Cloud 1802 ; SAP S/4HANA Cloud 1805 ; SAP S/4HANA Cloud 1808 ; SAP S/4HANA, cloud edition 1503 ; SAP S/4HANA, cloud edition 1506 ; SAP S/4HANA, cloud edition 1511 ; SAP S/4HANA, cloud edition 1603