2009 Aug 19 8:25 AM
Hii All,
I have created a report in ALV. i have used the function module "REUSE_ALV_FIELDCATALOG_MERGE".I have debugged the whole report but when watch point comes at this fynction module it gives runime error as READ_REPORT_LINE_TOO_LONG.
Can anyone help me why this error is coming and how to handle this.
Regards,
Sany
2009 Aug 19 8:40 AM
Hi,
To Fix this short dump in the report program Just go through the program and see there would be any line present in the report exceeds beyond 72 Character. So just Make sure no line should contain the text or any statement Beyond the 72 Characters.
If you are using the latest editor of ECC 6.0, then you will have the option in settings also.
SE38 -> UTILITIES -> SETTINGS -> ABAP EDITIOR -> EDITOR -> Please check the check box for 'DOWNWARDS~Comp. Line Lngth(72),
Automatically when you use PRETTY PRINTER, it will remove the line exceeding 72 char and will come in the next line.
Regards,
Santhosh.
2009 Aug 19 8:33 AM
i hope you have passed the table name to * I_INTERNAL_TABNAME =*
instead pass it to * I_STRUCTURE_NAME =*
2009 Aug 19 8:38 AM
Hii Soumya..
Can you please explain it in detail with certain example.
Regards,
Sany..
2009 Aug 19 8:39 AM
Hi sany,
This runtime error READ_REPORT_LINE_TOO_LONG is because your report Contains the lines beyond 72 Characters.
To Fix this in the report program remove the lines present in the report which exceeds beyond 72 Characters. So just Make sure no line should contain the text or any statement Beyond the 72 Characters.
Hope, this helps...
Vinod
2009 Aug 19 8:40 AM
Hi,
To Fix this short dump in the report program Just go through the program and see there would be any line present in the report exceeds beyond 72 Character. So just Make sure no line should contain the text or any statement Beyond the 72 Characters.
If you are using the latest editor of ECC 6.0, then you will have the option in settings also.
SE38 -> UTILITIES -> SETTINGS -> ABAP EDITIOR -> EDITOR -> Please check the check box for 'DOWNWARDS~Comp. Line Lngth(72),
Automatically when you use PRETTY PRINTER, it will remove the line exceeding 72 char and will come in the next line.
Regards,
Santhosh.
2009 Aug 19 8:53 AM
Hey Thanks Santhosh your reply was very effective.I got my output without any error.
But can you explian me why this error occured because i used the path you said and then used prety printer.
I want to know why exactly this runtime error occured.
Thanks again for your reply..
regards,
Sany..
2009 Aug 19 9:32 AM
This error occured cause SAP doesnt adopt their structures according to the fact that the column limit of 72 characters isnt valied in ERP any more. But still a lot of function are working with variables declared as c(72). The merging of the field catalog is solved very weired, the report is reading his own structure using an unconverted function module with c(72). If you use more then 72 characters your report will dump.
SAP is now aware of this error for years now (i myself opend a call for that) but still the only advide youre getting is to shorten your lines. Ridicolous.
2009 Oct 05 8:47 AM
Dear Santhosh,
Your solution helped me to get out of same error which I was facing.
Thanks a lot all of you.
regards,
Prakash Kunte
2024 Oct 20 9:53 PM
Thank you, I had this error for 2 hours, as soon as I checked the box, as if by magic, the error was solved.