Ansicht
Dokumentation

OHACATXBADI02 - BAdI: Customer-specific setup for enabling Options 1 and 2

OHACATXBADI02 - BAdI: Customer-specific setup for enabling Options 1 and 2

Vendor Master (General Section)   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

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

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.

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

  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 ~ 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.






TXBHW - Original Tax Base Amount in Local Currency   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 3077 Date: 20240524 Time: 004005     sap01-206 ( 85 ms )