SAP ABAP IMG Activity BW_BADI_FORMULA (BAdI: Customer-defined Functions in Formula Builder)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-WHM-DST (Application Component) Data Staging
     RSFO (Package) Integration of Formula Editor in Transfer/Update Rules
IMG Activity
ID BW_BADI_FORMULA BAdI: Customer-defined Functions in Formula Builder  
Transaction Code S_J19_89000001   (empty) 
Created on 20020506    
Customizing Attributes BW_BADI_FORMULA   BAdI: Customer-defined Functions in Formula Builder 
Customizing Activity BW_BADI_FORMULA   BAdI: Customer-defined Functions in Formula Builder 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name RSAR_CONNECTOR    

Use

This Business Add-In (BAdI) is used in the formula builder transformation library. You use this BAdI to integrate user-defined functions into the transformation library of the formula builder. In this way, you can make special functions that are not contained in the transformation library available for regular use.

Requirements

The technical name of a user-defined function

  • Must be specified
  • Must be unique
  • Must begin with 'C_'
  • Can contain only alphanumeric characters ( ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_) (lower-case letters, empty spaces and special characters are not allowed)
  • Can be a maximum of 61 characters long.

Standard settings

The BAdI can be used repeatedly. Is it not filter-dependent.

Activities

After you have called up the IMG activity, a dialog box appears in which you enter a name for implementation.

If implementations have already been created for this BAdI, a dialog box appears in which the existing implementations are displayed. In this dialog box, choose Create and proceed as follows:

  1. In the Implementation field, enter a name for the implementation of the BAdIs and choose Create.
  2. The initial screen for creating BAdI implementations appears.
  3. In the initial screen, in the Short Text for Implementation field, enter a short text for the implementation.
  4. Choose the Interface tab index.
  5. On the tab page, the field Name of Implemented Class is filled automatically, since the system assigns a class name based on the name of your implementation.
  6. Save your entries and assign the implementation to a development class.
  7. Position the cursor on the method and double-click on it to reach the method editing screen.
  8. Between the statements method <Interface Name>~<Name of Method>. and endmethod. the coding for your implementation.
  9. Save and activate your coding and return to the Change Implementation screen.
  10. Save your entries on the Change Implementation screen.

    Note: You can create an implementation for a BAdI and activate it later. If this is the case, close the editing screen now.

  11. Choose Activate.

    When you execute the application program, the coding you defined in the method is run through.

See also:

Method

GET

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20030115 
SAP Release Created in 720