Application Development and Automation 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: 
Read only

when i executed program , it go to dump, show this error

Former Member
0 Likes
3,802

Hi Gurs

when i executed program , it go to dump, show this error .

Short text

The ABAP program lines are wider than the internal table.

Error in the ABAP Application Program

The current ABAP program "SAPLSKBH" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

it show this lines.

-


read report l_prog_tab_local into l_abap_source.

366 * catch cx_sy_read_src_line_too_long into ex_too_long.

367 * endtry.

368 check sy-subrc eq 0.

Edited by: Rob Burbank on Feb 17, 2010 2:54 PM

11 REPLIES 11
Read only

Abhijit74
Active Contributor
0 Likes
1,888

Hi,

It happens one or more of your program code lines has exceed to 72 characters.

Please split your program code lines withinj 72 characters.

Thanks,

Abhijit

Read only

Former Member
0 Likes
1,888

Hello

How you has declared l_abap_source ?

Read only

Former Member
0 Likes
1,888

In lower version ABAP editor's, the max. no. of characters are restricted to 72 in 1 line.

With the READ REPORT statement, you have more than 72 characters in a line...Check it out manually, and divide that line into two.

Read only

Former Member
0 Likes
1,888

Hi

I had the faced the same problem recently. I was trying to create ALV report and in the FM REUSE_ALV_FIELDCATALOG_MERGE, I was giving the include name wrong. But was still getting this error. I would suggest you to check it from that perspective also. I corrected the include name and it worked fine.

Read only

Former Member
0 Likes
1,888

Hi,

In SE38, Go to Utilities -> Settings -> on the editor's tab, Make sure that Check box "Downwards-Comp. Line lentgh (72)" is unchecked.

Regards,

Chandravadan

Read only

0 Likes
1,888

Hi

Thanks for your valuble sugession.

Read only

0 Likes
1,888

Hi Chowdary,

I am also getting the same dump " The ABAP program lines are wider than the internal table"

Can i know what solution you applied for the above problem.

Thanks in advance

Kavya

Read only

Former Member
0 Likes
1,888

d022s length is only 72 char

so u have to copy D022S Structure to ZD022S Structure and

and define like LINE CHAR(data type) 1500(length)

then u define internal table like

data: begin of itab occurs 0.

include structure Zd022s.

data: end of itab.

Read only

0 Likes
1,888

Hi

I have tried this method, it's not working. Iam getting . please give me . ur vlaueble sugession.

ThankQ.

Read only

0 Likes
1,888

iam getting Same dump. I have copyed D022S to zdo22 structure ,

I have Declared like this in prog.

data: begin of itab occurs 0.*

include structure Zd022s.

data: end of itab.

But it's going to same dump

Read only

0 Likes
1,888

Go to Utilities-Settings- make sure the Downward -compatable 72 is checked and then try , if your program exceeds lenght 72 it will throw a pop up that it will split, say yes and continue.