Using Compression Logic 

If you want an overview of how your source code is structured in a program, you can use compression logic. Certain parts of a program (subroutines, modules, nested ABAP statements) form logical blocks that you can compress. As well as these predefined blocks, you can define your own logical blocks in the source code.

Prerequisites

You can only use compression logic in the backend editor. The With compression logic option must be active in the ABAP Editor section of your settings.

Features

Choose .

Choose .

  1. Insert a comment line beginning with *{ at the start of the block you want to define.
  2. Insert a comment line beginning with *} at the end of the block.
  3. Press ENTER to confirm .

The compression is not saved when you leave the ABAP Editor. When you next open the program, all blocks will be expanded.