SAP Knowledge Base Article - Public

3366826 - Get error message "The component to be assigned has not been completely specified" when trying to create routing via API_PRODUCTION_ROUTING

Symptom

You want to create a routing via API_PRODUCTION_ROUTING.
You use the deep payload (to_OpCompAlloc) to make the operation component allocation at the creation.
However, you get the error message "The component to be assigned has not been completely specified" and "No suitable object found".

Environment

SAP S/4HANA Cloud, public edition

Cause

Since you use the deep payload, you may maintain the "ValidityStartDate" property for the routing header. If the "ValidityStartDate" is out of the BOM item valid period, then the system cannot find an available component and will raise the error.
For the example of a deep payload, please check this Help Page.

Resolution

Actually, the "ValidityStartDate" is not mandatory for the routing header. If you need to maintain it, please make sure it falls into the valid period of the BOM item which you want to allocate to the operation.

Keywords

API_PRODUCTION_ROUTING, No suitable object found, "ValidityStartDate", to_OpCompAlloc, routing, component , KBA , PP-BD-ES-2CL , Enterprise Services in Production Planning Basic Data (PubC) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions