cancel
Showing results for 
Search instead for 
Did you mean: 

FCC in receiver side in idoc to file scenario

Former Member
0 Kudos

Hi all,

I am doing an idoc to file scenario using FCC .I am using FCC in receiver side ,but i am getting my output file in only one line while i want structre to be seprated by new line.for more information i am giving muy file structre.

Record

header(1to1)

data (0 to unbounded)

footer (1to 1) header, data, footer are three structre which contain various fields.I have to use fieldFixedLengths as filed separator. I am also using endseperator as 'nl' but its not coming in new line.Please share ur views on this issue.

Regards

Neha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ahmad

I am using endSeparator only sorry for metioning it wrong in my reply

ex: Header.fieldFixedLengths= 4,6

Header.fixedLengthTooShortHandling=ignore

Header.endSeperator='nl'

same procedure iam using for data and footer .

Former Member
0 Kudos

Neha,

Instead of endSeparator 'nl' try this out: '0x0D''0x0A'

Remove 'nl' and put '0x0D''0x0A' for endSeparator and give a try once again.

Regards,

---Satish

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Satish

thanks a lot .it worked.............

Former Member
0 Kudos

HI Ahamed

my source file structre is not much complicated my header ,data , footer fields r coming in one line irrespective of mentionoing endseparator as 'nl'.

<record>

<header>

id

glncode

<data>

1.

2.

to 10 field

<footer>

1

2 (two fields)

Former Member
0 Kudos

Hey

just wanna make sure

hope you are using endSeparator(with a capital <b>S</b>) and not endseparator,right?

endseparator wont work,its case sensitive.

Thanx

Ahmad

Former Member
0 Kudos

Roy,

Can you please give the content conversion parameters and the record set structure and a sample payload of your receiver communicaiton channel so that somebody can assist you further.

Regards,

---Satish

Former Member
0 Kudos

hi neha,

In your scenario

Recordset Structure header,data,footer

header.fieldFixedLengths = 1,2,3, whatever it is

data.fieldFixedLengths = similar to header

footer.fieldFixedLengths = similar to header

header.endSeparator = 'nl'

data.endSeparator = 'nl'

footer.endSeparator = 'nl'

I guess you dont have to do any thing else.

Regards

Pushkar

Message was edited by:

Pushkar Anand

Former Member
0 Kudos

hi,

check it:

<a href="http://help.sap.com/saphelp_nw70/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm">http://help.sap.com/saphelp_nw70/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm</a>

Former Member
0 Kudos

Hey

one disadvantage of FCC is that it doesn't work for very complex nested structures.

can you please send the Receiver file structure so that we will be able to help more

Thanx

Ahmad