Skip to Content
0
Former Member
Jun 30, 2008 at 12:56 AM

Idoc mapping issue

23 Views

Hi,

I'm doing IDOC to Flat file and the Input structure xml is:

<?xml version="1.0" encoding="UTF-8"?>

<DEBMAS06>

<IDOC>

<E1KNA1M>

<KUNNR>0000300622</KUNNR>

<E1KNVVM>

<E1KNVPM>

<PARVW>AG</PARVW>

<KUNN2>0000300622</KUNN2>

</E1KNVPM>

<E1KNVPM>

<PARVW>RE</PARVW>

<KUNN2>0000500569</KUNN2>

</E1KNVPM>

<E1KNVPM>

<PARVW>RG</PARVW>

<KUNN2>0000500569</KUNN2>

</E1KNVPM>

<E1KNVPM>

<PARVW>WE</PARVW>

<KUNN2>0000300622</KUNN2>

</E1KNVPM>

</E1KNVVM>

</E1KNA1M>

</IDOC>

</DEBMAS06>

1) Now if PARVW = WE and if his KUNN2 = KUNNR then set flag to Primary else NO flag, thats one problem

2) How to get an output in this way WE,300622,RG,500569,RE,500569,AG,300622 mapping to target node ADDR_type.

Thanks,

Srini