Show TOC

Function documentationConfiguration of the Role Menu for ESS (WDA) in SAP NWBC Locate this document in the navigation structure

 

In this section you find information about how the role menu in the SAP standard role repository (transaction PFCG) is configured.

Features

SAP delivers the composite role SAP_EMPLOYEE_ESS_WDA_2. This composite role contains the menu structure with all ESS (WDA) services. For more information, see Employee Self-Service Composite Role.

For the ESS (WDA) role in SAP NetWever Business Client for HTML, SAP delivers BAdI implementation HRESS_NWBC_MENU_EXT. This is used to modify the role menu at runtime, based on the BAdI: Specify Dynamic Rendering of Services (HRESS_MENU) BAdI implementation. This implementation has the technical name of the composite role as its filter value. If you copy the standard role (see Activities) and want the same flexibility of dynamic menu modification, you have to include the name of the newly copied role in the filter value HRESS_NWBC_MENU_EXT.

Activities

In Customizing for Employee Self-Service (Web Dynpro ABAP), make the required settings under   General Settings   ESS Menu for Services   Menu for SAP NetWeaver Business Client for HTML  . This Customizing activity refers to transaction PFCG:

  1. Call up transaction PFCG and create or copy your customer-specific role based on the standard shipped composite role for ESS (WDA), SAP_EMPLOYEE_ESS_WDA_2 in the customer name space (Z_*.

    Note Note

    When you copy the composite role, you will be prompted to either copy the single roles contained in the composite role SAP_EMPLOYEE_ESS_WDA_2, or not. Most of the single roles embedded in the composite role have menus (the menu of the composite role is the result of the menus of the single roles contained in the composite roles, with possible adaptations).

    End of the note.
  2. If you have copied the composite role in transaction PFCG, or have created a new composite role and want to be able to filter by country in NWBC, add the new role name as filter value to BAdI implementation HRESS_NWBC_MENU_EXT.

More Information

For more information about editing single and composite roles with transaction PFCG, see SAP NetWeaver Library and choose Role Administration.

See also Dynamic Rendering of the Menu (BAdI HRESS_MENU)