cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi all,

I am using BPC 10.1 Optimised for S/4 Hana. I created a custom planning function type and I use ABAP Classes for all BPC calculations.I filter the data based on planning filter and see the data available on aggregation level by using table c_th_data.And I calculate stg and append the data to c_th_data.Everything works fine.

However, if I do not append a record which was originally available in c_th_data, then it is deleted automatically.I see the log after I run it from rsplan.(xx number of records deleted) This affects the code performance, I have to add the source data to c_th_data each time.It takes too much time to append the source data of c_th_data to adso after I run the calculation.If I appended less records, then it would take less time.

This is not the case in BPC classic version.If we do not append a record in ct_data in BPC classic, then it will not be cleared by system automatically although it was available in the scope of the code.Only appended data pattern was affected for ct_data ( bpc classic).

What I want to know is if this is standard behaviour of bw ip(bpc embedded) or is there any parameter like "process changed records" or stg like this?You can see the interface I use and my custom planning function type below:

Planning function type(properties tab) . There is nothing in parameters tab:

My class uses the interface :

IF_RSPLFA_SRVTYPE_IMP_EXEC

All I do is writing the code to EXECUTE method of that class and append records to c_th_data.

View Entire Topic
gregor_dieckmann
Product and Topic Expert
Product and Topic Expert

Hi Gunes,

you don't have to read anything yourself, you already get the records you need in C_TH_DATA; you say you create 100K new records, so why do you say you have to append 300K records? Append only the 100K new records to the existing 200K records.

If you want to do mass data processing consider to write an SQL Script type of planning function and/or use process chains with planning sequences, there you can parallelize the planning sequence.

CL_RSPLFR_CONTROLLER does the reading, writing and checking for you, thus - depending on the customizing of planning constraints - this may take some time.

Regards,

Gregor