Implementing Business Add-Ins (BAdIs) for EEA Reporting

Use

Three user exits that influence the behaviour of EEA Reporting are delivered in the standard system. These user exits enable customer-specific enhancements to be activated through optional Business Add-Ins (BAdIs). These user exits, and the corresponding BAdIs that enable them, are shown below.

Business Add-Ins for Employment Equity Act Reporting

User Exit

Business Add-In

Method

Maintain or modify the standard contract periods pertaining to temporary employees

HRPADCA_RPLEEAK0_001

GET_CONTRACT_PERIODS

Change values in the standard buffer that contains EEA information

HRPADCA_RPLEEAK0_001

CHANGE_EEA_BUFFER

Substitute the contract code that is stored within the employee's Organizational Assignment infotype (0001)

HRPADCA_RPLEEAK0_001

GET_EMPLOYEE_CONTRACT

Substitute standard EEA salary calculation with an alternative calculation method

HRPADCA_RPLEEAK0_001

GET_EEA_SALARY

Modify the extracted contents of employee.txt, promo.txt and/or term.txt for submission to EECRS

HRPADCA_RPLEEAK0_001

EXPORT_EECRS_FILES

Substitute standard calculation of number of weeks worked by temporary employees

HRPADCA_RPLEEAK0_002

GET_WEEKS_WORKED

Control “Release data for survey” check in the Additional Personal Data infotype (0077) at the enterprise level

HRPADCA_RPLEEAK0_003

CHECK_DATA_RELEASE

Prerequisites

All of the Business Add-Ins described here are optional. Therefore, only implement these Business Add-Ins if your enterprise has the need and desire to do so.

Procedure

To implement these Business Add-Ins, execute the corresponding activity within Customizing for Payroll Canada (PY-CA).

  • Implement Business Add-In HRPADCA_RPLEEAK0_001 by choosing Start of the navigation path Reporting and Statistics Next navigation step Employment Equity Act Reporting (EEA) Next navigation step Business Add-Ins (BAdIs) Next navigation step Substitute standard salary calculation, contract code and other EEA data End of the navigation path .

  • Implement Business Add-In HRPADCA_RPLEEAK0_002 by choosing Start of the navigation path Reporting and Statistics Next navigation step Employment Equity Act Reporting (EEA) Next navigation step Business Add-Ins (BAdIs) Next navigation step Substitute standard calculation of number of weeks worked by temp.employees End of the navigation path .

  • Implement Business Add-In HRPADCA_RPLEEAK0_003 by choosing Start of the navigation path Reporting and Statistics Next navigation step Employment Equity Act Reporting (EEA) Next navigation step Business Add-Ins (BAdIs) Next navigation step Control "Release data for survey," Additional Personal Data infotype (0077). End of the navigation path .Alternatively, perform the following procedure for each corresponding Business Add-In.

    1. Execute transaction SE19 . On the subsequent screen, enter the name(s) for the implementation(s) you wish to create. (Alternatively, if you have already used one or more of these BAdIs to create other implementations, a dialog box appears, displaying the implementations that have already been created.)

    2. Choose Create . (Or, alternatively, Edit . The remainder of the documentation for this activity describes the steps to be performed when you create a new implementation.)

    3. Enter a short text for the implementation in the Implementation name field, then choose Continue .

    4. On the subsequent screen, specify an Implementation short text , then choose the Interface tabstrip. The name of the implemented class fields are already found in this tabstrip.

    5. Save your entries and assign the implementation to a development class.

    6. Place the cursor on the method, then double-click to initiate method processing.

    7. Enter the code for the implementation between the statements method <Interface name> ~ <Name of method> and endmethod.

    8. Save and implement your code.

    9. Return to the Edit Implementation screen, then save your entries there.

    10. If you wish to activate the implementation you have created at a later date, then exit the Edit Implementation screen without activating the implementation. Otherwise, choose Activate from this screen to activate the implementation for immediate use.

Result

Once you have completed these activities, the source code that you stored in the corresponding method(s) will be run when the associated application is executed.