Hi Experts,
We were using BPC 7.5 earlier and now we have upgraded to EPM 10.1. As a process we are replacing the obsolete READ and Write methods in the BADI's.
When I am using this method run_rsdri_query of interface IF_UJO_QUERY, I am setting I_PACKAGESIZE parameter for the method.
If I set package size parameter I am getting a dump saying ASSERT CONDITION failed(see the dump on the line 16 below). But if I do not set the I_PACKAGESIZE parameter there is no dump. did anyone face this issue? can you please help me?
dump:
Source Code Extract
Line SourceCde
1 method RUN_RSDRI_QUERY.
2 "begin frp290513 hana native model
3 data:
4 lf_first_call type uj_flg,
5 ls_opt type if_ujo2_request=>s_query_option.
6
7 lf_first_call = io_request->is_first_call( ).
8 ls_opt = io_request->get_options( ).
9 if ls_opt-package_size <= 0.
10 lf_first_call = abap_true.
11 endif.
12 if lf_first_call = abap_false.
13 data: lo_query_engine type ref to if_ujo2_rsdri_query_engine.
14 lo_query_engine = io_request->get_query_engine( ).
15 "call set_query_engine inside the run_rsdri_query method of the engin
>>>>> assert lo_query_engine is not initial.
17 ro_resultset = lo_query_engine->run_rsdri_query( io_request ).
18 else.
19 data: lo_request_distributor type ref to if_ujo2_request_distributor.