SAP ABAP IMG Activity /TDAG/EHSRC_ONLY_REP (BAdI: Functions of Only Representative)
Hierarchy
TDAGBCA (Software Component) TechniData Basic Components
   EHS (Application Component) Environment, Health and Safety
     /TDAG/RCS (Package) REACH Compliance - General
IMG Activity
ID /TDAG/EHSRC_ONLY_REP BAdI: Functions of Only Representative  
Transaction Code /TDAG/13000037   (empty) 
Created on 20090916    
Customizing Attributes /TDAG/EHSRC_ONLY_REP   BAdI: Functions of Only Representative 
Customizing Activity /TDAG/EHSRC_ONLY_REP   BAdI: Functions of Only Representative 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /TDAG/EHSRC_ONLY_REP    

Use

This Business Add-In (BAdI) is used in the SAP Product and REACH Compliance component. This BAdI enables you to use legal entities in the search help for the internal only representative in substance volume tracking (transaction CBRC01) to maintain internal only representatives.

BAdI Implementations

CL_DEF_IM_EHSRC_ONLY_REP (default implementation)

Activities

To create a customer-specific implementation, copy the coding of all methods from the default implementation into your own implementation of the BAdI. Then, change the coding of method OR_F4 in your implementation.

Before calling the function F4IF_FIELD_VALUE_REQUEST, the following changed parameter values are required. You can comment out the existing three lines and add the following lines that define the values needed to call function F4IF_FIELD_VALUE_REQUEST:

L_TABNAME = '/TDAG/RCSA_LGENT'.
L_FIELDNAME = 'BUKRS'.
L_SHLPNAME = '/TDAG/RCSLE_LEGENT_SRC'.

The coding should be as follows:
...
* set fields for search help
* L_TABNAME = I_TABNAME.
* L_FIELDNAME = I_FIELDNAME.
* L_SHLPNAME = I_SHLPNAME.

L_TABNAME = '/TDAG/RCSA_LGENT'.
L_FIELDNAME = 'BUKRS'.
L_SHLPNAME = '/TDAG/RCSLE_LEGENT_SRC'.

* call f4-help
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
...

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 1   Mandatory activity 
Critical / Non-Critical 1   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/EHSRC_ONLY_REP 0 HLA0003435 Environment, Health and Safety 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on PROSSER  20101011 
SAP Release Created in 110_600