Problem with transaction data in IF_RSPLFA_SRVTYPE_IMP_EXEC_REF
I have a cube which has 0FISCYEAR, 0MATERIAL, 0VERSION & 0AMOUNT characteristic/ Key Figures among others. All the charactristics are in aggregation level. In 0VERSION, I have values 'ACT' (Actual) & 'PLN' (Plan). Actual will be reference data while Plan will be transactional (or plan) data.
My planning function type has 'Reference Data' check box ticked.
In my planning function I have 0MATERIAL in fields for selection (used in conditions) and 0VERSION as field to be changed but I am not restricting any values here.
In GET_REF_DATA_SEL method, I have added following code to mark 'ACT' (actual version) as reference data
DATA: s_charsel TYPE RSPLF_S_CHARSEL. s_charsel-iobjnm = '0VERSION'. s_charsel-sign = 'I'. s_charsel-opt = 'EQ'. s_charsel-low = 'ACT'. INSERT s_charsel INTO TABLE E_T_REF_CHARSEL.
In my EXECUTE method, I_TH_REF_DATA is populated correctly with 'ACT' (actual version) data; but C_TH_DATA still has values for both 'ACT' (actual) & 'PLN' (plan) versions.
Question . I was not expecting C_TH_DATA to have values for 'ACT' data as I have made it as reference data in GET_REF_DATA_SEL method. What is wrong here in the code or my expectation?