SAP IMPORT NAMETAB ABAP Statements



Get Example source ABAP code based on a different SAP table
  


INTERNAL
ID IMPORT-NAMETAB
• IMPORT NAMETAB ABAP_STATEMENT_INT
• ID IMPORT NAMETAB (internal)

IMPORT NAMETAB
This statement is no longer supported.

ABAP_SYNTAX
IMPORT NAMETAB ...

What does it do?
This statement was used internally to import a DDIC structure description in an internal format from the name table of the ABAP Dictionary.
The statement is not supported any more. The usage of the statement is not yet completely prohibited for reasons of downward compatibility only. Any attempt to import the entry for an DDIC table type already produces a runtime error. Any other usage produces errors from ATC.
System Fields sy-subrcMeaning 0The specified entry was found. 4The specified entry was not found.
BEGIN_SECTION SAP_INTERNAL_HINT
sy-subrc is set to 8, if access to the entry specified by VERSION is not allowed by the dynamic package check.
END_SECTION SAP_INTERNAL_HINT



Latest notes:

Instead of this statement, the function modules DDIF_NAMETAB_GET and DDIF_FIELDINFO_GET must be used. The RTTS class CL_ABAP_TYPEDESCR also offers methods GET_DDIC_HEADER and GET_DDIC_OBJECT to retrieve information from the name table.
ABAP_HINT_END



Runtime Exceptions


Non-catchable Exceptions
Reason for error:
Statement is not supported for DDIC internal table types.
Runtime error:
IMPORT_NAMETAB_OUTDATED
Reason for error:
Table name is too long.
Runtime error:
IMPORT_NAMETAB_WRONG_ID
ABAP_NONCAT_END

Return to menu