Today i want to show you an example with some new features in ABAP.
- inline declarations
- ALV with integrated data access (IDA)
- Conversion operator CONV
A constructor Expression with the conversion Operator CONV converts the argument to the data type specified using type
and creates an appriopriate result
The sample code is really short.
REPORT z_sample.
DATA(lo_alv_Ida) = cl_salv_gui_table_Ida=>create( CONV #( 'SFLIGHTS' ) ).
lo_alv_ida->Fullscreen( )->display( ).