Hello,
Try this:
Matnr** -> sort (in descending order) -> copyValue(0) -> E1EDK12
Matnr** -> sort (in descending order) -> copyValue(0) -> Matnr
For rest of the fields:
Matnr** ->
--------> SortByKey (descending) --copyValue(0) ---FiledA (Target)
FieldA**->
** -> Change field's context and set it to Idoc level
Thanks
Amit Srivastava