Skip to Content

Problem with transaction data in IF_RSPLFA_SRVTYPE_IMP_EXEC_REF

Hello All,

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


s_charsel-iobjnm = '0VERSION'.
s_charsel-sign = 'I'.
s_charsel-opt = 'EQ'.
s_charsel-low = 'ACT'.


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?

Thanks- Abaper

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Posted on Aug 11, 2010 at 06:30 AM


    C_TH_DATA hashed table will give me my whole selection/data set for which we want the function to work.

    If you are generating any new record which is not part of the selection in C_TH_DATA it will not allow to do so.

    Ref data is your scope of dataset( ur needs) .. you need to manupulate ref dataset as per your requirement .

    and then modify c_th_data based of ref data set.



    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 10, 2010 at 06:01 PM


    C_TH_DATA is an hased table which contains the IP planning buffer.

    The contents of this table depends on the selection criteria ( filter restriction ) that you have given in the modeller.

    It will pick up all the values based on that.

    You need to manupulate the C_TH_DATA based on ref data..



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Bhupendra Singhal

      You can send me mails.

      I can't promise to answer them quickly but I'll try.

      NB: I like them, thank you 😊

      Edited by: Dirk Herzog on Aug 12, 2010 2:23 PM