Quantcast
Channel: SCN: Message List - Business Content and Extractors
Viewing all articles
Browse latest Browse all 5631

Data source on top of virtual cube s_r_infoprov expection

$
0
0

hi experts,

 

i have generated a export datasource on virtual cube. The virtual cube is based on a function module.

When I display data in virtual cube it shows all the data .When I extract the data from it through DTP , it works well.

But when i am using data source(exported data source) to pull the data from the virtual cube it is not pulling the data.

It is throwing an exception at the following place.

 

CALL FUNCTION 'RSDRI_INFOPROV_READ'

       EXPORTING

                                                        "begin qyh030513

         i_infoprov             = l_infoprov  "'/CPMB/ASFIN'

*        i_infoprov             = do_util->do_appl_info_m-MULTIPROV  "'/CPMB/ASFIN'

                                                          "end qyh030513

         i_th_sfc               = lth_sfc

         i_th_sfk               = lth_sfk

         i_t_range              = lt_range

         i_rollup_only          = space

         "i_use_db_aggregation   = abap_true "abap_true "RS_C_TRUE

         i_use_db_aggregation   = IF_DB_AGGREGATE "abap_true "RS_C_TRUE

         i_use_aggregates       = abap_true "abap_true "RS_C_TRUE

         i_packagesize          = i_packagesize

         i_authority_check      = space

         i_currency_conversion  = space

       IMPORTING

         e_t_data               = et_data

         e_split_occurred       = e_split_occurred

         e_end_of_data          = e_end_of_data

         e_stepuid              = l_stepuid

       CHANGING

         c_first_call           = c_first_call

       EXCEPTIONS

         illegal_input          = 1

         illegal_input_sfc      = 2

         illegal_input_sfk      = 3

         illegal_input_range    = 4

         illegal_input_tablesel = 5

         no_authorization       = 6

         illegal_download       = 8

         illegal_tablename      = 9

         OTHERS                 = 11.


When we go inside this function module in debugging the below code will be there


STATICS: s_r_infoprov   TYPE REF TO cl_rsdri_infoprov.

 

   CLEAR: e_t_msg.

 

   IF i_clear = rs_c_true.

     CLEAR s_r_infoprov.

     RETURN.

   ENDIF.


IF s_r_infoprov IS NOT INITIAL AND c_first_call = rs_c_true.

*   nested call of RSDRI_INFOPROV_READ

     MESSAGE e882(dbman) RAISING illegal_input.

   ENDIF.


Problem is with the s_r_infoprov value.  When I execut with data source in RSA3 then  the value is {O:222*\CLASS=CL_RSDRI_INFOPROV}


and when I executed directly the virtual cube the value for s_r_infoprov is initial.


So because of this value {O:222*\CLASS=CL_RSDRI_INFOPROV} the following code got executed and throwing an exception.


Experts please guide how to solve this. will data source on top of virtual cube wont work?


thank you




Viewing all articles
Browse latest Browse all 5631

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>