on 07-02-2008 8:02 AM
Hi All,
I am doing a RFC to File scenario in which i need to create a file with following structure:
Item11 Item12 Item13
Item21 Item22 Item23
Item31 Item32 Item33
....
I am able to generate a file which is tab delimited but all the next line items I'm getting continution of the first line..
The file that i am getting is as follows:
Item11 Item12 Item13 Item21 Item22 Item23 Item31 Item32 Item33
I need a new line between each Item level . For rest all parameters are working fine.. that means.. Filed seperator (tab delimited or ,$ every thing is working .. except this new line).
In my file receiver adaptor in Content Conversion I have made following settings:
Data.fieldSeparator = '0x09'
Data.endSeparator = 'nl'
I tried with 'nl' ,'0x0D' ,'\n' .. ect... those all options but those ar not working for getting in a new line... if i keep endSeparator as $ means it is working ... but i want to keep each level in a new line..
Can anybody plz suggest where i am going wrong? Or is there anything else i should do?
Thanks,
Jain
Try removing
Data.endSeparator = 'nl'
as newline is default endSeparator.. even if you dont mention it should work..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which tool are you using to open the output file.
If you are using Notepad use Wordpad instead .Sometimes it hppens that new line is present but not seen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check your Message type structure , it should be in the below format
<Docname>
<Recordsetname>
<sub1>
<f1>
<f2>
</sub1>
<sub2>
<f1>
<f2>
</sub2>
now you can assign 'nl' for <sub1> and <sub2> only....
eg:
Orders
Header
OrdNo
Sorg
Items
matno
units
Quant
Now you can asssign 'nl' like below
Header.endSeparator = 'nl'
Items.endSeparator = 'nl'
- Satish
User | Count |
---|---|
86 | |
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.