on 07-22-2008 3:49 PM
Hi All,
We have scenario with file to file (FCC on both sides).
Issue is: Sender side we are converting source file (CSV) into XML. But while converting it is ignoring preceding spaces.
Example:
Suppose Source file(CSV) contains one record as mentioned below ( for ur understanding purpose I mentioned 'X' instead of space. )
XXXXXXXXXX12345 78945 23548 23446
The above record is getting converted into XML as
<text>12345 78945 23548 23446</text>
But we need the record to be converted into XML as mentioned below
<text>XXXXXXXXXX12345 78945 23548 23446</text>
i.e we need spaces before "12345" also.
As both sender and receiver having same structure, we are not using any mapping also.
Please suggest in this regard.
Thanks & Regards,
Nagaraju
Hi,
In your sender content conversion use the parameter:
NameA.fieldContentFormatting nothing
For further ref:
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm
Regards,
Manjusha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you tell me how this problem was solve?
I want the space succeeding the value not to be ignored.
I am using fieldfixedlengths.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nagaraju,
Try this:
In the Datatype....goto attributes and select white space
preserve option.
Regards
Pragathi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.