cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide the button "New" in Urgent Change Search

Former Member
0 Kudos

Hello experts!

How to hide the button "New" in Urgent Change Search

UI component is AIC_CMCD_S. I ask to specify where is there a code place this button?

Thanks for answer!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Dmitry,

To hide this you first need to

  • enhance AIC_CMCD_S,
  • then enhance view  AIC_CMCD_S/SearchResultView
  • enhance (Z)CL_AIC_CMCD_SEARCHRESULTV_IMPL - method DO_PREPARE_OUTPUT
  • read attribute of the class called GT_BUTTON
  • hide buttons by ENABLED field

Rg Dan

Former Member
0 Kudos

Hello Daniyar,

I not found where hide buttons by ENABLED field

Please help me.

Former Member
0 Kudos

Hi Dmitry,

You need to make own CODING for this, and you can do it in DO_PREPARE_OUTPUT method, buttons table is GT_BUTTON.

Enhance BSP application read here how to - http://wiki.scn.sap.com/wiki/display/CRM/How+To+Enhance+a+Web+UI+Component+in+SAP+CRM then enhance view. After this class CL_AIC_CMCD_SEARCHRESULTV_IMPL will be copied to Z* space so you can redefine DO_PREPARE_OUTPUT and enter own code to hide "New" button.

Rg Dan

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

have you tried to control via authorization objects by not allowing auth to create UC.

check the roles SAP_SMWORK_BASIC_CHANGE_MAN and check with the objecct

B_NOTIF_IB

for instance follow here UC00034 - SAP Solution Manager - Security and Authorizations - SCN Wiki

Thanks

Jansi