Skip to Content
0
Feb 13, 2019 at 02:59 PM

BW-IP: Where to edit C_TH_DATA for Planning Function Type built on CL_RSPLFC_COPY

940 Views Last edit Feb 13, 2019 at 03:00 PM 2 rev

Hi,

I need to write a custom planning function type that would copy data from one ADSO to another. Both the ADSOs are cube type. I need reference data as well.

Now, before copying some calculations have to be done on one of the key figures.

I know, I need to change data in C_TH_DATA in IF_RSPLFA_SRVTYPE_IMP_EXEC_REF~EXECUTE method. I'm able to the calculations and change C_TH_DATA but am unsure where in code do I actually update this new data.

There are several places where C_TH_DATA is used by SAP. Where should I update this so that this new data is copied to my target ADSO?

A code snippet showing above or below which line I should do my editing would be very helpful.

Thanks

Sagar