SAP DDICDDL DEFINE TABLE PROPS



Get Example source ABAP code based on a different SAP table
  


• /at ABAP_DDIC_TABLE_PROP
• /atAbapCatalog ABAP_DDIC_TABLE_PROP
• /atAbapCatalog.tableCategory ABAP_DDIC_TABLE_PROP
• /atAbapCatalog.dataMaintenance ABAP_DDIC_TABLE_PROP
• /atAbapCatalog.deliveryClass ABAP_DDIC_TABLE_PROP
• /atAbapCatalog.activationType ABAP_DDIC_TABLE_PROP
• /atAbapCatalog.replacementObject ABAP_DDIC_TABLE_PROP

ABAP_DDIC_DDL - DEFINE TABLE, table_annos

ABAP_SYNTAX
@AbapCatalog.tableCategory : table_cat
@AbapCatalog.dataMaintenance : data_maint
@AbapCatalog.deliveryClass : deliv_class

$[@AbapCatalog.activationType : act_type$]
$[@AbapCatalog.replacementObject : '...'$]

What does it do?
Annotations for specifying table properties in the definition of a DDIC database table using the statement DEFINE TABLE in the Dictionary DDL.
Mandatory Definitions
@AbapCatalog.tableCategory defines the table category. table_cat can be specified as:
#TRANSPARENT - transparent table
#GLOBAL_TEMPORARY - Global Temporary Table (GTT)
@AbapCatalog.dataMaintenance defines how the DDIC database table is displayed and maintained. data_maint can be specified as:
#NOT_ALLOWED - Display/maintenance not allowed
#RESTRICTED - Display/maintenance allowed with restrictions
#ALLOWED - Display/maintenance allowed
#DISPLAY - Only display allowed
@AbapCatalog.deliveryClass defines the delivery class of the database table. deliv_class can be specified as:
#A - delivery class A
#C - delivery class C
#L - delivery class L
#G - delivery class G
#E - delivery class E
#S - delivery class S
#W - delivery class W
Optional Definitions
@AbapCatalog.tableCategory defines the activation type of the database table. This setting is not relevant for DDIC database tables in application programming. act_type can be specified as:
#NOT_CLASSIFIED - activation type 00
#NAMETAB_GENERATION_OFFLINE - activation type 01
#ADAPT_C_STRUCTURES - activation type 02
#INITIAL_TABLE_REQUIRED - activation type 10
@AbapCatalog.replacementObject defines the name of a replacement object in quotation marks.
@AbapCatalog.primaryKey.invertedIndividualIndex defines the type of the primary index:
true - INVERTED INDIVIDUAL as of HANA2, SPS 03, INVERTED HASH before HANA2, SPS 03
false - INVERTED VALUE (default)

ABAP_EXAMPLE_VX5
Annotations in the definition of the DDIC database table DEMO_SUMDIST in the Dictionary DDL of the ABAP Development Tools. This table has the CDS view DEMO_CDS_SUMDIST as its replacement object. @EndUserText.label : 'Aggregation Table with Replacement Object'
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
@AbapCatalog.tableCategory : #TRANSPARENT
@AbapCatalog.deliveryClass : #A
@AbapCatalog.dataMaintenance : #LIMITED
@AbapCatalog.replacementObject : 'demo_cds_sumdist'
define table demo_sumdist {
key client : mandt not null;
key carrname : s_carrname not null;
key distid : s_distid not null;
@Semantics.quantity.unitOfMeasure : 'demo_sumdist.distid'
sum_distance : s_distance; }
ABAP_EXAMPLE_END