I am trying to change filters and execute DTP through ABAP code. But the code is not able to change the filter conditions. As per the suggestion on thread - http://forums.sdn.sap.com/thread.jspa?threadID=1512430 , I have added code to deactivate the DTP. But now it is giving a short dump - MESSAGE_TYPE_X
Termination occurred in the ABAP program "CL_RSBK_DTP_V=================CP" -
The main program was "Z1BW_PCP_LOAD_0PACP_C02_TEST ".
In the source code you have the termination point in line 100
of the (Include) program "CL_RSBK_DTP_V=================CM017".
lcl_dtp = cl_rsbk_dtp=>factory( w_loc_dtp ).
lcl_filter = lcl_dtp->get_obj_ref_filter( ).
CALL METHOD lcl_filter->SET_SELTAB
I_T_SELTAB = g_t_seltab.
Please suggest if anyone has worked on it.