SAP Knowledge Base Article - Public

3758715 - Component missing when creating planned order via API_PlannedOrder

Symptom

When creating planned order via API_PlannedOrder, there are no components in the created planned order. When navigating to the Components tab, the system displays message no. 61027 "No material components were determined".

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Create planned order via Post method /sap/opu/odata4/sap/api_plannedorder/srvd_a2x/sap/plannedorder/0001/PlannedOrderHeader with the following payload:

    {
        "Material":"*",
        "MRPArea":"*",
        "TotalQuantity":*,
        "BaseUnit":"*",
        "PlannedOrderProfile":"*",
        "PlannedOrderIsFirm":true, 
        "PlndOrderPlannedEndDate":"*",
        "PlndOrderPlannedStartDate":"*"
    }. 

  2. The planned Order is created successfully, however, in Display Planned Order app, the Production Version is empty in Header tab and the Bill of material section is missing in Master Data tab.
  3. Click the "Component Overview" or "Explode BOM" button in Display Planned Order app, message no. 61027 "No material components were determined" occurs.

Cause

The “ProductionVersion” property is not maintained in the payload. As a result, no BOM explosion happens and there are no components determined in the planned order.

Resolution

Maintain "ProductionVersion" property in POST payload, below is an example: 

POST /sap/opu/odata4/sap/api_plannedorder/srvd_a2x/sap/plannedorder/0001/PlannedOrderHeader

Payload:

{
    "Material":"*",
    "MRPArea":"*",
    "TotalQuantity":*,
    "BaseUnit":"*",
    "PlannedOrderProfile":"*",
    "PlannedOrderIsFirm":true, 
    "PlndOrderPlannedEndDate":"*",
    "PlndOrderPlannedStartDate":"*",
    "ProductionVersion":"*"
}. 

See Also

Help portal - Create Planned Order | SAP Help Portal.

Keywords

planned order, components missing, BOM explosion, message no. 61027, no material components were determined, production version, component determination, API_PlannedOrder , KBA , PP-SFC-EXE-2CL , Order Execution (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions