11-09-2014 9:26 AM
Dear Gurus
We are currently implementing SAP ecc6 ehp7 on HANA.
I have created the view by using the following
@AbapCatalog.sqlViewName: 'z_cds_purch'
define view ZCDSV_DWMQHY_PURCH as select from mseg as t1 (i have not pasted the rest of the code).
I can see the view in SE11.
Then i create a report to use the alv grid.
REPORT z_itm_daily_summary.
cl_salv_gui_table_ida=>create( 'ZCDSV_DWMQHY_PURCH' )->fullscreen( )->display( ).
I am getting a dump for this.
I am attaching the st22 for reference.
11-09-2014 5:05 PM
Hi Arun,
you have to use another factory method, i.e. cl_salv_gui_table_ida=>create_for_cds_view('ZCDSV_DWMQHY_PURCH').
An alternative (but not recommended) approach would be to use the SQLViewname, i.e. the one you use as annotation in the CDS View definition.
Best,
Jasmin
11-09-2014 12:40 PM
11-09-2014 5:05 PM
Hi Arun,
you have to use another factory method, i.e. cl_salv_gui_table_ida=>create_for_cds_view('ZCDSV_DWMQHY_PURCH').
An alternative (but not recommended) approach would be to use the SQLViewname, i.e. the one you use as annotation in the CDS View definition.
Best,
Jasmin
11-10-2014 3:29 AM
Hi Jasmin
Thanks for the reply.
it got solved.
Thanks and Regards
Arun Kumar Menon.