Hello
Could you please guided me to solve this issue?
I am using SAP BTP Cockpit Trial to learn CD view (got a course at Udemy).
The issue is that I am receiving this message error when developing a report:
"The use of Class CL_SALV_TABLE is not permitted"
I do not have SAP GUI and access to SAP environment. Just SAP BTP Cockipt Trial and Eclipse version:
Eclipse IDE for Java Developers (includes Incubating components)
Version: 2022-03 (4.23.0)
Build id: 20220310-1457
CLASS zclas_teste01 DEFINITION PUBLIC * final CREATE PUBLIC . PUBLIC SECTION. * DATA: salv TYPE REF TO cl_salv_table. DATA: p_coin type string, l_count type i. * INTERFACES if_oo_adt_classrun. METHODS run. PROTECTED SECTION. PRIVATE SECTION. ENDCLASS. CLASS zclas_teste01 IMPLEMENTATION. method run. p_coin = 'BRL'. select * from /dmo/a_booking_d into TABLE @data(lt_tab). TRY. cl_salv_table=>factory( IMPORTING r_salv_table = data(lo_alv) CHANGING t_table = lt_tab ). CATCH cx_salv_msg. ENDTRY. lo_alv->display( ). ENDMETHOD. ENDCLASS.