Skip to Content

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

File-Sender: Probl. with Content conversion - Read whole line in singleTag

Hello,

I have a flat file that i read with the sender file adapter.

After content conversion I get not the result i wished to have...

The source flat file looks for example like this:

ABC;DEF;GHIJ

KLM;NOP;Q

RSTU;VW

After the Content Conversion I would like to have this result:

<Recordset>

<Data>

<Row>ABC;DEF;GHIJ

<Row>KLM;NOP;Q

<Row>RSTU;VW

<……>

What sounds very similar but didn’t work for me yesterday….

I defined a data type that looked like this:

DT_TEST (Complex Type)

Recordset (0..unbounded)

Data (1)

Row (type string / 0..unbounded)

During the file content conversion I just did this:

Recordsetname: Recordset

Recordset structure: Data, 1

Data.fieldNames = Row

Data.fieldSeparator = ‘nl’

This was also described in blog:

/people/sravya.talanki2/blog/2005/08/16/configuring-generic-sender-file-cc-adapter

But my result is always like this:

<Recordset>

<Data>

<Row>ABC;DEF;GHIJ

</Data>

</Recordset>

<Recordset>

<Data>

<Row> KLM;NOP;Q

</Data>

</Recordset>

<Recordset>

<Data>

<Row> RSTU;VW

</Data>

</Recordset>

….And not like I wished….

Can anybody help me…?

Greetings

Tobias

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