Ansicht
Dokumentation
ESS_WDA_PERSINFO_007 - BAdI: Determine Customer-Specific Key Screen Replacement
Addresses (Business Address Services) ABAP Short ReferenceThis documentation is copyright by SAP AG.
This Business Add-In (BAdI) is used in the Employee Self-Services (PA-ESS) component. You can use this BAdI to maintain the Web Dynpro component (HRESS_C_PERSINFO_CONFIG) configuration based on the customer-specific configuration key. The BAdI uses the Web Dynpro component configuration ID as a filter value. This allows you to use different configuration keys for different Web Dynpro component configurations.
This BAdI is called for component (HRESS_C_PERSINFO_CONFIG) configuration. After you have implemented the BAdI, the filter value is set with the relevant component configuration ID. Based on the implementation, an additional configuration key is available to the user.
The BAdI contains the interface IF_HRESS_EX_PER_CONFIG_KEY.
This interface provides the following methods:
- GET_CONFIG_KEY
- This method is called at runtime when the application finds an active implementation for the current Web Dynpro configuration. The method returns the configuration key to the application. Use this key to perform the requested action on UIBBs.
- You can program a configuration key based on customer-specific business case requirements.
- Example
- The business case demands the Personal Profile application layout to be different for different positions in the organizational structure. In this case, the configuration key is "Position".
- The method has the following input parameters:
- ITVERS
- ID of the infotype version
- PERSONEL_NUMBER
- Personnel number
- The method has the following return parameter:
- CONFIG_KEY
- Configuration key
- GET_TEXT_FOR_CONFIG_KEY_TYPE
- This method reads the text of the configuration key. The method is only called during configuration maintenance (design time). It has no role when the application is run (runtime).
- Example
- Users who want to use "Position" as a configuration key text to filter User Interface Building Blocks (UIBB) of the Personal Profile application can add a relevant label text for this, which this method then returns as a string. This label text is then used in the configuration maintenance screen as a label for the configuration key.
- The method has the following return parameter:
- LABEL_CONFIG_KEY
- Configuration type text
In the standard system there is no activated BAdI implementation.
For more information about the standard settings (filters, single or multiple uses), see the Enh. Spot Element Definitions tab in the BAdI Builder (transaction SE18).
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.
The standard shipment provides a sample implementation of this BAdI: HRESS_PER_CONFIG_KEY_IMPLE
The method GET_TEXT_FOR_CONFIG_KEY_TYPE displays the field name as Org Assignment Detail.
The method GET_CONFIG_KEY returns the concatenated string of Personnel Area Employee Group Employee Subgroup, for the Personnel Number.
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 4529 Date: 20240607 Time: 071725 sap01-206 ( 126 ms )