cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide button "Period Structure" in Planning Book ?

0 Kudos

Hello,

Does anyone know how I can hide the button "Period Structure" (button showing a "calendar" icon which allows to change the time bucket profile) in the planning book screen (not all of our users should be allowed to use it)? We are on SCM 5.0. Is there any user-exit, user parameter, authorization object which can be used?

Thank you.

Regards,

Klemens

Accepted Solutions (1)

Accepted Solutions (1)

srinivas_krishnamoorthy
Active Contributor
0 Kudos

Did you try restriction on time bucket profile per se ? Object C_APO_FUN and function S_TIMEB. So although the button will be available, they will not be able switch to other time bucket profiles other than the ones in data views.

0 Kudos

Hi - thanks for the tip but our users already lack the C_APO_FUN/S_TIMEB authorization but still can choose a different period structure via the button. Does this work on your system? Is there any other option?

Regards,

Klemens

srinivas_krishnamoorthy
Active Contributor
0 Kudos

I should have asked this before. Why do you exactly want to hide the Period Structure button in the first place ?

0 Kudos

The goal is that our users should not be allowed to change the period structure because for some of our planning books e.g. it only makes sense to have a 12 month (12 buckets) timeline. If e.g. a 1 year (1 bucket) timeline can be chosen and the data is changed this may have adverse effects on the monthly data. Hence, easiest would be to hide the button or to use authorizations to avoid unwanted changes.

Regards,

Klemens

srinivas_krishnamoorthy
Active Contributor
0 Kudos

well, if users change it to yearly bucket and change the data - the data will get disaggregated in the same fashion as the existing numbers. There could only be complexities (however explainable) if there is some locked data in monthly buckets. Can you be specific exactly what are the adverse effects you are expecting ?

0 Kudos

The disaggregation is exactly the issue - we do not want users to enter one number on year-level to have it disaggregated on monthly buckets in the background. Hence, only input on month-level should be allowed. We have just upgraded from SCM 4.0 where this was no issue because the useres were unable to change the period structure themselves. In SCM 5.0 they now can change it which we want to avoid.

Also, we have some planning books where the user should only see and manage data on a daily level where an aggregated number on a month-level has no meaning (and again the disaggregation "danger").

Regards,

Klemens

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi we have the same problem - anybody have a solution how to hide this button?

0 Kudos

Hi,

I have found BADI "/SAPAPO/SDP_INTERACT", Method "/SAPAPO/SDP_INTERACT" - this should do the trick; unfortunately, I couldn't find any example coding. Has anyone used this BADI/Method already?

Regards,

Klemens

0 Kudos

Method = "FCODES_EXCLUDE"

0 Kudos

Hi again,

I finally solved the issue by using same BADI but other Function: USER_FCODES_CALCULATIONS. Here you can re-set the function code, thereby disabling the functionality of the button (depending on your own logic, e.g. user group):

IF cv_fcode = 'MSDP_TIME_PERIO_SET'.

cv_fcode = ''.

ENDIF.

Thanks to everyone for the input.

Klemens

Former Member
0 Kudos

Hi,

Check that:

<a href="https://service.sap.com/sap/support/notes/1034853">OSS Note 1034853</a>

Regards

Alper