SAP ABAP IMG Activity PAY_CA_RS1 (BAdI: Set Variant for Tax form Reprint (Transaction HRESSCA_TFR))
Hierarchy
SAP_HRCCA (Software Component) Sub component SAP_HRCCA of SAP_HR
   PY-CA (Application Component) Canada
     P07C (Package) HR customizing: Canada
IMG Activity
ID PAY_CA_RS1 BAdI: Set Variant for Tax form Reprint (Transaction HRESSCA_TFR)  
Transaction Code S_L7D_24001477   (empty) 
Created on 20080108    
Customizing Attributes PAY_CA_RS1   BAdI: Set Variant for Tax form Reprint (Transaction HRESSCA_TFR) 
Customizing Activity PAY_CA_RS1   BAdI: Set Variant for Tax form Reprint (Transaction HRESSCA_TFR) 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HRESSCA_TFR_001    

Use

This Business Add-In (Add-In) is used in the Payroll component.

This Add-In enables you to set a variant for Tax Form Reprint report (RPCYERK1). The system uses this variant when you execute the report through transaction HRESSCA_TFR.

By default the system uses the variant SAP&T4_ESS. However, you can use this BAdI to set another variant with different selection options as per your requirement.

In the standard system, this BAdI includes method IS_VARIANT. This method returns the variant SAP&T4_ESS that you can modify.

Requirements

You should only carry out this step if both of the following points apply:

  • The SAP standard processes do not suit your needs
  • You are a competent ABAP/4 programmer

Standard settings

In the standard system, the Business Add-In is not activated.

Activities

After calling up the IMG activity, a dialog box appears, in which you have to enter the implementation name. Choose Enter, and proceed as follows:

  1. Enter the Short Text for the implementation.
  2. From the tab index, choose Interface.
  3. Save your entries, and assign the implementation to a development class.
  4. Place the cursor on the method, and double-click to enter method processing.
  5. Enter the coding for the implementation between the statements method <Interface name> ~ <Name of method> and endmethod.
  6. Save and implement your coding. Return to the Edit Implementation screen.
  7. Save the entries on the Edit Implementation screen.

    Note: You can also change an implementation, and then activate it at a later time. In such a case, end the processing stage at this point.

  8. Choose Activate.

    The coding you stored in the method will be run when the application program is executed.

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
PAY_CA_RS1 CA Canada
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20080110 
SAP Release Created in 600