cancel
Showing results for 
Search instead for 
Did you mean: 

Reding values of DTP filter.

0 Kudos

Hi,

I am trying to understand the logic for a code used to get the values entered in some fields of DTP filter.

But I am new to SAP BW, so please help to understand the logic behind the following code.

Loop at I_dtp INTO w_dtp.

r_rsbk_dtp = cl_rsbk_dtp=>factory(w_dtp-dtp).

r_rsbc_filter = cl_rsbk_dtp->if_rsbk_dtp_display~get_obj_ref_filter().

t_dtprule = r_rsbc_filter->n_t_dtprule.

Regards,

Aman Kumar Sharma

Accepted Solutions (1)

Accepted Solutions (1)

former_member220624
Contributor
0 Kudos

Hi Aman,

cl_rsbk_dtp is a standard class/interface . For more information you can got to t-code se24 and see.


Now coming to your code -


cl_rsbk_dtp=>factory(w_dtp-dtp)                      **your DTP is being passed here to the class


cl_rsbk_dtp->if_rsbk_dtp_display~get_obj_ref_filter()            **method if_rsbk_dtp_display~get_obj_ref_filter()is being called and the result is saved in another


variable.


t_dtprule = r_rsbc_filter->n_t_dtprule                        **this will fetch the method get DTP rule from CL_RSBC_FILTER and save in t_dtprule.


Regards,

Amit



Answers (1)

Answers (1)

0 Kudos

Thanks a lot Amit

Regards,
Aman