Skip to Content
0
Jan 06, 2016 at 08:11 PM

context change copy value

844 Views

Hi Group,

I am working on IDOC to file scenario, tI have the below structure, I have ZADR segmen which is having NAME1 field , for each ZSEG1 I am getting two ZADR segments every time , for mapping I need to select the NAME1 field from second ZADR segment , I was using COPYVALUE[1] , it works fine when single ZSEG segment comes , but for multiple ZSEG its not able to create second NAME1 node at target end, can any body suggest how to acheive using Graphical mapping or UDF.

ZAWB01

|

|______ZHDR

|

|____ZSEG1(0..Unbound)

|

|___ZADR(0..Unbound)

Name1

NAME1(IDOC source) ---Copyvalue[1}-->NAME1(target)