Show TOC Start of Content Area

Function documentation Code Completion  Locate the document in its SAP Library structure

Use

Caution

Code completion is computed by the application server and requires SAP NetWeaver 2007.

Code completion suggests valid keywords and identifiers that may be inserted at a given position in the source code. To invoke code completion, press and hold down the CONTROL key while pressing the SPACE key.

Features

Completion results include the following source code entities (each of them has a unique icon):

      Variables, including structures and components

      Types (including ABAP Dictionary types), classes

      Methods, attributes, constants

      Forms

      Functions

      Formal parameters of methods, functions, and forms

      Keywords.

This graphic is explained in the accompanying text

The items displayed in boldface represent entities matching the requirements for source code entities at the current cursor position. All other items represent entities containing additional entities that may also match the requirements.

In the example above, the interface IF_SERIALIZABLE_OBJECT may contain additional class methods that can be accessed by inserting the interface name at the current cursor position.

Note

To disable code hints and/or code completion, uncheck the appropriate checkboxes in the settings dialog. For more information, see Code Completion Settings.

Activities

      When the list of code completion suggestions appears, you can continue typing to filter the list of suggestions by prefix.

      For some completion suggestions, pressing Ctrl + Enter will not only insert the identifier but generate a partially pre-filled pattern.

 

 

End of Content Area