SAP ABAP IMG Activity /TDAG/RCS_BADI_012 (BAdI: Set Functions for Use Assessment)
Hierarchy
TDAGBCA (Software Component) TechniData Basic Components
   EHS (Application Component) Environment, Health and Safety
     /TDAG/RCS (Package) REACH Compliance - General
IMG Activity
ID /TDAG/RCS_BADI_012 BAdI: Set Functions for Use Assessment  
Transaction Code /TDAG/13000060   (empty) 
Created on 20101011    
Customizing Attributes /TDAG/RCS_BADI_012   BAdI: Set functions for Use Assessment 
Customizing Activity /TDAG/RCS_BADI_012   BAdI: Set Functions for Use Assessment 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /TDAG/RCS_BADI_012    

Use

This Business Add-In (BAdI) is used in the SAP Product and REACH Compliance component. This BAdI enables you to specify functions for the use assessment screen.

Requirements

Standard settings

In the standard system, the Business Add-In is activated. The default code is executed automatically. If you activate your own implementation, the default code is deactivated automatically.

BAdI Implementations

This BAdI contains default implementation /TDAG/CL_DEF_IM_RCS_BADI_012. This BAdI defines and activates the following standard functions:

Link All Identical

Method    Description    Use

SET_BUTTON_LINK_IDENTICAL    Activates the function and defines the appropriate button text and tooltip    Define button characteristics (activity status, button text and tooltip)

LINK_IDENTICAL    Searches for identical use collection and use and exposure uses (identical use descriptors) that are not linked already and links them. This method does not consider selected uses. Links are created for all identical use collection and U&E uses that are not linked together even if these uses are not selected or different uses are selected at the time this function is executed.    Link identical use collection to use and exposure (U&E) uses

Copy and Link Selected

Method    Description    Use

SET_BUTTON_FUNC    Activates the function and defines the appropriate button text and tooltip    Define your own button characteristics (activity status, button text and tooltip)

FUNC_USE_COLLECTION    Copies selected use collection uses to non-existent U&E uses with the same use descriptors and automatically links them if these uses are not linked already.    Define your own function that is related to one or more selected use collection uses (use collection data process).

FUNC_USE_AND_EXPOSURE    Copies selected U&E uses to non-existent use collection uses with the same use descriptors and automatically links them if these uses are not linked already.    Define your own function that is related to one or more selected U&E collection uses (use and exposure data process).

Activities

After you call the IMG activity, the system displays a dialog box where you enter a name for the implementation.

If implementations of this Business Add-In have already been created, the system displays them in a dialog box. You then choose one of them by choosing Create, and continue as follows:

  1. In the dialog box, enter a name for the implementation of the Add-In and choose Create.
    The system displays the initial screen for creating Business Add-In implementations.
  2. On this screen, enter a short description for your implementation in the Implementation Short Text field.
  3. If you choose the Interface tab, you will notice that the system has populated the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.
  4. Save your entries and assign the Add-In to a package.
  5. To edit a method, double-click its name.
  6. Enter your implementation code between the method <Interface Name>~<Name of Method>. and endmethod. statements.
  7. Save and activate your code. Navigate back to the Change Implementation screen.
    Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not perform the following step:
  8. Choose Activate.
    When the application program is executed, the code you created is run through.

Example

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG /TDAG/RCS_BADI_012 0 HLA0100681 Product Safety 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on PROSSER  20110104 
SAP Release Created in 200_600