
In ABAP Development Tools, you can import descriptions of ABAP classes or ABAP interfaces (including their attributes, methods, parameters, and so on) that are entered in the form-based Class Builder
Example
In the source code editor, the definition of the CLASS cl_demo_importing_description ABAP class is displayed as follows:
CLASS cl_demo_importing_description DEFINITION. PUBLIC FINAL CREATE PUBLIC. PUBLIC SECTION. PROTECTED SECTION. PUBLIC SECTION. PRIVATE SECTION. DATA: myself TYPE REF TO cl_demo_importing_description. DATA any_string1 TYPE c. METHODS method_with_variable. ENDCLASS.
In the form-based Class Builder of the ABAP Workbench, the following description is saved for the METHOD_WITH_VARIABLE method of the same class:
The source code editor imports all descriptions of the class or interface components from the Class Builder and inserts them as ABAP Doc comments at the appropriate position in the source code editor of ADT.
Example
In the source code of the CLASS cl_demo_importing_description ABAP class, the imported descriptions of the components are added as ABAP Doc comments:
"! Imported class description from the Class Builder CLASS cl_demo_importing_description DEFINITION. PUBLIC FINAL CREATE PUBLIC. PUBLIC SECTION. PROTECTED SECTION. PUBLIC SECTION. PRIVATE SECTION. "! Imported attribute description DATA: myself TYPE REF TO cl_demo_importing_description. "! Imported attribute description DATA any_string1 TYPE c. "! Imported method description from the Class Builder METHODS method_with_variable. ENDCLASS.