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: 

question: why default line length as 72 ?

Former Member
0 Kudos

hello everyone,

i was just adviced to stick to default line length in abap editor as 72 [which ABAP recommends too] or else in complex and lengthy programs it will generate core dump !!

is it true ?

and why it is adviced to stick to 72 length and not greater than that and why it will give core dump ??

thanks in advance

5 REPLIES 5

Former Member
0 Kudos

it is one of settings....

u can find in.,...

In ABAP editor goto Utilities--> settings --> un select the option of "default line length 72" in "editor" tab button.

When it comes to debug it wont displays the remaining lettes if u choose this option.

u may or may not choose this....

0 Kudos

i know about the settings i am asking why it is adviced to stick to lenght of 72 and not 150 (for example), what will happen if we don't stick to the 72 length ??

Former Member
0 Kudos

Hi Rohan,

Actually u can generate report in DEVELOPMENT

server finally ur REPORT is transported to PRODUCTION SERVER(client system)That means the client system is set to 72 char length that is why we write the code with in that space..

Reward points if helpful.

Kiran Kumar.G.A

Have a Nice Day..

0 Kudos

hi KIRAN KUMAR ,

  But also if we are talking about SAP system version more then version number 6 ( example 6.5 )

  is better to consider the code not more then 72 digit????

  Or after version number 6 we can program without that consideration ?

  Regards,

ravi_lanjewar
Contributor
0 Kudos

@Rohan,

ABAP is not new language. It old language and intiallly it support the 72 character per row. Which is the non graphical display support maximum 80 column per row and each row has begin some previlage space around the 8 characters. 

But after each release and graphical display come to exist, It support more then 72 character per line, it is not mandatory but in case of dynamic program(program generate runtime). it has internal check  character per rows should not be 72 character/line. For dynamic program you should have to restict the line size which should not go beyond the 72 character.

Kind Regards

Ravishankar Lanjewar

Moderator Message: Please check the date of the original post before replying. Thread locked.

Message was edited by: Suhas Saha