SAP TYPES ABAP Statements
Get Example source ABAP code based on a different SAP table
ID TYPES
• TYPES
ABAP Statement TYPES> Short Reference >
ABAP_SYNTAX_FORMS
Using Built-In Types>
1 TYPES ${ ${dtype$[(len)$] TYPE abap_type $[DECIMALS dec$]$}>
$| ${dtype TYPE abap_type $[LENGTH len$] $[DECIMALS dec$]$}$}.>
Reference to Existing Types>
2 TYPES dtype ${ ${TYPE $[LINE OF$] type$}>
$| ${LIKE $[LINE OF$] dobj$} $}.>
Reference Types>
3 TYPES ref_type ${ ${TYPE REF TO type$}>
$| ${LIKE REF TO dobj$} $}.>
Structured Types>
4 TYPES BEGIN OF struc_type.>
...>
TYPES comp ...>
TYPES comp TYPE struc_type BOXED.>