‎2008 Feb 20 5:26 PM
Hi frens,
the below are the parameters i have passed to the FM
CALL FUNCTION 'RSDRC_CUBE_DATA_GET'
EXPORTING
i_infocube = v_infocude
i_th_sfc = gB_TH_SFC
i_th_sfk = TB_TH_SFK[]
I_TSX_SELDR = gB_TbX_SELDR
I_MAXROWS = '200'
IMPORTING
E_T_DATA = TB_T_DATA
changing
c_first_call = C_CHANGE
EXCEPTIONS
WRONG_INPUT = 1
METADATA_ERROR = 2
INHERITED_ERROR = 3
NO_AUTHORIZATION = 4
NESTED_QUERY_ERROR = 5
OTHERS = 6
But for me the exception is raising as INHERITED error.(sy-subrc 3)
Can u please tell me what might be the reason.Or send me an example of the FM code to display all the key figuers in a report.
‎2008 Mar 13 10:47 AM
I'm not understanding what you are trying to achive.
If you are trying to read a infocube then please use the RSDRI_INFOPROV_READ FM.
‎2008 Mar 13 11:10 AM
Please look at the coding in FM ... RSDRC_CUBE_DATA_GET
U'll get some idea why this error occured ...
check whether there is an existing query state that has been
stored in the static variables and that might be overwritten
if not s_s_qparam is initial.
perform raise_exception
using 'DBMAN' '114' 'X'
i_infocube
space
space
space
rsdrc_c_exc-nested_query
i_debug.
endif.