Application Development and Automation 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: 
Read only

Run-time error

Former Member
0 Likes
1,220

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

1 ACCEPTED SOLUTION
Read only

former_member156446
Active Contributor
0 Likes
934

check this thread with a similar issue:

6 REPLIES 6
Read only

former_member156446
Active Contributor
0 Likes
935

check this thread with a similar issue:

Read only

0 Likes
934

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

Read only

0 Likes
934

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

Read only

0 Likes
934

Probably because there was a change to program Z_LIST_T01.

Rob

Read only

0 Likes
934

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

Read only

0 Likes
934

So the program was changed?

Rob