HI,
I have an IDOC with multiple E1EDK12 segments.
Each segment has a field MATNR. I have to create only one target node with E1EDK12 which has highest value for MATNR.
Please help how could i achieve this in PI
(source)E1EDK12 (1 to many) ----> Details (Target) occurrence: 1 (E1EDK12 with highest MATNR)
Lets say i have 4 E1EDK12 segments. each segment has one MATNR
1. E1EDK12->MATNR = 2376
2. E1EDK12->MATNR = 2271
3. E1EDK12->MATNR = 3376 (highest)
4. E1EDK12->MATNR = 1176
I have to create only one target node with all values in E1EDK12 which has MATNR = 3376
Thanks