SAP ABAP IMG Activity OHACATXBADI02 (BAdI: Customer-specific setup for enabling Options 1 and 2)
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 OHACATXBADI02 BAdI: Customer-specific setup for enabling Options 1 and 2  
Transaction Code S_PL0_09000484   (empty) 
Created on 20020516    
Customizing Attributes OHACATXBADI   BAdI: Customer-Specific Setup for Canadian Tax Infotypes 
Customizing Activity OHACATXBADI02   BAdI: Customer-specific setup for enabling Options 1 and 2 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OHACATXBADI02    

Use

This step describes how to set up customer-specific enhancements using the optional Business Add-In (BAdI) HRPADCA_SUBSCRN_9001, which can be used to toggle between tax calculation Option 1 and Option 2 in maintenance mode on the Federal Tax infotype (0463) screen. The interface IF_EX_HRPADCA_SUBSCRN_9001 consists of the following methods:

  • PUT_DATA_TO_SCREEN and
  • GET_DATA_FROM_SCREEN

Requirements

You wish to toggle between tax calculation Option 1 and Option 2 in maintenance mode on the Federal Tax infotype (0463) screen and understand that BAdI implementation HRPADCA_SUB9001_EX is provided as an example to achieve this goal. This example is provided "as is" to illustrate how a BAdI implementation along these lines could be developed. You should not use this implementation yourself, but rather copy it to the customer name range and maintain it to meet your specific requirements.

Standard settings

The information explained below applies to all methods of interface IF_EX_HRPADCA_SUBSCRN_9001.

Activities

  1. Execute this IMG step. On the subsequent screen, enter a name for the implementation you wish to create. (Alternatively, if you have already used this BAdI 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.

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

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 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20060620 
SAP Release Created in 470