Ansicht
Dokumentation

ABENAMDP_ABAP_TYPES - AMDP ABAP TYPES

ABENAMDP_ABAP_TYPES - AMDP ABAP TYPES

Fill RESBD Structure from EBP Component Structure   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

- Macro for ABAP Types

... "$ABAP.type( [name =] abap_type )" ...

Effect

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:

  • All visible elementary types, which are defined with TYPES at this place, and which are of their 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.

Examples

The following table shows how some built-in or self-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)

Access to ABAP Types






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 4470 Date: 20240425 Time: 180335     sap01-206 ( 42 ms )