Hi Roseberg,
It returns an empty table as output displayed int the ALV report. When I run the function, the input parameters are passing through, the error is at
er_data = lr_data.
ASSIGN lr_data->* TO <lt_dim_mbr>.
of the function.
I have added the below code to see the result in an ALV report.
" Show transaction data via ALV
DATA: lo_table TYPE REF TO cl_salv_table.
DATA: lo_functions TYPE REF TO cl_salv_functions.
TRY.
cl_salv_table=>factory( IMPORTING r_salv_table = lo_table
* CHANGING t_table = <lt_query_result> ).
CHANGING t_table = ltt_result ).
lo_functions = lo_table->get_functions( ).
lo_functions->set_all( abap_true ).
lo_table->display( ).
CATCH cx_salv_msg.
ENDTRY.
Regards,
Draksh