cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

S4hana collective production order sent partially to MES

nerevar
Participant
0 Kudos
367

hello

context : we externalize production orders to a MES partner

we use standard api Manufacturing Order – Send (Version 2) scenario SAP_COM_0522

We are having trouble with collective orders, it seems that when we release a production order parent, child is automatically released but only the child order is sent in the interface and the parent is never sent. also we dont have any information of a supposed relationship in the payload.

here is our collective order structure

nerevar_0-1756820860638.png

and here is the payload received for production order 1000420 :

<n0:ManufacturingOrderExecuteRequest_V2 xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:prx="urn:sap.com:proxy:KLX:/1SAI/TAE785CF53A5441736BC90D:916" xmlns:n1="http://SAPCustomFields.com/YY1_" xmlns:n2="http://sap.com/xi/PP/Global2">
	<MessageHeader>
		<ID>FA163E0211241FE0A1E916E77E23491C</ID>
		<UUID>fa163e02-1124-1fe0-a1e9-16e77e23491c</UUID>
		<CreationDateTime>2025-09-01T15:31:23.787Z</CreationDateTime>
		<SenderBusinessSystemID>0M628UP</SenderBusinessSystemID>
	</MessageHeader>
	<ManufacturingOrder changeOrdinalNumberValue="1" reconciliationPeriodCounterValue="1">
		<ManufacturingOrder>1000420</ManufacturingOrder>
		<ManufacturingOrderCategory>10</ManufacturingOrderCategory>
		<ManufacturingOrderType>YBM1</ManufacturingOrderType>
		<ProductionPlant>3010</ProductionPlant>
		<Material>PLAQHT_APS</Material>
		<BillOfMaterialCategory>M</BillOfMaterialCategory>
		<BillOfMaterial>00000020</BillOfMaterial>
		<BillOfMaterialVariant>1</BillOfMaterialVariant>
		<BillOfMaterialVariantUsage>1</BillOfMaterialVariantUsage>
		<BillOfOperationsType>N</BillOfOperationsType>
		<BillOfOperationsGroup>50000006</BillOfOperationsGroup>
		<BillOfOperationsVariant>1</BillOfOperationsVariant>
		<MfgOrderPlannedTotalQty n2:unitCode="PCE" n2:SAPunitCode="ST">3.0</MfgOrderPlannedTotalQty>
		<MfgOrdPlndTotQtyInBaseUnit n2:unitCode="PCE" n2:SAPunitCode="ST">3.0</MfgOrdPlndTotQtyInBaseUnit>
		<BOOMinLotSizeQuantity n2:unitCode="PCE" n2:SAPunitCode="ST">0.0</BOOMinLotSizeQuantity>
		<BOOMaxLotSizeQuantity n2:unitCode="PCE" n2:SAPunitCode="ST">99999999.0</BOOMaxLotSizeQuantity>
		<MfgOrderPlannedStartDate>2025-09-01</MfgOrderPlannedStartDate>
		<MfgOrderPlannedStartTime>00:00:00</MfgOrderPlannedStartTime>
		<MfgOrderPlannedEndDate>2025-09-01</MfgOrderPlannedEndDate>
		<MfgOrderPlannedEndTime>24:00:00</MfgOrderPlannedEndTime>
		<MfgOrderScheduledStartDate>2025-09-01</MfgOrderScheduledStartDate>
		<MfgOrderScheduledStartTime>07:00:00</MfgOrderScheduledStartTime>
		<MfgOrderScheduledEndDate>2025-09-01</MfgOrderScheduledEndDate>
		<MfgOrderScheduledEndTime>07:18:00</MfgOrderScheduledEndTime>
		<InspectionLot>0</InspectionLot>
		<ManufacturingOrderSystemStatus>
			<n2:OrderIsPreCosted>true</n2:OrderIsPreCosted>
			<n2:OrderIsPrinted>true</n2:OrderIsPrinted>
			<n2:OrderIsReleased>true</n2:OrderIsReleased>
			<n2:OrderIsDistributedToMES>true</n2:OrderIsDistributedToMES>
			<n2:MaterialIsCommitted>true</n2:MaterialIsCommitted>
		</ManufacturingOrderSystemStatus>
		<ManufacturingOrderItem>
			<ManufacturingOrderItem>0001</ManufacturingOrderItem>
			<Material>PLAQHT_APS</Material>
			<MfgOrderItemPlannedTotalQty n2:unitCode="PCE" n2:SAPunitCode="ST">3.0</MfgOrderItemPlannedTotalQty>
			<ProductionVersion>0002</ProductionVersion>
			<StorageLocation>FR10</StorageLocation>
			<Warehouse>110</Warehouse>
			<MfgOrderItemPlannedScrapQty n2:unitCode="PCE" n2:SAPunitCode="ST">0.0</MfgOrderItemPlannedScrapQty>
		</ManufacturingOrderItem>
		<ManufacturingOrderActivityNetworkElement>
			<n2:MfgOrderNodeType>Operation</n2:MfgOrderNodeType>
			<n2:MfgOrderNodeID>000000046100000001</n2:MfgOrderNodeID>
			<n2:OrderInternalBillOfOperations>0000000461</n2:OrderInternalBillOfOperations>
			<n2:OrderIntBillOfOperationsItem>00000001</n2:OrderIntBillOfOperationsItem>
			<n2:ManufacturingOrderOperation>0010</n2:ManufacturingOrderOperation>
			<n2:ManufacturingOrderSequence>000000</n2:ManufacturingOrderSequence>
			<n2:WorkCenter>APS_PER2</n2:WorkCenter>
			<n2:WorkCenterInternalID>10000003</n2:WorkCenterInternalID>
			<n2:OpPlannedTotalQuantity n2:unitCode="PCE" n2:SAPunitCode="ST">3.0</n2:OpPlannedTotalQuantity>
			<n2:OperationReferenceQuantity n2:unitCode="PCE" n2:SAPunitCode="ST">1.0</n2:OperationReferenceQuantity>
			<n2:FactoryCalendar>FR</n2:FactoryCalendar>
			<n2:OpErlstSchedldExecStrtDte>2025-09-01</n2:OpErlstSchedldExecStrtDte>
			<n2:OpErlstSchedldExecStrtTme>07:00:00</n2:OpErlstSchedldExecStrtTme>
			<n2:OpErlstSchedldExecEndDte>2025-09-01</n2:OpErlstSchedldExecEndDte>
			<n2:OpErlstSchedldExecEndTme>07:18:00</n2:OpErlstSchedldExecEndTme>
			<n2:OpLtstSchedldExecStrtDte>2025-09-01</n2:OpLtstSchedldExecStrtDte>
			<n2:OpLtstSchedldExecStrtTme>07:00:00</n2:OpLtstSchedldExecStrtTme>
			<n2:OpLtstSchedldExecEndDte>2025-09-01</n2:OpLtstSchedldExecEndDte>
			<n2:OpLtstSchedldExecEndTme>07:18:00</n2:OpLtstSchedldExecEndTme>
			<n2:EarliestFinishOfOperationDate>2025-09-01</n2:EarliestFinishOfOperationDate>
			<n2:EarliestFinishOfOperationTime>07:18:00</n2:EarliestFinishOfOperationTime>
			<n2:OpErlstSchedldProcgStrtDte>2025-09-01</n2:OpErlstSchedldProcgStrtDte>
			<n2:OpErlstSchedldProcgStrtTme>07:03:00</n2:OpErlstSchedldProcgStrtTme>
			<n2:OpLtstSchedldProcgStrtDte>2025-09-01</n2:OpLtstSchedldProcgStrtDte>
			<n2:OpLtstSchedldProcgStrtTme>07:03:00</n2:OpLtstSchedldProcgStrtTme>
			<n2:OpPlannedProcessingDurn unitCode="MIN" SAPunitCode="MIN">1.5E1</n2:OpPlannedProcessingDurn>
			<n2:OpPlannedSetupDurn unitCode="MIN" SAPunitCode="MIN">3.0E0</n2:OpPlannedSetupDurn>
			<n2:OpPlannedTeardownDurn unitCode="MIN" SAPunitCode="MIN">0</n2:OpPlannedTeardownDurn>
			<n2:OpErlstSchedldTrdwnStrtDte>2025-09-01</n2:OpErlstSchedldTrdwnStrtDte>
			<n2:OpErlstSchedldTrdwnStrtTme>07:18:00</n2:OpErlstSchedldTrdwnStrtTme>
			<n2:OpLtstSchedldTrdwnStrtDte>2025-09-01</n2:OpLtstSchedldTrdwnStrtDte>
			<n2:OpLtstSchedldTrdwnStrtTme>07:18:00</n2:OpLtstSchedldTrdwnStrtTme>
			<n2:EarliestScheduledWaitEndDate>2025-09-01</n2:EarliestScheduledWaitEndDate>
			<n2:EarliestScheduledWaitEndTime>07:18:00</n2:EarliestScheduledWaitEndTime>
			<n2:LatestScheduledWaitEndDate>2025-09-01</n2:LatestScheduledWaitEndDate>
			<n2:LatestScheduledWaitEndTime>07:18:00</n2:LatestScheduledWaitEndTime>
			<n2:MfgOrderConfirmationGroup>0000001501</n2:MfgOrderConfirmationGroup>
			<n2:OperationControlProfile n2:OperationControlKey="YBP1">
				<n2:CompletionConfirmation n2:CompletionConfirmationCode="2">
					<ConfirmationIsMilestoneConf>false</ConfirmationIsMilestoneConf>
					<ConfirmationIsRequired>true</ConfirmationIsRequired>
					<ConfirmationIsNotPossible>false</ConfirmationIsNotPossible>
					<ConfirmationIsOptional>false</ConfirmationIsOptional>
				</n2:CompletionConfirmation>
				<n2:OperationIsScheduled>true</n2:OperationIsScheduled>
				<n2:CapacityRequirementsAreDtmnd>true</n2:CapacityRequirementsAreDtmnd>
				<n2:GRIsPostedAutomatically>false</n2:GRIsPostedAutomatically>
				<n2:OperationIsNotMESRelevant>false</n2:OperationIsNotMESRelevant>
			</n2:OperationControlProfile>
			<n2:StandardWorkFormulaParamGroup StandardWorkFormulaParamGroupID="SAP1">
				<WorkCenterFormulaParam1 WorkCenterFormulaParamID="SAP_01">
					<StandardWorkFormulaParamName languageCode="FR">Configuration</StandardWorkFormulaParamName>
					<WorkCenterStandardWorkQty n2:unitCode="MIN" n2:SAPunitCode="MIN">3.0</WorkCenterStandardWorkQty>
					<ToBeConfirmedTotalWorkQty n2:unitCode="MIN" n2:SAPunitCode="MIN">3.0</ToBeConfirmedTotalWorkQty>
				</WorkCenterFormulaParam1>
				<WorkCenterFormulaParam2 WorkCenterFormulaParamID="SAP_02">
					<StandardWorkFormulaParamName languageCode="FR">Machine</StandardWorkFormulaParamName>
					<WorkCenterStandardWorkQty n2:unitCode="MIN" n2:SAPunitCode="MIN">5.0</WorkCenterStandardWorkQty>
					<ToBeConfirmedTotalWorkQty n2:unitCode="MIN" n2:SAPunitCode="MIN">15.0</ToBeConfirmedTotalWorkQty>
				</WorkCenterFormulaParam2>
				<WorkCenterFormulaParam3 WorkCenterFormulaParamID="SAP_03">
					<StandardWorkFormulaParamName languageCode="FR">Main-d'œuvre</StandardWorkFormulaParamName>
					<WorkCenterStandardWorkQty n2:unitCode="MIN" n2:SAPunitCode="MIN">3.0</WorkCenterStandardWorkQty>
					<ToBeConfirmedTotalWorkQty n2:unitCode="MIN" n2:SAPunitCode="MIN">9.0</ToBeConfirmedTotalWorkQty>
				</WorkCenterFormulaParam3>
			</n2:StandardWorkFormulaParamGroup>
			<n2:ManufacturingOrderComponent>
				<RequirementType>AR</RequirementType>
				<RequiredQuantityInBaseUnit n2:unitCode="PCE" n2:SAPunitCode="ST">3.0</RequiredQuantityInBaseUnit>
				<ResvnItmRequiredQtyInEntryUnit n2:unitCode="PCE" n2:SAPunitCode="ST">3.0</ResvnItmRequiredQtyInEntryUnit>
				<MatlCompRequirementDate>2025-09-01</MatlCompRequirementDate>
				<Material>PLAQTR_APS</Material>
				<Reservation>0000000632</Reservation>
				<ReservationItem>0001</ReservationItem>
				<GoodsMovementType>261</GoodsMovementType>
				<BillOfMaterialItemNumber>0010</BillOfMaterialItemNumber>
				<BillOfMaterialItemCategory>L</BillOfMaterialItemCategory>
				<ManufacturingOrderItem>0000</ManufacturingOrderItem>
				<BillOfMaterial>00000020</BillOfMaterial>
				<BillOfMaterialItemNodeNumber>00000002</BillOfMaterialItemNodeNumber>
				<SupplyArea>PSA_01</SupplyArea>
				<StorageLocation>FR10</StorageLocation>
				<Warehouse>110</Warehouse>
				<MatlCompIsMarkedForBackflush>true</MatlCompIsMarkedForBackflush>
				<DebitCreditCode>H</DebitCreditCode>
			</n2:ManufacturingOrderComponent>
			<n2:ManufacturingOrderComponent>
				<RequirementType>AR</RequirementType>
				<RequiredQuantityInBaseUnit n2:unitCode="PCE" n2:SAPunitCode="ST">12.0</RequiredQuantityInBaseUnit>
				<ResvnItmRequiredQtyInEntryUnit n2:unitCode="PCE" n2:SAPunitCode="ST">12.0</ResvnItmRequiredQtyInEntryUnit>
				<MatlCompRequirementDate>2025-09-01</MatlCompRequirementDate>
				<Material>COMPX_APS</Material>
				<Reservation>0000000632</Reservation>
				<ReservationItem>0002</ReservationItem>
				<GoodsMovementType>261</GoodsMovementType>
				<BillOfMaterialItemNumber>0020</BillOfMaterialItemNumber>
				<BillOfMaterialItemCategory>L</BillOfMaterialItemCategory>
				<ManufacturingOrderItem>0000</ManufacturingOrderItem>
				<BillOfMaterial>00000020</BillOfMaterial>
				<BillOfMaterialItemNodeNumber>00000001</BillOfMaterialItemNodeNumber>
				<SupplyArea>PSA_01</SupplyArea>
				<StorageLocation>FR10</StorageLocation>
				<Warehouse>110</Warehouse>
				<MatlCompIsMarkedForBackflush>true</MatlCompIsMarkedForBackflush>
				<DebitCreditCode>H</DebitCreditCode>
			</n2:ManufacturingOrderComponent>
			<n2:ActivityNetworkElementSystemStatus>
				<n2:ReleasedStatusIsActive>true</n2:ReleasedStatusIsActive>
			</n2:ActivityNetworkElementSystemStatus>
		</ManufacturingOrderActivityNetworkElement>
		<ManufacturingOrderActivityNetworkElement>
			<n2:MfgOrderNodeType>Operation</n2:MfgOrderNodeType>
			<n2:MfgOrderNodeID>000000046100000002</n2:MfgOrderNodeID>
			<n2:OrderInternalBillOfOperations>0000000461</n2:OrderInternalBillOfOperations>
			<n2:OrderIntBillOfOperationsItem>00000002</n2:OrderIntBillOfOperationsItem>
			<n2:ManufacturingOrderOperation>0020</n2:ManufacturingOrderOperation>
			<n2:ManufacturingOrderSequence>000000</n2:ManufacturingOrderSequence>
			<n2:WorkCenter>APS_CONT</n2:WorkCenter>
			<n2:WorkCenterInternalID>10000004</n2:WorkCenterInternalID>
			<n2:OpPlannedTotalQuantity n2:unitCode="PCE" n2:SAPunitCode="ST">3.0</n2:OpPlannedTotalQuantity>
			<n2:OperationReferenceQuantity n2:unitCode="PCE" n2:SAPunitCode="ST">1.0</n2:OperationReferenceQuantity>
			<n2:FactoryCalendar>FR</n2:FactoryCalendar>
			<n2:OpErlstSchedldExecStrtDte>2025-09-01</n2:OpErlstSchedldExecStrtDte>
			<n2:OpErlstSchedldExecStrtTme>07:18:00</n2:OpErlstSchedldExecStrtTme>
			<n2:OpErlstSchedldExecEndDte>2025-09-01</n2:OpErlstSchedldExecEndDte>
			<n2:OpErlstSchedldExecEndTme>07:18:00</n2:OpErlstSchedldExecEndTme>
			<n2:OpLtstSchedldExecStrtDte>2025-09-01</n2:OpLtstSchedldExecStrtDte>
			<n2:OpLtstSchedldExecStrtTme>07:18:00</n2:OpLtstSchedldExecStrtTme>
			<n2:OpLtstSchedldExecEndDte>2025-09-01</n2:OpLtstSchedldExecEndDte>
			<n2:OpLtstSchedldExecEndTme>07:18:00</n2:OpLtstSchedldExecEndTme>
			<n2:EarliestFinishOfOperationDate>2025-09-01</n2:EarliestFinishOfOperationDate>
			<n2:EarliestFinishOfOperationTime>07:18:00</n2:EarliestFinishOfOperationTime>
			<n2:OpErlstSchedldProcgStrtDte>2025-09-01</n2:OpErlstSchedldProcgStrtDte>
			<n2:OpErlstSchedldProcgStrtTme>07:18:00</n2:OpErlstSchedldProcgStrtTme>
			<n2:OpLtstSchedldProcgStrtDte>2025-09-01</n2:OpLtstSchedldProcgStrtDte>
			<n2:OpLtstSchedldProcgStrtTme>07:18:00</n2:OpLtstSchedldProcgStrtTme>
			<n2:OpErlstSchedldTrdwnStrtDte>2025-09-01</n2:OpErlstSchedldTrdwnStrtDte>
			<n2:OpErlstSchedldTrdwnStrtTme>07:18:00</n2:OpErlstSchedldTrdwnStrtTme>
			<n2:OpLtstSchedldTrdwnStrtDte>2025-09-01</n2:OpLtstSchedldTrdwnStrtDte>
			<n2:OpLtstSchedldTrdwnStrtTme>07:18:00</n2:OpLtstSchedldTrdwnStrtTme>
			<n2:EarliestScheduledWaitEndDate>2025-09-01</n2:EarliestScheduledWaitEndDate>
			<n2:EarliestScheduledWaitEndTime>07:18:00</n2:EarliestScheduledWaitEndTime>
			<n2:LatestScheduledWaitEndDate>2025-09-01</n2:LatestScheduledWaitEndDate>
			<n2:LatestScheduledWaitEndTime>07:18:00</n2:LatestScheduledWaitEndTime>
			<n2:MfgOrderConfirmationGroup>0000001502</n2:MfgOrderConfirmationGroup>
			<n2:OperationControlProfile n2:OperationControlKey="QM01">
				<n2:CompletionConfirmation n2:CompletionConfirmationCode=" ">
					<ConfirmationIsMilestoneConf>false</ConfirmationIsMilestoneConf>
					<ConfirmationIsRequired>false</ConfirmationIsRequired>
					<ConfirmationIsNotPossible>false</ConfirmationIsNotPossible>
					<ConfirmationIsOptional>true</ConfirmationIsOptional>
				</n2:CompletionConfirmation>
				<n2:OperationIsScheduled>false</n2:OperationIsScheduled>
				<n2:CapacityRequirementsAreDtmnd>false</n2:CapacityRequirementsAreDtmnd>
				<n2:GRIsPostedAutomatically>false</n2:GRIsPostedAutomatically>
				<n2:OperationIsNotMESRelevant>false</n2:OperationIsNotMESRelevant>
			</n2:OperationControlProfile>
			<n2:StandardWorkFormulaParamGroup StandardWorkFormulaParamGroupID="SAP1">
				<WorkCenterFormulaParam1 WorkCenterFormulaParamID="SAP_01">
					<StandardWorkFormulaParamName languageCode="FR">Configuration</StandardWorkFormulaParamName>
					<WorkCenterStandardWorkQty n2:unitCode="MIN" n2:SAPunitCode="MIN">0.0</WorkCenterStandardWorkQty>
				</WorkCenterFormulaParam1>
				<WorkCenterFormulaParam2 WorkCenterFormulaParamID="SAP_02">
					<StandardWorkFormulaParamName languageCode="FR">Machine</StandardWorkFormulaParamName>
					<WorkCenterStandardWorkQty n2:unitCode="MIN" n2:SAPunitCode="MIN">0.0</WorkCenterStandardWorkQty>
				</WorkCenterFormulaParam2>
				<WorkCenterFormulaParam3 WorkCenterFormulaParamID="SAP_03">
					<StandardWorkFormulaParamName languageCode="FR">Main-d'œuvre</StandardWorkFormulaParamName>
					<WorkCenterStandardWorkQty n2:unitCode="MIN" n2:SAPunitCode="MIN">0.0</WorkCenterStandardWorkQty>
				</WorkCenterFormulaParam3>
			</n2:StandardWorkFormulaParamGroup>
			<n2:ActivityNetworkElementSystemStatus>
				<n2:ReleasedStatusIsActive>true</n2:ReleasedStatusIsActive>
			</n2:ActivityNetworkElementSystemStatus>
		</ManufacturingOrderActivityNetworkElement>
		<ManufacturingOrderActivityNetworkElement>
			<n2:MfgOrderNodeType>StartEvent</n2:MfgOrderNodeType>
			<n2:MfgOrderNodeID>000001000420SEVT</n2:MfgOrderNodeID>
		</ManufacturingOrderActivityNetworkElement>
		<ManufacturingOrderActivityNetworkElement>
			<n2:MfgOrderNodeType>EndEvent</n2:MfgOrderNodeType>
			<n2:MfgOrderNodeID>000001000420EEVT</n2:MfgOrderNodeID>
		</ManufacturingOrderActivityNetworkElement>
		<ManufacturingOrderRelationship>
			<PredecessorMfgOrderNodeType>StartEvent</PredecessorMfgOrderNodeType>
			<PredecessorMfgOrderNodeID>000001000420SEVT</PredecessorMfgOrderNodeID>
			<SuccessorMfgOrderNodeType>Operation</SuccessorMfgOrderNodeType>
			<SuccessorMfgOrderNodeID>000000046100000001</SuccessorMfgOrderNodeID>
			<NetworkActivityRelationType>SucRel</NetworkActivityRelationType>
		</ManufacturingOrderRelationship>
		<ManufacturingOrderRelationship>
			<PredecessorMfgOrderNodeType>Operation</PredecessorMfgOrderNodeType>
			<PredecessorMfgOrderNodeID>000000046100000001</PredecessorMfgOrderNodeID>
			<SuccessorMfgOrderNodeType>Operation</SuccessorMfgOrderNodeType>
			<SuccessorMfgOrderNodeID>000000046100000002</SuccessorMfgOrderNodeID>
			<NetworkActivityRelationType>SucRel</NetworkActivityRelationType>
		</ManufacturingOrderRelationship>
		<ManufacturingOrderRelationship>
			<PredecessorMfgOrderNodeType>Operation</PredecessorMfgOrderNodeType>
			<PredecessorMfgOrderNodeID>000000046100000002</PredecessorMfgOrderNodeID>
			<SuccessorMfgOrderNodeType>EndEvent</SuccessorMfgOrderNodeType>
			<SuccessorMfgOrderNodeID>000001000420EEVT</SuccessorMfgOrderNodeID>
			<NetworkActivityRelationType>SucRel</NetworkActivityRelationType>
		</ManufacturingOrderRelationship>
	</ManufacturingOrder>
