Application Development 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: 

Maximun characters/line to be written in a .txt file in AL11 ???

ealimeta
Participant
0 Kudos

Hello guys .

Has anyone tried before which is the MAXIMUM NR OF CHARACTERS THAT CAN BE WRITTEN IN LINE  of a .TXT file in AL11 ?

Does AL11 has any limits on the file size that can be created


Thanks in advance.
Toni.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

There used to be a limitation of storing up to 1500 characters in Application Server(Please note AL11 is simply a  too to display application server file and only displays 255 characters) in release 46C. Not sure if it still valid. A quick program can be written to check this in newer version.

R

8 REPLIES 8

Former Member
0 Kudos

Hi,

There used to be a limitation of storing up to 1500 characters in Application Server(Please note AL11 is simply a  too to display application server file and only displays 255 characters) in release 46C. Not sure if it still valid. A quick program can be written to check this in newer version.

R

0 Kudos

Thanks for the answer R .

Have you tried by yourself , or excists any SAP NOTE  that tells about this  length parameter ?

Toni

0 Kudos

No I haven't tried to write any program for this as I never needed this ( Or else I would have written already ).

Some days back I tried to find some SAP notes on this, but could not find any. So not sure if any note on this is available.

May be you should rephrase your question a little bit and let us know why do you want to know the limitation. Which scenario it is affecting you?

R

0 Kudos

There are a couple of notes  in SAP SERVICES NOTES   that  indicate
some limitations  on  AL11  and CG3Y  CG3Z    on 512 Characters/ line  and FM GUI_UPLOAD/DOWNLOAD  to 1024 / line .

The scenario is like this ,
If  i read a single record from BKPF  when  lets suppose that all the fields have values at their max capacity ,  a single line would have around 700 digits/line  and if you do same thing for BSEG  around 2100 digits / line .

If this data gets truncated by this FM's  or t-codes  , it means a  pain in the ass for whoever tries to use this files .

Don't know if you got my point .
Hope so   .

Anyway thanks again for the answer man

Juwin
Active Contributor
0 Kudos

elton alimeta wrote:

If this data gets truncated by this FM's  or t-codes  , it means a  pain in the *** for whoever tries to use this files .

If someone tries to read the file in an inappropriate way and complain that the file is incorrect, that's his problem not yours, isn't it?

None of the limitations you mentioned are limitations of OPEN DATASET/TRANSFER/READ DATASET, which are used to write/read files in ABAP. So, go ahead with as many characters as you want. I have personally used upto 5000 characters per line.

The only issue you may face is if the operating system limits the file size.

Thanks,

Juwin

0 Kudos

Hello there .
Firstly thanks for taking time to answer to my question 


Yeah , the hot point of my question was exactly that of the limitation in char number per line on a .txt file that's gonna be written in AL11 .
I am taking in consideration the fact that you have already tried it by yourself , and gonna try it down now .

Thanks again !

Juwin
Active Contributor
0 Kudos

elton alimeta wrote:


a .txt file that's gonna be written in AL11 .

That's a misconception. Files aren't written in AL11, rather they are on app server. AL11 is just a browser for app server directory. It may have limitations of it's own, but those limitations doesn't impact the way how files are written on the server.

Thanks,

Juwin

0 Kudos

Yeah ,  i know that the files are stored in Application Server  and AL11 is the T-CODE to search the directories and files  stored on the AS .
In fact AL11  has its own limit on displaying max 512  char/line ,
and when I posted this question  I thought same limitations would affect even the storage of a file in AS , but now that's clear , thanks again   .

Toni