Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

File Content Conversion_Sender Channel

Hi All,

Is there a way to do an FCC at Sender File Channel like this:

Source File:

1231163054-99-03258-008G11/21/2008 00:00:00562.0000Forecast11/13/2008 00:00:00

Required to create DT like this:

<input>

<Row> (0...unbounded)

<Header> (1,1)

<F1>1231</F1>

<F2>1630</F2>

<F3>54-99-03258-008G</F3>

<F4>11/21/2008 00:00:00</F4>

<F5>562.0000</F5>

</Header>

<Detail> (1,1)

<F6>Forecast</F6>

<F7>11/13/2008 00:00:00</F7>

</Detail>

</Row>

</input>

I have managed to create

<input>

<Row>(0,,, unbounded)

<Header>(1,1)

<F1>1231</F1>

<F2>1630</F2>

<F3>54-99-03258-008G</F3>

<F4>11/21/2008 00:00:00</F4>

<F5>562.0000</F5>

<F6>Forecast</F6>

<F7>11/13/2008 00:00:00</F7>

</Header>

</Row>

</input>

by using:

Header.fieldNames = F1,F2,F3,F4,F5,F6,F7

Header.fieldSeparator = ^

Header.endSeparator = 'nl'

Is there a way i can create the Required DT?

Regards,

Balaji

Not what you were looking for? View more on this topic or Ask a question