cancel
Showing results for 
Search instead for 
Did you mean: 

cl_rsplfa_plan_buffer in IF_RSPLS_CR_METHODS~DERIVE

Former Member
0 Kudos

Hi

I have a requirement to derive a date characteristic from a key figure value in Integrated Planning.

I put the characteristic as derived, but then the default class (based on CL_RSPLS_CR_EXIT_BASE) does not give me access to key figures from my aggregation level.

I thought I would be able to get to them via the planning buffer, using cl_rsplfa_plan_buffer, but when I call the read method get_data I get a short dump because cl_rsplfr_controller=>p_r_area IS NOT BOUND...

Is there a way to read the planning buffer in the derive class?

Regards

Yann

View Entire Topic

Hi Yann,

in the interface of a characteristic relationship you only have characteristics, so even if you manage to read the buffer data it would not be possible to move change any key figure value in a derivation exit.

Your scenario seems to fit to 'attribute planning', i.e. to the feature 'characteristic as key figure' available since BW 7.40, SP08. To use it you have to use direct-update DSOs (in 7.50 you can also use direct-update advanced DSOs). The 'trick' here is that the characteristics are in the data part of the DSO (no key fields) an can be exposed as key figures in the query. You can also use derivation here since your 'source date' is a characteristic and also the target date.

Check the following:

https://help.sap.com/viewer/0ecf5244825c4742a7b062a89d11c2ac/7.5.10/en-US/5b86e6a1bd1642dea95b14daa3...

and

https://help.sap.com/viewer/0ecf5244825c4742a7b062a89d11c2ac/7.5.10/en-US/c8555caa741b4777b0a228e82d...

Regards,

Gregor

Former Member
0 Kudos

OK, thanks for the feedback.