SAP DDICDDL DEFINE TABLE



Get Example source ABAP code based on a different SAP table
  


• DEFINE TABLE ABAP_DDIC_STATEMENT
• { } ABAP_DDIC_DEFINE_TABLE

ABAP_DDIC_DDL - DEFINE TABLE

ABAP_SYNTAX
structure_annos
ext_annos
table_annos
DEFINE TABLE dbtab {
...
field;
...
include;
...
}

What does it do?
Dictionary DDL statement for defining an ABAP Dictionary DDIC database table dbtab in the ABAP Development Tools.
A DDIC database table is defined using the statement DEFINE TABLE . The name dbtab must comply with the naming rules for DDIC database tables.
In front of the statement DEFINE TABLE,
the same mandatory structure properties must be specified as annotations structure_annos as in the statement DEFINE STRUCTURE.
the same optional extensibility annotations ext_annos as in the statement DEFINE STRUCTURE are available for C0 developer extensibility.
any mandatory table properties must be specified as annotations table_annos. Any other properties are optional.
The table fields are defined in a semicolon-separated list in curly brackets { } using one of the following methods:
by defining single fields field
by including include structures include.



Latest notes:

As in the CDS syntax, an ABAP Dictionary structure definition can contain comments after // and between /* ... */.
For a more detailed description of the syntax, see the ADT documentation Syntax of ABAP Dictionary Objects.
NON_V5_HINTS
ABAP_HINT_END

ABAP_EXAMPLE_VX5
Definition of DDIC database table DEMO_BLOB_TABLE in the Dictionary DDL of the ABAP Development Tools.
DDIC DEMO_BLOB_TABLE
ABAP_EXAMPLE_END