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.