cancel
Showing results for 
Search instead for 
Did you mean: 

Convert / Migrate Generic Datasource (Based on Custom Function Module) to CDS

vijay_k1
Explorer
0 Kudos
338

Hello Experts

I need to Convert / Migrate Generic Datasource (Based on Custom Function Module) to CDS.

Until Now : I have created a Generic Datasource (which is based on Custom Function module) and using it.

1) The Back end Function Module will read the entries as per the values in selection i_t_select.

2) It will do SUBMIT (c_report) WITH SELECTION-TABLE lt_selscreen AND RETURN.

3) Then calls the class to get the information from the a transaction using

cl_salv_bs_runtime_info=>get_data_ref(

IMPORTING r_data = lr_tcode_data ).

ASSIGN lr_tcode_data->* TO <lt_tcode_data>.

4) Then based on data in <lt_tcode_data> , I will collect the necessary fields data and pass back data to e_t_data.

To Be : Now , I need to achieve the same functionality in CDS view. Please suggest.

Thanks

Vijay Reddy

Accepted Solutions (0)

Answers (1)

Answers (1)

raymond_giuseppi
Active Contributor
0 Kudos

Check this answer