Ansicht
Dokumentation

HRESS_MENU - BAdI: Specify Dynamic Rendering of Services

HRESS_MENU - BAdI: Specify Dynamic Rendering of Services

BAL Application Log Documentation   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

The Business Add-In (BAdI) HRESS_MENU is used during the rendering of the Employee Self-Service menu, both for the ESS NWBC (Netweaver Business Client) role and for the launchpad-based SAP Portal role for ESS WebDynpro ABAP.

You can use this BAdI to modify the application or folder attributes of the menu at runtime based on your business requirements.

This BAdI implementation gives you the flexibility to dynamically change the service link attributes at runtime (hide/show, enable/disable, emphasised/deemphasized, text, parameters, description, and so on). It also provides the flexibility to dynamically change the folder attributes (hide/show, description, icon, and so on).

The BAdI implementation HRESS_COUNTRY_FILTER is activated in the standard system and has COUNTRY_FILTER as its filter value. This implementation is always called by default for all applications in the menu. Its purpose is to hide applications in the menu if the application parameter COUNTRYGROUPING is set and the user logged in belongs to a different country.

If the application or folder maintained in the menu has an application alias and an active BAdI implementation exists with the filter value set to the application alias, then this implementation is called and the folder or application attributes can be modfied at runtime.

The HRESS_MENU BAdI is called from enhancement implementation HRESS_NWBC_MENU_EXT for NWBC and from CL_HRESS_LPD_MENU for the launchpad.

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

For an employee working on a contract basis for an organization, the administrator can hide or show any of the service links at runtime that are not applicable to that employee.

The BAdI is called via the filter value, which corresponds to the application alias maintained when you create services.

By default, the ESS menu is rendered based on the country grouping (standard). This standard function is achieved via the default BAdI implementation HRESS_COUNTRY_FILTER, which is called when the menu is rendered. This implementation is activated in the standard shipment.

This BAdI uses the interface IF_EX_HRESS_MENU. For more information, see the interface in the Class Builder.






CL_GUI_FRONTEND_SERVICES - Frontend Services   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 3174 Date: 20240523 Time: 190122     sap01-206 ( 121 ms )