Pretty Report Vs Pretty Printer in ABAP

This program takes an existing ABAP report, and does the following:move comments to the end of the line. Added because pretty printer in 4.6 no longer does this
- Adds
comments (table name) for the tables listed after a TABLES statement if the line has not been commented already.
- Adds
comments (field name) for data elements, parameters, and select-options that are defined using the LIKE or FOR statement
- For ENDLOOP/ENDSELECT
adds comment identify the LOOP/SELECT that is being closed
- For FORM/ENDFORM
adds comment identify the FORM that is being closed
- Checks to ensure that the program being modified is either a Local Private Object, or on a transport that belongs to the person running this program. This is to help prevent screwups.
- Calls function PRETTY_PRINTER to do the SAP standard pretty print after the custom comments have been created.

- Attempts to move comments to the end of the line.  Added because pretty printer in 4.6 no longer does this.

Continue Reading…

Page 1 of 11