SAP IMPORT NAMETAB ABAP Statements

Get Example source ABAP code based on a different SAP table
  


SECRET
Standard SAP Help for IMPORT_NAME_TAB

IMPORT - Get a structure description
ABAP Code Snippet
• IMPORT NAMETAB ABAP_STATEMENT_INT
• ID IMPORT NAMETAB (internal)


ABAP Syntax IMPORT NAMETAB h f ID id.


What does it do? Gets a structure description saved using EXPORT NAMETAB. The statement must only be used by tools of ABAP Workbench. For the field list f, a standard table without a secondary key can be specified.

System Fields sy-subrcMeaning 0The specified structure description was found. 4The specified structure description was not found.
INTHINT sy-subrc is set to 8, if access to the database specified
INTHINT by VERSION is not allowed by the dynamic package check.



Latest notes: The statement IMPORT NAMETAB is no longer
supported. Instead, the function module DD_GET_NAMETAB must be used.



Runtime Exceptions
Non-catchable Exceptions
Reason for error:
Table name is too long.
Runtime error:
IMPORT_NAMETAB_WRONG_ID

Return to menu