Skip to Content

ABAP Code Formatter

Hi,

I want a code formatter for ABAP code which will look afte proper alignment of every staement as well as indentation according to my requirements. Pretty printer was used but the format is not as expected.

Can anyone help.?

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 May 30, 2008 at 10:13 AM

    hi check this..

    use the pretty printer..

    or use the buttons shift + f1..

    regards,

    venkat

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 30, 2008 at 10:33 AM

    Hi,

    Im afraid there is no other tool than Pretty printer available, so unless you want to write you own tool for formatting the source code, you'll have to stick to the Pretty printer 😔

    Personally I find the Pretty printer Indentation and Keyword uppercase quite sufficient, and I don't see much point in having some special formatting - the next developer might use the Pretty printer on your code and your formatting is gone anyway...

    regards,

    Stano

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 25, 2019 at 09:36 AM
    -4

    Pretty Printer Just formats the code in an order.

    It won't help to correct the code in any way

    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.