cancel
Showing results for 
Search instead for 
Did you mean: 

Hide user-settings button in DP planning book

Former Member
0 Kudos

Hi Gurus,

How can we hide the user-settings button in the DP planning book.

pls share ur ideas,

Thanks,

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can disable the 'Maintain User settings' button using

BAdI /SAPAPO/SDP_INTERACT

METHOD FCODES_EXCLUDE.

The relevant FCODE is 'MUSET'.

If you want to restrict only for some users then:

You can write a check in the BAdI method for username and depending on the username the FCODE is appended or not, e.g.

method /SAPAPO/IF_EX_SDP_INTERACT~FCODES_EXCLUDE.

DATA wa_fcode LIKE LINE OF CT_FCODES_EXCLUDE.

wa_fcode-FCODE = 'MUSET'.

IF SY-UNAME = 'abc'.

APPEND wa_fcode TO CT_FCODES_EXCLUDE.

ENDIF.

endmethod.

Hope this solves your issue.

Thanks and Regards,

Nithin.

Former Member
0 Kudos

Hi Nithin,

Thank you for this, it is very useful. apart from this, i was wondering if there is also any authroization object with which we could hide the user-settings button. i tried to find but i could not,do you know any authorization objects for the same.

Best Regards,

Former Member
0 Kudos

Hi,

According to me if the user has authorization for C_APO_PB then this authorization will automatically be given to him. There is no authorization object specific only to "Maintain User settings".

Thanks and Regards,

Nithin.

former_member583013
Active Contributor
0 Kudos

Hi,

Specifically there is no authorization object on user settings.but you can try user exit EXIT_/SAPAPO/SAPLMCPR_015 to meet your requirement.You can refer to the note 400434 for more information on authorization function module.

Regards,

Sunitha

Former Member
0 Kudos

Thanks Sunitha, We are already using this note for some authorizations and it seems an enhacement is inevitable for the usersettings button..

Best Regards,