Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Hide /Disable the Copy/Paste buttons in SHopping cart in SRM 7.0 ?


I want to hide the Copy and Paste buttons in Shopping cart. We are in SRM 7.0.

We are able to disable the Copy button using the control actions through SPRO. But for paster button we didnt see the correspoding field in SPRO.

Can any one please help in this.


Venkatesh P

Former Member
Former Member replied


Table with SC items are in dynpro /SAPSRM/WDC_UI_SC_DOTC_BD

Go to SE80 and select webdynpro /SAPSRM/WDC_UI_SC_DOTC_BD. Expand to views and select V_SC_DOTC_BASIC.

Go to the methods and enchance method WDDOMODIFYVIEW (post-exit).

In enhancement write something like this:

DATA:  lo_button  TYPE REF TO cl_wd_toolbar_button.

  lo_button  ?= view->get_element( 'COPY' ).
  lo_button->set_visible( '01' ).

  lo_button  ?= view->get_element( 'PASTE' ).
  lo_button->set_visible( '01' ).



PS. Please add points for helpful answers

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question