SAP BUILT IN FUNCTIONS HIDING
Get Example source ABAP code based on a different SAP table
Built-In Functions, Hiding by Methods
Within a class, a built-in function is always hidden by
The function is hidden regardless of the operand position. More specifically, any built-in functions called as arguments of other functions are also hidden.
Latest notes:
Methods should never be given the same name as a built-in function.
NON_V5_HINTS
ABAP_HINT_END
ABAP_EXAMPLE_VX5
The following class returns a syntax error. The specification of
PUBLIC SECTION.
CLASS-METHODS main.
CLASS-METHODS strlen IMPORTING text TYPE string
EXPORTING len TYPE i.
ENDCLASS.
CLASS demo IMPLEMENTATION.
METHOD main.
DATA(len) = strlen( `xxx` ).
ENDMETHOD.
METHOD strlen.
...
ENDMETHOD.
ENDCLASS.>
ABAP_EXAMPLE_END