Skip to Content
author's profile photo Former Member
Former Member

Runtime Errors "READ_REPORT_LINE_TOO_LONG"

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 05, 2008 at 11:26 AM

    up

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 05, 2008 at 11:33 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.