Application Development 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: 

C_TH_DATA in BI IP - empty columns

Former Member
0 Kudos

Hi all,

I've created my first custom planning function type and class, based on three standard methodes (~INIT_EXECUTION, ~EXECUTE and FINISH_EXECUTION), and interface IF_RSPLFA_SRVTYPE_IMP_EXEC.

When I debug IF_RSPLFA_SRVTYPE_IMP_EXEC~EXECUTE, the C_TH_DATA table, which containes 10 columns, has about four of them empty, and the others are correctly filled (My cube is filled with data for all columns, and aggregation level takes all characteristics from it).

I don't understand why C_TH_DATA is not complete, if it uses standard parameters (I_R_PARAM_SET, ...).

Begining of my code :

DATA : l_r_s_data TYPE REF TO data,

          l_data_tab TYPE REF TO data.

FIELD-SYMBOLS: <data_tab> TYPE ANY TABLE,

<l_s_data> TYPE ANY,

CREATE DATA l_data_tab LIKE STANDARD TABLE OF c_th_data.

ASSIGN l_data_tab->* TO <data_tab>.

CREATE DATA l_r_s_data LIKE LINE OF c_th_data.

ASSIGN l_r_s_data->* TO <l_s_data>.

LOOP AT c_th_data INTO <l_s_data>. .....  => already here c_th_data has some empty columns

...

...

any idea?

in the filter I've got only one infoprovider selected from my multiprovider

I my function type I chose only "without blocks" option.


1 REPLY 1

Former Member
0 Kudos

Hi,

Try to check "Reference data", in this case you will need to change the interface to IF_RSPLFA_SRVTYPE_IMP_EXEC_REF.

Regards,

Paulo.