Show TOC

Using DDL Code TemplatesLocate this document in the navigation structure

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 path ABAP Development Next navigation step Editors Next navigation step Source Code Editors Next navigation step DDL Templates End 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).
Tip Alternatively, you can use the Templates view to insert the template code in the DDL source using Drag & Drop.
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.
    Tip If you want to add the new template to the DDL source creation wizard, select DDL (creation) as the Context.
  3. Improve the format for the source code template manually.
  4. Save the new template with OK.