Skip to Content
0
Former Member
Feb 13, 2007 at 04:02 PM

Problem to transform Flat file to Data Type Structurated and map to IDOC

27 Views

Hi all,

I have a file to idoc scenario.

The information is like this:

1#!445#!AI12#!1#!20070214#!DVXXXXR#!201#!31GINHG876#!#!

2#!#!ETC

3#!000000000030008888#!#!3000#!#!10#!#!20070215

4#!dades45#!b#!c#!d#!e#!f#!g

5#!pos5

where 1, 2, ... = key segments for the file adapter and #! are the field separator.

this must go to a Data Type with substructures like this:

(xml)

.1

......2

.3

......4

......5

where 2 is inside 1 and 4-5 inside 3.

The reason of this is we can get unbounded replays of 3/4/5 for one header.

But XI reads the information like if all segments are headers.

.1

.2

.3

.4

.5

So the IDOC is bad created.

Where is the issue? At Message Mapping all substructures are mapped with his default and at TEST option it works fine.

Thanks in advance for your help.

best regards

Message was edited by:

Federico Martin

Message was edited by:

Federico Martin