cancel
Showing results for 
Search instead for 
Did you mean: 

Using FCC

Former Member
0 Kudos

Is there anyway that using FCC we can read entire content of a txt file with no particular structure into a source field?

Accepted Solutions (1)

Accepted Solutions (1)

former_member190389
Active Contributor
0 Kudos

if you have a new line character that indicates the end of file then you can use it in FCC to get entire content in a single field.

FiledName.endSeparator should be 'nl' then

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi...

You can send the entire structure of your text file. Withour IR you can achieve this.Find the below link. William Li explains the step by step procedure .

Regards,

Leela

Former Member
0 Kudos

Hi Leelaratnam,

I have already implemented this but i have to add some headers like filename

to the txt file.So i think i cant use this part?can I

Former Member
0 Kudos

Dear Anoop,

For FCC you need to have a proper delimition in the source file,oterwise you dont have any option to make FILE adapter underrstand the file structure na dconvert it into XML.

Or if you just want to send the whole file as it is ---you dont need any mapping or even no design in IR.Just do the config part in ID .

Abhishek Paul.

Former Member
0 Kudos

Hi Abishek,

I have to add headers along with this message which will be filename.So I should be using Design.Is there any other option?

santhosh_kumarv
Active Contributor
0 Kudos

Hi Anoop,

Try the solution given out in this thread by shabarish

Thanks

SaNv...

Former Member
0 Kudos

Hi Santhosh,that link is not working

santhosh_kumarv
Active Contributor
0 Kudos

Hi Anoop,

I have created a wiki on the same... [Read Input Text File as a Single Field|https://wiki.sdn.sap.com/wiki/display/XI/ReadInputTextFileasaSingle+Field.]

Jus try with this and let us know.

Thanks

SaNv...

Former Member
0 Kudos