2008 Aug 13 7:29 AM
hi friends.
my program allowed this error.
read_report_line_too_long
what do I do ?
help me please
hi friends.
my program allowed this error.
read_report_line_too_long
what do I do ?
help me please
2008 Aug 13 7:32 AM
report line should be 72 chars. if it exceeds then you get that error.
i guess you are reading the report using READ REPORT.
make sure that line-size not more than 72 chars.if it custom change the code line which are more than 72chars.
2008 Aug 13 7:33 AM
Try this.
In SE38,
Utilities - > ABAP EDITOR - > EDITOR - > Click on Downward - comp.line length(72).
Open Your Program,
Click Pretty Printer.
Activate your Program.
2008 Sep 23 4:21 PM
Thank you very much, this works great and is a quick solution to the length problem. I would like to add points for you. How do you do that?
Cindy
2008 Aug 13 8:21 AM
2008 Aug 13 8:36 AM
In that dump Screen click on debugger and send me that details.
2008 Aug 13 8:38 AM
Don't do any setting changes, try to modify the code if it is custom namespace.
assume this the code with more than 72chars..
read table itab into wa_itab with key matnr = v_matnr vbeln = vbeln transporting something binary search
you have to break that into two lines like the below..
read table itab into wa_itab with key matnr = v_matnr
vbeln = vbeln
transporting something binary search
where ever you find the line more than 72 chars you change it. not event comment lines should not exceed more than 72 chars.
what are you doing exactly can you let me know..
if you are using READ REPORT if you have a program with more than 72 chars length then you will end up with that error. see the standard SAP documentation
DATA prog TYPE c LENGTH 30.
DATA itab TYPE TABLE OF string.
prog = '...'.
READ REPORT prog INTO itab.
Catchable Exceptions
CX_SY_READ_SRC_LINE_TOO_LONG
Cause: At least one line of the source code is longer than the rows of the internal table itab.
Runtime Error: READ_REPORT_LINE_TOO_LONG
2008 Aug 13 9:06 AM