Pretty Printer is a button provided by SAP in almost all the program editor screen. Actually this button will help us to arrange the code to look good. Let's see it works.
If you look into the code, it looks everything is in CAPS except that text. Now we want to make it look good and want to make CAPS only the ABAP KEY WORDS, so that anyone can understand which are the key words and which are not.
Go to Utilities>>Settings
Then pretty printer tab.
Here we can see that UPPERCASE is selected. So its doing like that. Now we ll change this.
Come back to the code and press that Pretty Printer Button.
Compare carefully few words were converted into lowercase as they are not key word.
Pretty printer is a very essential part of coding. After coding you have to click this button to arrange your code. If this is not done this might raise a Quality Check point in real-time project. Almost all projects monitor this point carefully to make code clean.
0 comments:
Post a Comment