What does it do? Specifies the predefined AMDP macro> $ABAP.type> for an ABAP type. In an AMDP method implemented in SQLScript, the AMDP macro $ABAP.type> can be used to access the ABAP type abap_type>. For abap_type>, all elementary> non- generic> types can be specified that would be possible after a TYPE> addition in an ABAP implementation of the method. These are as follows:
The built-in ABAP types> i>, int8>, decfloat16>, decfloat34>, f>, string >, xstring>, d> and t>.
All elementary types, which are defined with TYPES>>, that are visible at this place. These can be types of the own class, a different class or an interface.
All elementary types defined in the ABAP Dictionary>, such as data elements or elementary components of structured types. The ABAP runtime framework replaces this expression in accordance with the rules specified in the mapping tables> in the corresponding HANA type. abap_type> is not case-sensitive.
ABAP_EXAMPLES The following table shows how some built-in or user-defined ABAP types can be specified in macro $ABAP.type> and implemented in HANA types. Macro>Conversion> '$ABAP.type( int8 )'>BIGINT> '$ABAP.type( string )'>NCLOB> '$ABAP.type( cl_abap_docu=>name )'>NVARCHAR (70)> '$ABAP.type( sy-mandt )'>NVARCHAR (3)> '$ABAP.type( s_carrname )'>NVARCHAR (20)> ABAP_EXAMPLE_END
ABAP_EXAMPLE_ABEXA Access to ABAP Types> ABAP_EXAMPLE_END