Skip to Content
author's profile photo Former Member
Former Member

question: why default line length as 72 ?

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 17, 2008 at 01:13 PM

    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....

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2008 at 04:12 AM

    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..

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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,

  • Posted on Nov 14, 2012 at 06:29 AM

    @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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.