In the ABAP source code editor of a development object, you
want to open the code completion list automatically when you enter a component selector such
as -, ~, ->, =>.
Prerequisites
To use this function, open the
preference page and select the option.
Context
Note Automatic code completion is selected by default.
Procedure
- In the source code, you start typing a component.
The following component selectors are supported:
Component Selector |
Displayed Proposals |
- |
Fields of structures |
~ |
Components of interfaces |
-> |
Instance components of object references |
=> |
Static components of ABAP classes / interfaces |
The code completion list is automatically displayed.
Figure 1:
Code completion list and popup according to the component
- Select a component from the code completion list.
Results
The component is added to the source code at the current position.
Figure 2:
A call to the static call_static_demo2 method is
inserted at your current position