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: 

Runtime Error: READ_REPORT_LINE_TOO_LONG

Former Member
0 Kudos
2,830

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

1 ACCEPTED SOLUTION

Former Member
900

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.

8 REPLIES 8

Former Member
0 Kudos
900

i hope you have passed the table name to * I_INTERNAL_TABNAME =*

instead pass it to * I_STRUCTURE_NAME =*

0 Kudos
900

Hii Soumya..

Can you please explain it in detail with certain example.

Regards,

Sany..

Former Member
900

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

Former Member
901

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.

0 Kudos
900

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..

0 Kudos
900

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.

0 Kudos
900

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

0 Kudos
265

Thank you, I had this error for 2 hours, as soon as I checked the box, as if by magic, the error was solved.