quarta-feira, 4 de janeiro de 2012

Does AL11 truncate the content of file?

The transaction AL11 is used to display files and folders. It call the report RSWATCH0.
If you want to display a file, there is a limit in the databuffer that do not display more than 512 charachter in a single line. If the line is bigger of 512 charachter, it is truncated.

You can change the report to increase the line size until 1024 charachters.
Below you do find and example in how to do it and the code that you have to change to take in place this change.

Edit the report RSWATCH0 and perform these changes. I am not providing the line number for each change because this can change as per the Support Pakcage and kernel release.

Change from:
program rswatch0 message-id s1 no standard page heading line-size 512.

[...]
data buffer type c length 512

[...]
new-line.
write at 1(512) buffer.
else.


To:
program z_rswatch0 message-id s1 no standard page heading line-size 1023.

[...]
data buffer type c length 1023.

[...]
new-line.
write at 1(1023) buffer.
else.

Nenhum comentário:

Postar um comentário