cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with text lenght in file adapter

inigo_sacramento
Participant
0 Kudos

Hi everyone.

I'm trying to move a file from a folder to another one.

Problem is that this file (plain text) contains only one field per row but this field contains more than 2000 chars.

When i get the result file, i only have the first 256 chars per row.

Is there any way to get the 2000 chars in destiny using XI ?

Regards,

Iñigo.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Inigo,

Gr8 you solved it...

BTW can you let me know about which program you are talking about...As per me you were directly picking the file and posting it into another Place ...

So about which program you are talking about..?

Regards,

inigo_sacramento
Participant
0 Kudos

Hi everyone.

I've found the problem. everything in XI was fine.

problem was in the program that upload the files that only allow 256 chars per row.

I've changed it to string and now works.

Sorry.

Inigo.

Former Member
0 Kudos

Inigo,

Is your File type and transfer mode both are binary..?

Regards,

Former Member
0 Kudos

--->sender file adapter catch the file with rows of 400 chars ...

How did you made this..?

Try by removing this thing..

Regards,

inigo_sacramento
Participant
0 Kudos

Hi.

remove what?

I have to move a file with its content to another folder.

This files has only 1 record per row and this record has more than 400 chars.

Problem is that in destiny file, i only have the first 256 chars of each record of each row.

I've changed in adapters, the file types and encodings but nothing.

Understand?

Regards,

Inigo.

GabrielSagaya
Active Contributor
0 Kudos

Hi

you can use absoluteRowWidth parameter to restrict

<b>Fixed Column Width of the Text Document:</b>

<i>NameA.absoluteRowWidth=<noOfColumns></i>

If the separators do not contain any line breaks, the text document is generated as a single line of text. To restrict the width of the text, use this parameter. <noOfColumns> represents the maximum number of columns in this case. This parameter also functions together with the specification of a line break for xml.endSeparator.

<i>

This value requires NameA.addHeaderLine=0 to be specified.</i>

please go through the site

http://help.sap.com/saphelp_nw04s/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm

Former Member
0 Kudos

Hi Inigo,

<b>Try to send the data in binary format.</b>...Make changes in configuration channel and then let me know..

Regards,

inigo_sacramento
Participant
0 Kudos

Hi.

I've tried changing binary, text and encodings types.

The scenario i've developed is like this :

sender file adapter catch the file with rows of 400 chars ...

In integration directory i have a receiver determination with sender, a file sender adapter and as receiver, the receive file adapter. As message interface i use a dummie one.

I only want to move a file from a folde rto another folder.

Regards,

Inigo.