Skip to Content
avatar image
Former Member

Copy values from simple to complex structure

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 29, 2014 at 03:45 PM

    The only way possible is direct field by field assignment.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 29, 2014 at 04:13 PM

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

    Add comment
    10|10000 characters needed characters exceeded