cancel
Showing results for 
Search instead for 
Did you mean: 

File Creation In the specified structure.

Former Member
0 Kudos

Hi,

The structure of my interface is as shown below:-

Input Structure:

occurrance

<Header/> ==> 1

<Recordset> ==> 0...*

<Master/> ==> 0...*

<Detail/> ==> 0...*

<Contact/> ==> 0...*

<Earning_History/> ==> 0...*

<TAMS/> ==> 0...*

<Recordset/>

<Trailer/> ==< 1

Output Structure:

<Header/> ==> 1

<Master/> ==> 0...*

<Master/>

<Detail/> ==> 0...*

<Detail/>

<Contact/> ==> 0...*

<Earning_History/> ==> 0...*

<TAMS/> ==> 0...*

<Trailer/> ==< 1

The output structure will not contain the Recordset Tab.

The structure must be as shown above.

How is this possible without Java mapping ?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Try this mapping for the following fields

<Details> -> <(first input) formatByExample > (output of formatByExample)-> <Details>

<Recordset> -> <(Second input) formatByExample >

Similarly for the following fields:

<Detail/> ==> 0...*

<Contact/> ==> 0...*

<Earning_History/> ==> 0...*

<TAMS/> ==> 0...*

Regards,

Aravind

Former Member
0 Kudos

Hi Sanghamitra,

What is the file type you are creating in target? ( I mean whether it is xml or csv)

Former Member
0 Kudos

Simple Text file..

.txt