cancel
Showing results for 
Search instead for 
Did you mean: 

purpose of message protocol file and file content conversion

Former Member
0 Kudos

hi

i am currently working in idoc to file scenario,

In what cases we will go file and file content conversion in message protocol for file adapter.

can anyone specify the real significance of it? bcoz this may help me and continue my scenario in its suitable path.

Regards

Saravanakumar PK

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

In XI (internal) all XML message are based on the XI Message Protocol.

See: http://help.sap.com/saphelp_nw70/helpdata/en/b6/0b733cb7d61952e10000000a11405a/frameset.htm

XI Protocol is nothing but an SAP XI extension of SOAP protocol and SOAP protocol is nothing but a SOAP request in a HTTP protocol. SOAP request is nothing but SOAP extension of an XML message. Hence finally it drill downs to the fact that XI message is in fact an XML message with some extra information in the header which are SAP specific like the SAP Runtime, SAP Hoplist, etc...

File Content Conversion

Integration Engine understands only XML messages.Now if u r handling normal text file such as 'tab separated' file,'# separated' file, or a CSV file, you need to convert the content of the file to XML and File Content Conversion mechanism helps to do this job.This File Content conversion mechanism(option)is present with the File Adapters.both Sender and Receiver.

How to do FCC:

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

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

/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30

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

/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file

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

/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file

/people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp

Thanks

Swarup

justin_santhanam
Active Contributor
0 Kudos

Saravanan,

Let say you want to give the output of the file as Comma Separated file, then u need to go for File Content Conversion. If you want to give the output as XML file then u need to choose File.

Hope it helps!

raj.