Cisco CloudCenter: Get the Hybrid IT Advantage

Pretty Printer

Definition - What does Pretty Printer mean?

Pretty Printer is a code beautifier provided for source codes in SAP ABAP programs. The source code in ABAP, although stored in the database in the same manner as in ABABP Editor, is not standardized automatically. Pretty Printer helps to standardize the layout of the program. The functionality provided by Pretty Printer helps in arranging the associated keywords in groups, indents the programming statements and meets the guidelines of readability according to the ABAP user’s guide.

Techopedia explains Pretty Printer

Some of the prominent features of Pretty Printer in SAP ABAP are: Insertion of proper and appropriate comment blocks before statements containing FORM or MODULE. The functionality also automatically picks up the routine name and parameter used in the statements and automatically fills in the comment blocks. Pretty Printer never separates or breaks the loops or control processing blocks that are written in a single line. It also avoids separating statements with the keyword WHEN if the statement is in a single-line statement. Pretty Printer left justifies remarks or comment that are provided in the command line. This is done only if the number of characters in the statement is 32 characters or fewer. It helps in bringing a standard format to the source code layout. Pretty Printer assigns certain keywords like EVENT, CONTROL and INCLUDE on separate lines. It provides indentation to all command lines and controlling structures with an event by a margin of two spaces. It helps in locating commands that go beyond one line and also helps in placing preceding commands on a new line. Pretty Printer also unites statements that logically belong together. This is done by indenting the statement blocks. To invoke the pretty printer functionality, go to transaction SE38 and select Program-> Pretty Printer.

This definition was written in the context of SAP
Share this:

Connect with us

Email Newsletter

Join thousands of others with our weekly newsletter

The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.