Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Types

The first matching row wins. A DDIC type with no row stops the build and names the field.

DDIC typeConditionRust typeHelperFields in this bookNotes
CLNT, LANG, CUKY, UNIT, NUMC, STRG, SSTRString38Text. NUMC stays text because leading zeros are data (0000012345).
CHARlength 1 and data element XFELD, BOOLE_D, FLAG, XFLAG, LOEVM_X, LOEVM_V, LVOMA, LOEVM_KO, AD_FLGDFNR, AD_FLNOUSEboolabap::xflag9“X” is true, blank is false; anything else is refused.
CHARString87Text, blank when initial.
DATSOption<chrono::NaiveDate>abap::dats8YYYYMMDD; 00000000 is None.
TIMSOption<chrono::NaiveTime>abap::tims2HHMMSS; 000000 is midnight, blank is None.
DECdata element TIMESTAMPOption<chrono::NaiveDateTime>abap::timestamp1YYYYMMDDhhmmss UTC, as a number or a string; 0 is None.
CURR, QUAN, DECrust_decimal::Decimal20Read and written as strings, scale kept (258.00). Currency comes from the CUKY field it references.
INT1u81
INT2i160
INT4i321
INT8i640

ABAP has no null. Key fields are required; every other field defaults to ABAP’s initial value (blank, zero, 00000000) when it is missing, and a None date is written back as 00000000.