cancel
Showing results for 
Search instead for 
Did you mean: 

FCC

former_member240483
Contributor
0 Kudos

Hi all,

In one of my scenario i am picking a file from the source ..Data is in the form of string.

in the begining of the string there are some spaces we expecting those spaces ,,

but after FCC CC trimming those spaces into single space.

COuld anyone tell me how to get the spaces as same as in the source file..

Thanks for your time.

Regards

PT

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Specify NodeName.fieldContentFormatting = nothing

so that spaces are not ignored

Refer for sender CC

http://help.sap.com/saphelp_nw70/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm

Edited by: Mugdha Kulkarni on Aug 20, 2008 12:51 PM

former_member240483
Contributor
0 Kudos

Thanks Mugdha,

I will go through the doc do some test..

Thanks

PT

former_member240483
Contributor
0 Kudos

Hi,

I tried with

field.fieldContentFormatting as nothing

but it is not working ,i am gettings ame result as earlier.

i configured IN FCC as.

ignoreRecordsetName ture

Field.fieldNames string,

Field.fieldSeparator ,

Field.endSeparator nl

field.fieldContentFormatting nothing

to get the string from a file and conver without trimming the spaces,but in MONI it is showing still only one space instead on n number.

could anyone help me out.

Regards

Rao

Former Member
0 Kudos

MONI will not show you those white spaces,

In MONI, open your message, right click and view source, that will open your payload in notepad file.. there you will find white spaces

former_member240483
Contributor
0 Kudos

Thanks Mugdha,

forgot that..thanks for reminding.

i am getting index error in Java mapping while reading the file thought of this spaces ..now have to look into code ..

Regards

PT

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

in FCC parameters give like this, it will surely work for u

HEADER.fieldSeparator GIVE SPACE HERE

Thanks,

Madhav

Note:Points if useful

former_member192295
Active Contributor
0 Kudos

Hi,

You want same source format as target format better configure bypass scenario, you can get same structure along with space.

For bypass scenario below link help u

If source and target structure is different but you want space, include below statement in FCC

str.fieldContentFormatting 'nothing'

space will come as source