Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

'RSDRC_CUBE_DATA_GET'

Former Member
0 Likes
329

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.

2 REPLIES 2
Read only

Former Member
0 Likes
290

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.

Read only

Former Member
0 Likes
290

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.