</n0:ManufacturingOrderExecuteRequest_V2>

or is it sent later depending on some other conditions?
are we missing something?
we don't have the relationship elements as expected in documentation 

https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/a6f0333202384ba2b48a841a4a6deb1b/a05a3a43e7ad4b6c92c...

thanks for help

View Entire Topic
Chuma
Active Contributor

Hello @nerevar 

Thank you for your detailed description and the payload example.

In the SAP S/4HANA Public Edition, the current standard behaviour of the integration scenario SAP_COM_0522 – Manufacturing Order, send (Version 2) is as follows:

Only individual production/manufacturing orders are transferred via the API.

    • When you release a collective order structure, the system automatically releases both the superior (parent) and subordinate (child) orders within S/4HANA.
    • However, only the child orders are distributed to MES via the standard interface. The parent (collective) order header is not sent because collective orders in Public Cloud are handled as internal logistical/settlement structures, not as executable shop floor orders.

Relationship information is not provided in the payload.

    • The current outbound service does not include the collective order hierarchy (parent–child link).
    • What you observed in your payload is correct: only the child order is passed with its own operations, components, and statuses.

This is a standard limitation in Public Cloud.

    • Unlike in On-Premise or Private Cloud, where BAdIs exist to enrich the message with collective order links, in Public Cloud, this enhancement option is not available.
    • The MES integration guide for SAP_COM_0522 explicitly notes that each order is sent as a standalone entity, and collective order references are not part of the outbound interface.

Recommended approaches:

  • Deriving it from S/4HANA via an additional CDS View or released API (e.g., Manufacturing Order – Read service), or
  • Managing the parent–child relationship purely inside S/4HANA and interfacing only the executable child orders to MES.
    • If your MES requires the relationship, you will need to replicate this logic outside the standard API by either:
    • This aligns with SAP’s recommendation: in Public Cloud, MES receives only executable child orders that are to be scheduled and confirmed on the shop floor

Manufacturing Order – Send (Version 2)-SAP Help

Answer to your questions:

  • No, the parent order is not sent later under other conditions. This is not a timing issue but by design.
  • You are not missing a configuration, this is a standard restriction.

Conclusion:
Only child (executable) orders of a collective structure are sent via SAP_COM_0522 to MES in Public Cloud. The parent order and relationship elements are not included in the payload.

Kind regards,
Chuma 

nerevar
Participant
thanks a lot for the explanation this it what we expected. maybe we can change our model by working with phase inside a single Order or indeed retrieve further information, inside hana or with api thanks