Using DDL Code Templates

Code templates can help to reduce the time spent on routine coding. The IDE provides a number of predefined code templates for DDL sources. In addition, you can create further templates for your own use.

To search for all DDL templates available...

  1. Open the preferences page Start of the navigation pathABAP Development Next navigation step Editors Next navigation step Source Code Editors Next navigation step DDL TemplatesEnd of the navigation path from the menu bar.

To use a template...

  1. In the DDL source editor, write the beginning characters of the template.
  2. Select Ctrl + Space (code completion).

To create an additional DDL template for your own use...

  1. Open either the Templates view or the preferences page (referred above).
  2. Open the New Template dialog and specify the Name and the Description, and edit the Pattern of the template.
  3. Improve the format for the source code template manually.
  4. Save the new template with OK.