Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Copy values from simple to complex structure

Former Member
0 Kudos

Hello all,

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.

BR

Nilesh

2 REPLIES 2

Former Member
0 Kudos

The only way possible is direct field by field assignment.

Former Member
0 Kudos

I don't think there is any other choice except move command.