cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable the copy option from ChaRM -Normal change screen

Former Member
0 Kudos

Hi ,

How to disable the copy option field from ChaRM -Normal change screen

Rg,

Karthik

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Karthik,

Please refer below link for one other way to disable buttons on CRM UI :

Modifying button properties - CRM - SCN Wiki

Regards,

Hanumant

Former Member
0 Kudos

Hi Hanumant,

I have check on IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS  method. but not sure about how to disable toolbar copy button .

Former Member
0 Kudos

Karthik,

Hanumant's first reply explains the enhancement to the BSP component to suppress a button.

The exact code to add to the above method to suppress the Copy button would be:

Do you need further assistance on how to enhance the BSP component?

Kindest regards

Paul

Former Member
0 Kudos

Hi Paul,

Great. change document copy buttons are removed.

How to remove the request for change screen copy button.

Also any way to control like only Normal change and urgent change screen copy button removal and enable only defect correction screen copy button.

Rg,

Karthik

Former Member
0 Kudos

Hi Karthik,

For the Request for Change, use the same process except do it for BSP Component AIC_CMCR_H.

We don't use Defect Corrections but I assume they use the same AIC_CMCD_H BSP Component that Normal and Urgent Changes use. If so, you'll need to add some conditional code to check for the Process Type or Document Type to restrict the deletion of the button for Defect Corrections vs NC/UC. The Document Type is populated in the initial Method GET_BUTTONS prior to your delete statements.

Kindest regards

Paul

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Karthik,

For disabling toolbar buttons(Ex. Copy button), you need to enhance respective Get_Buttons method of view BSP component related to screen  in transaction BSP_WD_CMPWB.

Example screenshot attached. Redefine method with relevant code.

Hope this information helps you.

Regards,

Hanumant