Copy values from simple to complex structure
I have a simple structure as an input and have a deep complex structures as an output. Fields of the structures are not same. I need to copy values from input to output based on some mapping like values in field A of input structure needs to be copied to field B of output structure.
Since fields of the structures are not same and the output structure is a deep complex structure, I can''t use MOVE-CORRESPONDING.
Can anyone suggest a way to accomplish this ?
Appreciate your quick replies.