cancel
Showing results for 
Search instead for 
Did you mean: 

Issuse with mapping , context handling

Former Member
0 Kudos

Hi all,

my Source structure which i am using a IDOC , from which i have giving the nessecary node which is giving me problme i am taking into considersation

<IDOC>

<EDK01>..(1,1)...................header

<EDKA1> (0,3)

<PARTVW/>

<NAME1/>

<NAME2/>

<NAME3/>

<NAME4/>

</EDKA1>

<EDK01>

<EDP01>...(0,9999)...............................ITEM

<EDPA1> (0,3)

<PARVW/>

<NAME1/>

<NAME2/>

<NAME3/>

<NAME4/>

</EDPA1>

</EDP01>

</HEADER>

my target structure is for sample i am taking as

<HEADER>

< FIELD1/>

<ITEM

<FIELDS2/>

And my condition is that WHEN PARVW = WE in EDPA1 of EDP01 exist , it should concatenate everything and should pass to my item field1 target ,else it will take from the EDKA1 if PARVW = WE and concatenate the all the other fields and send to ITEM field1 of target field ,

in this i dont know how to use context cause if my ITEM exist more than once , i am facing the problem ,

and in the if it is not present in the EDPA1 and if it is taking from the EDKA1 and when it is occuring in the 2 occurance other first i am getting error , will anyone help me to slove this isssue

thaning you

Sridhar

Accepted Solutions (0)

Answers (1)

Answers (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hi,

Kindly post the occurrence of the target structure.

Regards,