Вопрос

I am adapting RM_FM_EXCEL_TO_INTERNAL_TAB to my needs and I saw the following code:

"Get TAB-sign for separation of fields
CLASS cl_abap_char_utilities DEFINITION LOAD.
ld_separator = cl_abap_char_utilities=>horizontal_tab.

Can you confirm that there is absolutely no need to do the definition load any more, I assume this is some ancient legacy code? I never load class before using static methods or attributes and it appears to work.

Это было полезно?

Решение

As always, I'd recommend to take the official documentation as a reference:

The variants of the statements CLASS and INTERFACE with the addition LOAD are obsolete. ABAP Compiler ignores these statements.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top