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 Errors "READ_REPORT_LINE_TOO_LONG"

Former Member
0 Kudos

i am using a include program to alv list display.

and when i execute the main program.. it gives the following dump.

Runtime Errors READ_REPORT_LINE_TOO_LONG

Exception CX_SY_READ_SRC_LINE_TOO_LONG

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 "ZSM_INVFNL" 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

88 characters wide..

can some one tell me how to resolve this...??

3 REPLIES 3

Former Member
0 Kudos

up

0 Kudos

Hi,

one of the line in ur code is exceeded the column 72.

check even the comment lines.

thanks,

praveena

Sougata
Active Contributor
0 Kudos

In first screen of transaction SE38, go to menubar Utilities->Settings. In the ABAP Editor tab of the popup dialog box look under subtab Editor. At the bottom of the dialog box there should be a checkbox named Downwards-Comp.Line Lngth(72). Uncheck that, press Enter and leave the transaction. Now run your report again, it should be fine this time.

Cheers,

Sougata.