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

getting error source wider than 72 chars

RahulKeshav
Active Contributor
0 Likes
3,485

hi i am using one standard include where the statement is

READ REPORT include INTO source.

source contains line field which is 72 char.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,521

for your main program use below syntax of report;

REPORT z_myreport LINE-COUNT 65(8) LINE-SIZE 132.

hi i am using one standard include where the statement is

READ REPORT include INTO source.

source contains line field which is 72 char.

8 REPLIES 8
Read only

Former Member
0 Likes
2,522

for your main program use below syntax of report;

REPORT z_myreport LINE-COUNT 65(8) LINE-SIZE 132.

Read only

Sm1tje
Active Contributor
0 Likes
2,521

define the length of > 72. Since change of editor, it is possible to code line > 72 characters. So after READ INTO source, this will give a dump.

Read only

Former Member
0 Likes
2,521

chage the settings of your abap editior as follows.

UTILITIES -


>SETTINGS------>ABAP EDITOR uncheck the statement "Downward-Compat line length (72)".

Read only

Former Member
0 Likes
2,521

Hi Rohit,

Go to Utilities -> Settings -> Check the checkbox Downwards-Comp. Line length (72).

It will automatically limit your code width in 72 characters.

Hope this will help.

Regards,

Nitin.

Read only

0 Likes
2,521

Hi Thanks to all for your answer

but i have tried all the options given by you all.but still its not working.

Read only

0 Likes
2,521

HI,

Goto that perticular source code and then try

UTILITIES-----SETTINGS--ABAP EDITOR--


CHECK DOWNWORD-COMP LINE LENGTH(72)

HAVE U TRIED THIS?

DONT DO THIS ON CURRENT SCREEN WHERE ERROR IS COMING GOTO THAT PERTICULAR INCLUDE.

Read only

0 Likes
2,521

Are you able to see a vertical line dividing the editor page in two parts after checking that checkbox ?

Read only

Former Member
0 Likes
2,521

GOTO UTILITIES -


SETTINGS--ABAP EDITOR----AND CHECK DOWNWORD-COMP LINE LENGTH(72) THEN IT WILL ASK FOR BREAKDOWN THEN SAY YES.