‎2009 Apr 13 3:46 PM
Hi gurus!
I ran this report of mine and it was running ok till now. When I ran the report this morning again its runnig into runtime error even when no changes were made to the report . I am getting the following error in my report. COuld anyone please let me know where the program is goiing into runtime error.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_READ_SRC_LINE_TOO_LONG', was
not caught in
procedure "K_KKB_FIELDCAT_MERGE" "(FUNCTION)", nor was it propagated by a
RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
There was an attempt to read program "Z_LIST_T01" from the database.
The READ REPORT statement allows you to copy a program text into an
internal table. The occupied line length in the program text must not
exceed the width of the internal table.
The internal table "\FUNCTION=K_KKB_FIELDCAT_MERGE\DATA=L_ABAP_SOURCE[]" is 72
characters wide. The program line is
91 characters wide.Thanks
‎2009 Apr 13 3:48 PM
‎2009 Apr 13 3:48 PM
‎2009 Apr 13 5:49 PM
So , apart from changing in the settings to 72 is theer any other way I can modify my program itself to avoid this run-time issue. I would not like the setting to be applied to all the programs , so can change be made to this program itself to remove the issue of internal table exceeding the limit 72.?
Thanks
‎2009 Apr 13 10:16 PM
Any recommended solutions for it please. I was just wondering how did it run till now and suddenly its going into runtime since today morning even when no change has me made yet to the program.
Thanks
Aarav
‎2009 Apr 13 10:19 PM
‎2009 Apr 13 10:28 PM
Well nothing has been added to the internal table , only two other variables has been declared extar in it tahts it , so I am wondering did that make it run into runtime ? which should not be the case .
Thanks
‎2009 Apr 13 10:29 PM