on 12-15-2005 7:27 PM
Hi,
This is my target structure which i need to convert to text file. (File Content Conversion)
<b>Header1 1-1(Occurence)</b>
|_
Field1 1-1 (Occurence)
Field2 1-1 (Occurence)
<b>Header2 1-1(Occurence)</b>
|_
Field3 1-1 (Occurence)
Field4 1-1 (Occurence)
<b>Header3 1-1(Occurence)</b>
|_
Field5 1-1(Occurence)
<b>Header4 1-Unbounded(Occurence)</b>
|_
<i><b>SubHeader1 1-1 (Occurence)</b></i>
|_
Field6 1-1(Occurence)
<i><b>SubHeader2 1-1 (Occurence)</b></i>
|_
Field7 1-1(Occurence)
<i><b>Subheader3 1-Unbounded(Occurence)</b></i>
|_
Field8 1-1(Occurence)
Field9 1-1(Occurence)
<i><b>Subheader4 1-1</b></i>
|_
Field10 1-1 (Occurence)
<b>Header5 1-1 (Occurence)</b>
|_
Field11 1-1 (Occurence)
The target structure must be converted to a text fiel in the following format:
Header1
Header2
Header3
Subheader1
SubHeader2
SubHeader3(Repeats)
Subheader4
Subheader1
Subheader2
Subheader3(Repeats)
Subheader4
.
.
.
.
Header5
I have to make use of File Content Conversion. Please guide me as I am new to XI.
Thank you very much.
BestRegards,
Prits
Hey,
Thank you all very much for the help.
But guys my structure is a deep one. It has got three levels.
The scenario I am working on is PROXY TO FILE.
Anyways I have modified my proxy program to suit my criteria. Now I have a Data Type Named 'FIELD' which is a string and 80 characters long and occurence is 0...unbounded. I am getting all the data into my target , now i need to convert it into text.
What I have done in my configuration builder is as follows:
Record Structure : FIELD
<b>Name</b>-> <b>Value</b>
FIELD.addHeaderLine-> 0
FIELD.fixedLengthTooShortHandling-> Ignore
FIELD.absoluteRowWidth-> 80
Thank you all very much.
Best Regards,
Prits.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Follow the blog
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
regards
Shravan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prits,
Also make sure that the expected XML message format for content conversion in the receiver file adapter should be of the format shown below..
*******
If you have selected File Content Conversion under Message Protocol, you can convert a table in XML format to pure text format in this mode. The expected XML structure contains the structure as nodes filled with any number of elements without additional subnodes.
The expected document structure usually looks like this:
<root>...
<nameA>
<value1>value</value1>
<value2>value</value2>
<value3>value</value3>
</nameA>
<nameB>
<value4>value</value4>
</nameB>
...
</root>...
***********
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Regards
Anand
Prits-
Lot of information is available in SDN when you do a search on 'Receiver File Adapter'.
Also refer http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
Give your email, I can send a PDF document as well
Thanks
KK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.