cancel
Showing results for 
Search instead for 
Did you mean: 

idoc is recieved as xml format instead of text format

Former Member
0 Kudos

hi i am new to XI , I am right now i am trying with Idoc to file scenario

i am sending idoc from an R/3 system and i am receiving it as file in another R/3 system. In accordance to that i have designed & configured all settings, But when i am sending idoc thru my communication channel i am able view a '" *.txt " file with all my necessary details in xml format instead of text format.

desin details

my source and target fields are

FLCUSTOMER_CREATEFROMDATA idoc to the file which as the only few important fields of idoc.

configuration details

in communication cahnnel :

adapter type : file

message protocol: file

processing parameters:

constructution mode : create

file type : binary

advance mode

row.fieldNames : with its fields seperated buy comma

row.fieldSeparator : ,

row.endSeparator : 'nl'

i stuked up with this level for the past 10 days ur valuble suggestion will help me lot to reach my target

Regards

saravanakumar P.K.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello,

this blog is about this topic:

/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

Regards

Patrick

Former Member
0 Kudos

Hi

when u do the idoc to file scenario u do not need to create the sender commnuication channel.

u will trigger the idoc from theR/3 system.

u just have to create the receiver channel.

The content conversion at the receiver side can be handled at the three levels only.

Thanks

Rinku

nisarkhan_n
Active Contributor
0 Kudos

You have selected the wrong message protocol: to get an file not XML you should select File Content converion as message protocol

change it to folowing

configuration details

in communication cahnnel :

adapter type : file

message protocol: file content conversion

processing parameters:

constructution mode : create

file type : binary

advance mode

row.fieldNames : with its fields seperated buy comma dnt use this

row.fieldSeparator : ,

row.endSeparator : 'nl'

specify only field sepratator and endseparator dnt have to specify fielnames for receiver adapter in contant conversion.

Former Member
0 Kudos

hi Nisar Khan

Really happy with ur suggestions, and we have tried with the same values as u sugested but now communication status is with the following error

"

Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '.fieldFixedLengths' or '.fieldSeparator' is missing "

but i have specified field separator and end separator .

can u tell me what should i specify in the "Recordset Structure" and in the conversion parameters for my case.

Regards

Saravanan PK

nisarkhan_n
Active Contributor
0 Kudos

post your data type strucutre..

Former Member
0 Kudos

the data type structure is

record

row

NAME

FORM

STREET

POBOX

POSTCODE

CITY

COUNTRYCODE

COUNTRY_ISO

REGION

PHONE

EMAIL

all the fields are of type 'string' with occurrence 1. I have mentioned all fields in its orginal case as it is defined in the integration builder.

Regards

Saravana kumar PK