on 12-10-2015 8:28 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot Amit
Regards,
Aman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.