SAP DDIC SPECIAL CHARACTER TYPES



Get Example source ABAP code based on a different SAP table
  



ABAP_DDIC - Special Character-Like Types
The following character-like data types in ABAP Dictionary have a special semantic meaning:
NUMC for numeric texts From a technical perspective, the built-in data type NUMC describes objects of the type CHAR with a maximum length of 255 characters. It is intended for numeric texts. This is not checked however when writing to or reading from database fields of this type.
BEGIN_SECTION VERSION 5 OUT Automatic checks are only made for dynpro fields typed with reference to NUMC. In ABAP, NUMC is assigned to the special type n and the associated rules apply.
END_SECTION VERSION 5 OUT
CLNT for client columns From a technical perspective, the data type CLNT describes objects of the type CHAR with length 3. If the data type CLNT is used for the first key field of a DDIC database table, this makes the DDIC database table client-dependent .
LANG for text language From a technical perspective, the built-in data type LANG describes objects of the type CHAR with length 1. It is intended specifically for language keys. The primary key of a text table consists of the foreign key and a field of type LANG .
BEGIN_SECTION VERSION 5 OUT Furthermore, a component of structures or DDIC database tables that has the data type LANG can be flagged as a text language. The text language is used to convert character-like components of the structure when importing data from data clusters and in the binary RFC protocol for passing TABLES parameters between MDMP systems and Unicode systems. Furthermore, the text language can affect which lines of a database table are transported by the Change and Transport System (CTS). Depending on settings in the CTS, only entries in the original language of the database table can be transported.
END_SECTION VERSION 5 OUT



Latest notes:

NON_V5_HINTS
When the statements WRITE or WRITE TO are used to represent a dynpro field with the type LANG (and when a field that references this type is formatted), this field has an output length of 2 and is converted automatically from the single-character internal language ID to the matching two-character ISO ID using the conversion routine ISOLA (and back).
ABAP_HINT_END