2007 Sep 15 2:49 PM
hi to all experts ,
I need to copy a program from 4.7 to ecc 6.0. in 4.7 it is working fine but in ecc 6.0
i m getting runtime error that ' The ABAP program lines are wider than the internal table.'
Runtime error look like this:
There was an attempt to read program "Zxxxxxx" 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
92 characters wide.
As it is very urgent , pls.help me in this regard
Regards ,
Kiran
2007 Sep 15 3:36 PM
Hi kir,
obviously some minor changes have been mad to your program "Zxxxxxx". I think this is a report using ALV technology. The ALV field catalog is built from an internal table and that involves a READ REPORT. In ECC6.0 there is no longer the line size limit of 72 characters. Check your program source code for lines longer than 72 characters and change them.
Or, better, avoid building fieldcatalog based on internal table.
Regards,
Clemens
2007 Sep 15 3:36 PM
Hi kir,
obviously some minor changes have been mad to your program "Zxxxxxx". I think this is a report using ALV technology. The ALV field catalog is built from an internal table and that involves a READ REPORT. In ECC6.0 there is no longer the line size limit of 72 characters. Check your program source code for lines longer than 72 characters and change them.
Or, better, avoid building fieldcatalog based on internal table.
Regards,
Clemens
2007 Sep 15 3:59 PM
hi Clemens ,
wow . grt8 clemens . u understud my problem clearly even i dit tell my problem clearly.
People like you are helping a lot for us through SDN.
Thaks a lot for ur help .i sloved my problem.
i dot know how to give points but super answer.
Regards ,
Kiran.
2011 Jun 09 1:58 PM
Hi ,,
Thanks a lot for your guidance,
Even i am having the same issue in my ALV report .
I had a comment note of 4 lines which was exceeding more than 72 characters ,
However for the first 2/3times , the report worked fine as i tested. But later it threw the same error as * READ REPORT..*
Now i made all the lines to max 72 charcters. and its working fine ..
But my doubt is hw it was working fine when at the first time , line size exceeded 72 chars ,.,
Thanks a lot for your help