Hi Sri,
I have the same kind of requirement where i am using the similar kind of logic to get the data into alv table.
I am using the below code for fetching the data into alv table.
cl_salv_bs_runtime_info=>set( EXPORTING display = abap_false * metadata = abap_false * data = abap_true ).
* * TRY. * cl_salv_bs_runtime_info=>get_data_ref( IMPORTING r_data = lr_pay_data ).
* ASSIGN lr_pay_data->* TO <lt_pay_data>.
* CATCH cx_salv_bs_sc_runtime_info.
* * MESSAGE 'Unable to retrieve ALV data' TYPE 'E'.
* ENDTRY.
* * cl_salv_bs_runtime_info=>clear_all( ).
But can you tell me what is print parameter, what kind of data type you are using in your statement.
Regards
Siddharth