SAP TYPES IMPLICIT ABAP Statements



Get Example source ABAP code based on a different SAP table
  



TYPES, implicit
Short Reference

ABAP_SYNTAX_OBS
TYPES ${ dtype $}
$| ${ dtype(len) $}
$| ${ dtype LENGTH len $}
$| ${ dtype TYPE c$|n$|p$|x $}
$| ${ dtype(len) TYPE p$}
$| ${ dtype TYPE p LENGTH len$}
$| ${ dtype TYPE p DECIMALS dec$}.

What does it do?
Obsolete short forms of the statement TYPES with reference to a built-in elementary type abap_type.
If TYPE abap_type is not specified, the type is set implicitly to the standard type c.
If len or dec is not specified for the ABAP types c , n, p, and x, the length is set to the type-friendly standard length. No decimal places are set for p. This is only allowed outside of classes or interfaces.



Latest notes:

For reasons of readability, all additions should be specified completely.
ABAP_HINT_END

ABAP_EXAMPLE_BAD
ABEXA 00722
ABAP_EXAMPLE_END

ABAP_EXAMPLE_GOOD
ABEXA 00723
ABAP_EXAMPLE_END

Return to menu