Show TOC

Pretty Printer in the Web Application BuilderLocate this document in the navigation structure

Use

When you create dynamic and static code, the Pretty Printer in the Web Application Builder (just like in all of the ABAP Workbench) is used for optical arrangement. This improves the layout and as a result, the coding lines are much easier to read.

See also:

Prerequisites

You are using an SAP Web AS 6.20 system and have implemented at least Support Package 3.

Features

The Pretty Printer performs the following for BSP applications:

  • Formatting BSP extension elements:

    • Nested elements are neatly indented.

    • If at least two attributes are filled, these are arranged on top of each other.

    • Element tags that do not have any content are merged into a single element.

  • Coding is indented regarding the remaining coding components for

    • Static coding

    • ABAP scripting

The Pretty Printer is available for the following components of a BSP application:

  • Pages with flow logic

  • Views

  • Page fragments

  • Event Handler

Activities

In the Web Application Builder, on your page press the Pretty Printeror in the menu, choose Start of the navigation path Edit Next navigation step Pretty Printer End of the navigation path.