2021 Jan 08 1:34 PM
I wonder if i also can use ABAP Docs to comment on type definitions in a global class.
CLASS cls DEFINITION
PUBLIC
CREATE PUBLIC .
PUBLIC SECTION.
TYPES: type TYPE TABLE OF spfli.
PROTECTED SECTION.
PRIVATE SECTION.
"! <p class="shorttext synchronized">Method</p>
"! @parameter string | <p class="shorttext synchronized">Input string</p>
"! @parameter result | <p class="shorttext synchronized">Result</p>
METHODS
method
IMPORTING
string TYPE string
RETURNING
VALUE(result) TYPE string.
ENDCLASS.
2021 Jan 08 2:12 PM
TYPES:
"! <p class="shorttext synchronized">Explanation text</p>
type TYPE TABLE OF spfli.
2021 Jan 08 1:58 PM
Why not? Descriptions in ABAPDoc can be done for types of course. They are interpreted why the quick view (F2) functionality too.
2021 Jan 08 2:12 PM
TYPES:
"! <p class="shorttext synchronized">Explanation text</p>
type TYPE TABLE OF spfli.