Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

report from 4.7 to ecc 6.0

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Clemenss
Active Contributor
0 Kudos

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

3 REPLIES 3

Clemenss
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

0 Kudos

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