Skip to Content
author's profile photo Former Member
Former Member

Asset Condition Failed error in EPM 10 read transaction BADI

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?


Source Code Extract

Line SourceCde


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.


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.

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 01, 2015 at 03:43 PM

    Hi Biswajit,

    I resolved this issue by passing C_FIRST_CALL changing parameter to the RSRDI_RUN_QUERY method. initially C_FIRST_CALL parameter was not passed hence when we pass package size parameter it throwing dump.



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Vijay- I am trying to overcome the same performance issue. I am reading the data from a cube and being a huge volume cube, it is throwing a 'STRING_SIZE_TOO_LARGE'dump. Trying to see what other parameters I have to pass to RUN_RSDRI_QUERY to make it efficient. This is the code I have

      CALL METHOD lo_query->run_rsdri_query


      it_dim_name = lt_dim_list " BPC: Dimension List

      if_check_security = abap_false " BPC: Generic indicator


      et_data = <lt_result>

      et_message = lt_message. " BPC: Messages

      CATCH cx_ujo_read. " Exception of common read


      If I pass the package size as 10,100 or 1000 or 10000 it throws a dump that Assertion failed.

  • Posted on Dec 23, 2014 at 09:12 AM

    Hi Vijay,

    May I know why do you need to populate I_PACKAGESIZE ?



    Add comment
    10|10000 characters needed characters exceeded