SAP DDICDDL DEFINE TABLE FKPRPS



Get Example source ABAP code based on a different SAP table
  


• /at ABAP_DDIC_FKEY_PROP
• /atAbapCatalog ABAP_DDIC_FKEY_PROP
• /atAbapCatalog.foreignKey.label ABAP_DDIC_FKEY_PROP
• /atAbapCatalog.foreignKey.keyType ABAP_DDIC_FKEY_PROP
• /atAbapCatalog.foreignKey.screenCheck ABAP_DDIC_FKEY_PROP
• /atAbapCatalog.foreignKey.messageClass ABAP_DDIC_FKEY_PROP
• /atAbapCatalog.foreignKey.messageNumber ABAP_DDIC_FKEY_PROP

ABAP_DDIC_DDL - DEFINE TABLE, foreign_key_annos

ABAP_SYNTAX
$[@AbapCatalog.foreignKey.label : '...'$]
$[@AbapCatalog.foreignKey.keyType : key_type$]
$[@AbapCatalog.foreignKey.screenCheck : true$|false$]
$[@AbapCatalog.foreignKey.messageClass : msg_cls$]
$[@AbapCatalog.foreignKey.messageNumber : msg_no$]

What does it do?
Annotations used to specify properties for a foreign key dependency of a table field defined using foreign_key in the definition of a DDIC database table using the Dictionary DDL statement DEFINE TABLE.
In quotation marks, @AbapCatalog.foreignKey.label defines the short text of the foreign key in the original language of the database table.
@AbapCatalog.foreignKey.keyType defines the type of the foreign key fields. key_type can be specified as:
#NON_KEY - No key fields/candidates
#KEY - Key fields/candidates
#TEXT_KEY - Key fields of a text table
@AbapCatalog.foreignKey.screenCheck enables or disables the foreign key dependency for the input check.
@AbapCatalog.foreignKey.messageClass and @AbapCatalog.foreignKey.messageNumber specify the message class msg_class and message number msg_no for the message of the input check.

ABAP_EXAMPLE_VX5
See foreign_key.
ABAP_EXAMPLE_END