cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop copying of ChaRM CD

Former Member
0 Kudos


Hi,

We have implemented ChaRM in Solman 7.1 Support Pack 13. We have restricted user authorization in ChaRM CDs via authorization object B_USERSTAT.

But we have a requirement that the users will not be able to copy ChaRM CDs. Does anyone have any idea of how to stop copy of Change documents in ChaRM.

Regards,

Ananya Mukherjee

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ananya,

this can be done by development.

Enhance UI Component AIC_CMCD_H.

Enhance View AICCMCDOverwiew.

In the implementation class redefine the method GET_BUTTONS.

With the following code you can hide the copy button:

  field-symbols: <ls_button> type crmt_thtmlb_button_ext.

  call method super->if_bsp_wd_toolbar_callback~get_buttons

    receiving

      rt_buttons = rt_buttons.

read table rt_buttons with key id = 'COPY' assigning <ls_button>.
if <ls_button> is assigned.
  delete table rt_buttons from <ls_button>.
endif.

Best Regards,

Christoph

Former Member
0 Kudos

Hi Christoph,


Thanks for your reply. Is it possible to hide the copy button for some particular user?

Meaning while one user will be able to copy a Change document other users will not be able to copy/see the Change document.

Regards,

Ananya Mukherjee

Former Member
0 Kudos

Hi Ananya,

of course you can develop it this way.

Just put the code in an IF statment like:

IF sy-uname = 'USERNAME'.

...

ENDIF.

But it would be better to create a customizing table and use it do determine which user should see the button.

Best Regards,

Christoph

Answers (1)

Answers (1)

Former Member
0 Kudos

hi Ananya ,

copy of Change Document ?

Which document you are using urgent or normal.

each Change document is unique and have unique TR attached to it. you cannot have the Same Change copied to another .

Regards,

Shashank

Former Member
0 Kudos

Hi Shasank,

The Change document "Details" field values can be copied only, but the transport request in the Change document can't be copied for both Urgent and Normal.

Copy of Change Document (CD) is a standard functionality and I want to disable this functionality.

Regards,

Annaya Mukherjee