2015 Oct 19 3:42 PM
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.
2015 Oct 19 4:18 PM
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
2015 Oct 19 4:18 PM
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
2015 Oct 19 4:30 PM
Thanks for the answer R .
Have you tried by yourself , or excists any SAP NOTE that tells about this length parameter ?
Toni
2015 Oct 19 4:36 PM
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
2015 Oct 19 4:44 PM
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
2015 Oct 20 1:54 PM
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
2015 Oct 20 2:05 PM
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 !
2015 Oct 20 2:14 PM
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
2015 Oct 20 2:20 PM
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