Skip to Content
0
Former Member
Dec 07, 2009 at 12:55 PM

Mapping problem Idoc to Flat file: above lying tags not available

22 Views

Dear experts,

I have a mapping problem, trying to convert an Idoc to flat file. My Idoc looks like this:

-HEADER

---DETAIL

-


DETAILPARTNER

-


DETAILPARTNER

---DETAIL

etc

For each detailpartner I need to create 1 line in a flat file with the following structure:

RECORD

---RECORDNO

---HEADER

---DETAIL

---PARTNER

When I map DETAILPARTNER to RECORD, indeed I get 2 records in the outputstructure. But the data from the above lying tags (HEADER and DETAIL) are only included in the first output-record. Obviously when the second RECORD is being created, the info from HEADER and DETAIL are not available. Is there a way to solve this?

Thanks in advance

William