Skip to Content

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.

To report this post you need to login first.

6 Comments

You must be Logged on to comment or reply to a post.

  1. Yugandhar Reddy

    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.

    (0) 

Leave a Reply