Skip to Content
Author's profile photo Former Member

How to hide the Settings button in WD CATS

Introduction

The Settings button in Record Working Times is rendered by the WD ALV component usage of WD CATS. In order to hide the button you have to implement a WD enhancement to the initialization of the WD ALV component usage within WD CATS. In this example only the weekly view is covered, implementation is similar for other views. ERP 6.0 EHP6 SPS04 was used as a reference system.

The Settings button is visible by default.

/wp-content/uploads/2014/01/wd_cats_settings_enabled_356004.png

Implementation

In ABAP Workbench (SE80), select “Web Dynpro Comp. / Intf.” from the dropdown, input HRESS_C_CATS as component, expand the Views folder and double click V_RECORD_WEEK. Go to the Methods tab and select Enhance from the toolbar. Input a name and a description to your enhancement. Scroll left in the list of methods and create a Post-Exit method for the method INITIALIZE_ALV. See the attachment for the coding of the Post-Exit method. Save, activate and Test.

Result

The Settings button isn’t visible anymore.

/wp-content/uploads/2014/01/wd_cats_settings_disabled_356009.png

Conclusion

I think SAP should introduce an application parameter in the standard WD CATS application so that WD configuration could be used to decide whether the Settings button is visible or not.

Assigned Tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Tammy Powlas
      Tammy Powlas

      Did you put your idea on Idea Place?

      Good to see info on CATS, a widely used functionality

      Author's profile photo Former Member
      Former Member

      Thanks, here is the link to the Idea on the Idea Place.

      Author's profile photo Steve Oldner
      Steve Oldner

      Great!  Thanks, very needed at my work.

      Author's profile photo Laxman Chittepu
      Laxman Chittepu

      Thanks Samuli.

      Author's profile photo Former Member
      Former Member

      hi samuli ,

      gud job .

      Author's profile photo Former Member
      Former Member

      Thanks Samuli for sharing the information, as we have ur blog/solution, we need not put the effort again in finding the solution again. Hope we will see more blogs from you.Keep writing.