on 01-02-2007 9:46 AM
Dear all,
Could you please tell how and why content conversion is performed? I sit only for File adapters?
Regards,
Ashish
Ashish,
In rela time scenarios when you deal with legacy applications, most of them will generate data as Files. Now as you know, the message that hits the integration engine of XI has to be in XML format for successful processing.
The legacy systems do not directly create XML files but instead create file in different formats like a CSV file, In such cases, you use the File Adapter's COntent Conversion to convert the Flat strucutre to an XML strucutre.
><i> Isit only for File adapters?</i>
You use Content Coonversion for JMS adapters as well. But you use the MessageTransfromationBean ( standartd module ) to do this.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For further info on how to use the message transformation bean to do the conversion, this article should help,
Regards
Bhavesh
HI
If you have selected File Content Conversion as the message protocol, you can convert a text file that contains complex structures into an XML source format in this mode. The file contains various row formats in logical structures.
document structure usually looks like this:
<root>...
<nameA>
<value1>value</value1>
<value2>value</value2>
<value3>value</value3>
</nameA>
<nameB>
<value4>value</value4>
</nameB>
...
</root>...
Just have a look at these links:
<a href="/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file:///people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
<a href="/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2:///people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
<a href="/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30:///people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
Regards,
Gunasree.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ashish I recommend you to read this series /people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii and know everything yourself without the need of asking anyone.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashish,
Yes the content conversion is performed for the File Adapters.
The reason why this is performed is because XI understands only XML and if the file that XI is picking up using the file adapter is not of type xml then the content conversion has to be performed. the content conversion is done keeping in mind the xml that should be formed and sent to the XI by the adapter.
Please refer to the below links
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
Hope this helps
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It is true that content conversion is only for File adapter.
It is used when a .txt file or .dat file needs to be converted into an xml format.
Using this file content conversion protocol,u can convert a tab separated or comma separated file into an xml structure according to ur requirements.
When the file is not in the form of a xml structure then we use content conversion to convert that file into xml structure.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashish,
Content Conversion is basically to convert a text file that contains complex structures into an XML source format and vice versa. It is present only in the File Adapter because it is one of the message protocol which will convert the structure to a desired format.
There are many blogs for File Content Conversion. Some of them are listed hereunder:-
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
You may also check the FCC documentation for Sender and Receiver:-
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Regards.
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.