ALV with IDA(ALVonHANA)-15

alv-idaALV with CDS view

 

 

The link show How to create ABAP CDS on HANA . Once the DDL source is created the DDL SQL View is created which can be used as a data source to display the alv.

So here we have the DDL SQL View ‘ZSFLIGHTVIEW’

78


Program Code:


DATA: lr_salv TYPE REF TO if_salv_gui_table_ida.

cl_salv_gui_table_ida=>create(
EXPORTING
iv_table_name = ‘ZSFLIGHTVIEW’
RECEIVING
ro_alv_gui_table_ida = lr_salv ).

lr_salv->fullscreen( )->display( ).


9

Program Output:

10


 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s