on 05-10-2011 2:05 PM
Hi,
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.
Regards
Venkatesh P
(double post)
Edited by: Marcin Gajewski on May 10, 2011 7:36 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
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' ).
Regards,
Marcin
PS. Please add points for helpful answers
Hello Marcin,
I'm following your suggestion to hide the "ADD APPROVER" button from the view V_DO_APV_HDR of the Web Dynpro Component /SAPSRM/WDC_DO_APV_EXT.
Activating the enhancement button I don't see how to write additional code (Method: WDDOMODIFYVIEW).
Could you pls advice on that matter?
Thanks and Regards,
Salvo
Hi,
Have you try configuration from Dynpro?
If no:
1. Right click on Copy/Paste button and select Properties
2. WebDynpro component is /SAPSRM/WDC_UI_SC_DOTC_BD and configuration ID /SAPSRM/WDCC_DOTC_SC_BD_WIZ_2ND
3. Go to tran. SE80 and select WebDynpro from dropdown
4. Type ID of component (/SAPSRM/WDC_UI_SC_DOTC_BD) in the field below and hit Enter
5. Expand component configuration and double-click on configuration /SAPSRM/WDCC_DOTC_SC_BD_WIZ_2ND
6. Double-click on Start configurator (web browser window appears)
7. Click on Change button
8. Select WebDynpro Build-In Tab
9. Expand tree V_SC_DOTC_BASIC -> ITEMS_TABLE -> ITEMS_TABLE_TOOLBAR
10. Search for COPY and PASTE buttons
11. Click on COPY or PASTE buttons
12. On the right side choose Visibility -> invisible radio-button
13. Save the changes and retest
Regards,
Marcin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can create a transaction variant, in transaction SHD0.
Nilson
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.