cancel
Showing results for 
Search instead for 
Did you mean: 

how to handle preceding space characters in file to file(FCC on both sides)

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (2)

Answers (2)

former_member190389
Active Contributor
0 Kudos

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.

vijay_b4
Active Contributor
0 Kudos

Hi Nagaraju,

Try this:

In the Datatype....goto attributes and select white space

preserve option.

Regards

Pragathi.