Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Re: Submit ALV report from function and pass the data to oData service

$
0
0

Which exact message did the get_data method raise?

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 INTO lo_error.

    lv_text = lo_error->if_message~get_text().

ENDTRY.

Else, in case of failure of get_data, you could then try method get_data_ref?

 

Regards,

Raymond


Viewing all articles
Browse latest Browse all 9091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>