Skip to Content
0

READ_REPORT_LINE_TOO_LONG for standard report on S4 HANA

Apr 06, 2017 at 12:41 PM

343

avatar image
Former Member

I am getting a dump in the display of an ALV report on s/4 HANA for standard tcode co40 when save production order contains variant configuration. The ABAP program lines are wider than the internal table. As it is a standard program, I am unable to use pretty print and I do not have the option of 'Downard-Comp line Lnght(72) under 'Abap Editor' label in SE38.

Error analysisAn exception has occurred which is explained in more detail below. The exception is assigned to class 'CX_SY_READ_SRC_LINE_TOO_LONG' and 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 this exception, the current program was terminated. The reason for the exception is: An attempt was made to read program "SAPLCOKO1" 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. Internal table "\FUNCTION=K_KKB_FIELDCAT_MERGE\DATA=L_ABAP_SOURCE[]" is 72 characters wide. The program line is 101 characters wide.

Thanks,

Apurva

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Jelena Perfiljeva
Apr 06, 2017 at 08:16 PM
0

If the error is in the standard program then open an incident with SAP Support.

Otherwise the rest of the short dump text should provide sufficient information, including specific place where the error occurs.

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Jelena,

Yes the error is in standard program for tcode co40 when I save production order which contains variant configuration.

The exact statement where the error is triggered is: read report l_prog_tab_local into l_abap_source.

in function module: K_KKB_FIELDCAT_MERGE

I have no idea how to proceed further. Kindly help.

Thanks.

0

As said Jelena, "[...] then open an incident with SAP Support". If you don't know how to "open an incident with SAP Support" then search SCN (or ask your colleagues)

0