Change of Time Bucket Profile within Planning Book - Not working
This is regarding an issue which is preventing change of Time Bucket profile in DP(& also SNP) Planning books. We are in SAP SCM 7.0 EHP3. I understand as per Standard APO, it is possible to change "Time Bucket Profile" when "Period Structure" button is clicked in planning book(refer below screenshot). However it is not working in our APO system. Ideally it is expected to have this functionality working by default. We want to fix this issue as users want to change time bucket profile within pbook (Example - Month to Week or Week to Month)
I know when this button is clicked, system can carry out an authorization check for the “C_APO_FUN” authorization object and the “S_TIMEB or C_TIMEB” function, Parameter Name T_TBID. Since I have SAP_ALL authorization, I do not think this is related to authorization. I have verified above objects with security expert and confirmed that there is no security/authorization related issue. We also tried the system trace option, but it did not help.
As per my understanding, there is no special configuration which we do to activate or deactivate this functionality of changing time bucket profile.
Appreciate any help/input in this regard.
Satish Waghmare replied
Thank you Ada.
We have debugged the function module given by you.
We have implemented User Exit EXIT_/SAPAPO/SAPLMCPR_015 which is called inside the FM /SAPAPO/MCP_PERMISSION_CHECK2.
This exit is used to have an authorization check.
A small code change is required to achieve the desired functionality.