cancel
Showing results for 
Search instead for 
Did you mean: 

READ_REPORT_LINE_TOO_LONG for standard report on S4 HANA

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

Accepted Solutions (1)

Accepted Solutions (1)

Jelena
Active Contributor

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.

Former Member
0 Kudos

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.

Sandra_Rossi
Active Contributor
0 Kudos

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)

Answers (0)