Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Application file output truncated

Former Member
0 Likes
1,098

Hi,

I am transferring data from an internal table to output file on application server,
but when I check in AL11, I see the line is truncated.

I've stepped thru the Debugger and see that the fields are showing in the table.
When the table is transferred however and I look at the file, data is missing.


In other post I read there is a limitation that only 255 characters will be seen in the AL11 file.

This limitation is just for displaying, though the data would actually be written.

So I downloaded the file using CG3Y and found it to be true. Entire file is written but not visible in AL11.


Now my question is: Is there a way I can the entire file in AL11 (stretched more than one line -- maybe 2-3 lines).

If yes, what needs to be done to accomplish this.


Thanks in advance for your comments and suggestions.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
831

Hi,

This is a standard behavior of AL11 where it displays only the first 255 characters.

What you can do do is to write using a  newline character after each 254 characters CL_ABAP_CHAR_UTILITIES=>NEWLINE or CR_LF and try .. but in that case while reading you have to build a custom logic to read the correct data. Maybe appending some character( * or ! ) at the end .

R

Hi,

I am transferring data from an internal table to output file on application server,
but when I check in AL11, I see the line is truncated.

I've stepped thru the Debugger and see that the fields are showing in the table.
When the table is transferred however and I look at the file, data is missing.


In other post I read there is a limitation that only 255 characters will be seen in the AL11 file.

This limitation is just for displaying, though the data would actually be written.

So I downloaded the file using CG3Y and found it to be true. Entire file is written but not visible in AL11.


Now my question is: Is there a way I can the entire file in AL11 (stretched more than one line -- maybe 2-3 lines).

If yes, what needs to be done to accomplish this.


Thanks in advance for your comments and suggestions.

1 REPLY 1
Read only

Former Member
0 Likes
832

Hi,

This is a standard behavior of AL11 where it displays only the first 255 characters.

What you can do do is to write using a  newline character after each 254 characters CL_ABAP_CHAR_UTILITIES=>NEWLINE or CR_LF and try .. but in that case while reading you have to build a custom logic to read the correct data. Maybe appending some character( * or ! ) at the end .

R