Symptom
When using parallel sequence, the confirmation numbers in production order are not following the sequence.
Environment
SAP S/4HANA Cloud
Reproducing the Issue
- In routing, create standard operation 0030 (with standard sequence 0).
- Create parallel sequence (sequence 1) with operation 0010, set 0030 to field 'return operation'.
- Create parallel sequence (sequence 2) with operation 0020, set 0030 to field 'return operation'.
- Create production order.
In app "Monitor Production / Planned Orders " (COOIS), the sequence of the operation and confirmation number is 0030 -> 0010 -> 0020.
The expectation is 0010 -> 0020 - > 0030.
Cause
The sequence of confirmation is based on the sequence of field 'operation ID'.
The operation ID is retrieved from routing and the sequence depends on the order when operations were created.
For above case, the operation ID for operation 0030 is '00000001', 0010 is '00000002' , 0020 is '00000003' and therefore, the sequence displayed is 0030 -> 0010 -> 0020.
The operation ID was generated automatically.
It follows an order of creation in a Routing Group. For example- if there is a routing group – ‘RTG_GRP’ and the group has two counters such as ‘01’ and ‘02’.
1. Firstly we create 2 operations 0010 and 0020 in counter ‘01’
2. Then 2 operations 0100 and 0200 in counter ‘02’
3. Then 1 operation 0030 in counter ‘01’
4. Then 1 operation 0300 in counter ‘02’
Then it will generate the operation ID in the order of execution/operation creation.
Operation ID | Operation |
00000001 | 0010 |
00000002 | 0020 |
00000003 | 0100 |
00000004 | 0200 |
00000005 | 0030 |
00000006 | 0300 |
The operation ID cannot be changed manually.
Resolution
1. Create a dummy standard operation 0010 (with standard sequence 0) .
2. Create parallel sequence for operations 0010,0020, set standard operation 0010 to field 'return operation'.
3. Create standard operations 0030. Replace 'return operation' with 0030 .
4. Delete the dummy operation 0010.
Keywords
parallel sequence, confirmation, operation ID, routing, production order, sequence , KBA , PP-BD-RTG-2CL , Routing (Public Cloud) , PP-SFC-EXE-2CL , Order Execution (Public Cloud) , Problem