Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Cx_salv_db_table_not_supported

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

jasmin_gruschke
Product and Topic Expert
Product and Topic Expert

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

3 REPLIES 3

Former Member
0 Kudos

Just as an update we are Netweaver 7.4 sp 7.

jasmin_gruschke
Product and Topic Expert
Product and Topic Expert

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

0 Kudos

Hi Jasmin

Thanks for the reply.

it got solved.

Thanks and Regards

Arun Kumar Menon.