cancel
Showing results for 
Search instead for 
Did you mean: 

File Adapter in XI 3.0

Former Member
0 Kudos

Hello

I have the following scenario in XI 3.0:

- sender interface: RFC adapter

- receiver interface: File adapter

The file which is created by the file adapter is an XML

file with the following content:

<rfc:Z_PROCESSORDER xmlns:rfc="urn:sap-com:document:sap:rfc:functions">

<I_TEXT>Hallo</I_TEXT>

<I_ID>0000001005</I_ID>

</rfc:Z_PROCESSORDER>

What I would like to have is not an XML file but

a file which only contains:

Hallo

0000001005

I am using the file adapter of the J2EE-Adapter Engine

which is new in XI 3.0.

Is this possible with this file adapter or do I have

to use the file adapter of the "Plain J2SE Adapter Engine"

(which correspondes to the 'old' XI 2.0 adapters).

Best regards,

Stefan

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

I this link is useful for receiver adapter config.

http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm

regards,

sachin

Former Member
0 Kudos

you have first to convert your structure to something like .

<resultset>

<row> <<<<<<<<<<<<<<<<<<< this is the important bit

<TEXT>Hallo</TEXT>

</row>

<row>

<TEXT>0000001005</TEXT>

</row>

</resultset>

if you want something like :

Hallo;00000000105

the structure needs to look like

<resultset>

<row> <<<<<<<<<<<<<<<<<<< this is the important bit

<TEXT>Hallo</TEXT>

<TEXT2>0000001005</TEXT2>

</row>

<row>

</resultset>

configuration parameters are very similar to those in the plain adapter engine.

Former Member
0 Kudos

Mathias,

The example you give is very nice , however in the channel configuration I cannot choose the message protocol 'File With Conversion' but only 'File'. I therefore cannot give it any parameters .....how do I configure this ?

MakotoS
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Achmed,

In File Adapter Receiver,Message Protocol "Content Conversion" is possible to choose from SP Stack 04.

Please apply SP-Stack 04 .

Makoto

Former Member
0 Kudos

Thank you very much

Former Member
0 Kudos

yes,i has get the structure just as

<resultset>

<row>

<TEXT>Hallo</TEXT>

</row>

<row>

<TEXT>0000001005</TEXT>

</row>

</resultset>

and i just want the file like :

hello

00000001005

then, how to input the conversion parameter?

i not clearly understand what the online help has said

Former Member
0 Kudos

Change <TEXT>Hallo</TEXT> to <TEXT>hello</TEXT> to get your desired output....

Former Member
0 Kudos

hi Matthias,

You have described problem nicely. I am using XI 3.0 SP 5. I wish SAP makes their online documents this clear Well I am facing simillar problem where in structure like

<resultset>

<row> <<<<<<<<<<<<<<<<<<< this is the important bit

<TEXT>Hallo</TEXT>

<TEXT2>0000001005</TEXT2>

</row>

<row>

<TEXT>Hallo</TEXT>

<TEXT2>0000001005</TEXT2>

</row>

</resultset>

needs to be converted to

Hallo,0000001005

Hallo,0000001005

Unfortunately I find the documentation too cryptic (they have mentioned content conversion in this link

http://help.sap.com/saphelp_erp2004/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm

)

Is the same applicable for outbound j2ee File / FTP adapter?

What should be record set structure on configuration screen? Should it be <row, *>

Thanks for your help!

sachin kotalwar

Former Member
0 Kudos

Hi Stefan,

Is this a specific thing you are asking with XI 3.0 perspective or something in general.

I am working in XI 2.0, so if its not a version specific question I may be able to provide some inputs.

Ashish

Former Member
0 Kudos

Hi Stefan,

I was wondering if you had found an answer to this question as I am facing the same problem,

Kind regards,

Achmed