Skip to Content
0
Apr 20, 2005 at 07:13 AM

File to IDOC (content conversion)

59 Views

Hi,

My scenario is File to IDOC.

My input file is as

"AAA",399,"DD",20050302,100642,3289

"B01","E",20051,39.1,"AC","M","L"

"B01","L",20051,38.3,"AC","F","D"

"B01","L",20301,37.7,"AC","F","W"

"L9",50

wherein the structure should look as follows:

<root>

<header> => occurence 1

<hdata1>.....</hdata1>

....................

<hdatan>.....</hdatan>

<body> => occurance unbounded

<data1>.....</data1>

.........

<datan>.....</datan>

</body>

</header>

<trailer> => occurance 1

<data2>....</data2>

</trailer>

</root>

Now my question is that how do we go for the content conversion in this scenario.(the problem is that header contains element data and subnode body)

Regards,

Shabz