‎2007 May 18 9:41 AM
I am using a ALV to display data.
for that i am using the functionmodule REUSE_ALV_FIELDCATALOG_MERGE
and REUSE_ALV_GRID_DISPLAY
but while run the report at REUSE_ALV_FIELDCATALOG_MERGE its going to dump and the dump error is
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_READ_SRC_LINE_TOO_LONG',
was neither
caught nor passed along using a RAISING clause, in the procedure
"K_KKB_FIELDCAT_MERGE" "(FUNCTION)"
.
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
You tried to read the program "ZHR1174R_MD" from the database. The READ REPORT
statement allows you to copy a program's source code into an internal
table. The lines of source code must not be longer than the width of the
internal table. The internal table is 72 characters wide. The source
code line is 126 wide.
any one help me how to resolve this problem
‎2007 May 18 9:47 AM
Hi
Check the READ REPORT command which is used to read the report program "ZHR1174R_MD" from the database.
something wrong with the structure of the Program
make sure that the Line-Size in the report should be nor more than 72 characters. it seems there is some big line of code in the report.
So see that every line is not more than 72 char,
and run the report.
Reward points if useful
Regards
Anji
‎2007 May 18 9:53 AM
Hi,
use the FM <b>SVRS_GET_VERSION_REPS</b> to get the source code of the report . It may help u.
-
Patil
‎2007 Jun 19 11:15 PM
I have the same issue. We are using the new version of the ABAP Editor which I believe allows more than 72 characters in each line.
The function module K_KKB_FIELDCAT_MERGE has the code "read report l_prog_tab_local into l_abap_source", and the structure l_abap_source is only allowed have max 72 characters per line.
I am about to log a message to SAP....
‎2007 Sep 11 2:20 PM
Hello,
I have exactly the same problem.
Did you open an OSS-message?
If yes- how is an answer?
It could not be a solution that I should set up the editor back to 72 charackters.
Any case it will be a not general solution.
If you whant you can answer me to the adress golovtchiner.vladimir@ergopharm.de
best regards
Vladimir
‎2007 Sep 11 2:25 PM
Hi,
You should use:
Submit report instead of read report....
Submit report runs the external report that you have previously written.
If I understood the problem as you mean, the solution is this.
Reward all answers:)