cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Entire Flat file(2.35 MB) in single record

Former Member
0 Kudos

Hi

Currently iam trying to get the Entire flat file of size (2.35MB , containing (25 lak characters) in to PI , but the file is picking only 7000 characters .

My file not contains any keyfield name or fieldseperator and end seperator, so based on fixed length iam currently splitting record using UDF by making entire file in a single string , but while doing FCC iam getting only 7000 character so my mapping got failed.

please suggest on this how to approach on this to get entire flat file in single record.

regards

pavan.

Accepted Solutions (0)

Answers (2)

Answers (2)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Have you seen this link?  There are three approaches specified. Try using scanner class especially in your UDF.

http://abhinandanmk.blogspot.com/2012/05/java-how-to-read-complete-text-file.html

former_member223322
Active Participant
0 Kudos

Try to declare the record set structure with multiple occurrence and btw what is the fieldLength value that you are using? Also try checking the below blog.

http://wiki.sdn.sap.com/wiki/display/XI/Read+Input+Text+File+as+a+Single+Field.

~Srini