SAP ABAP Class CL_ENH_TOOL_HOOK_DEF (Enhancement Spot Tool Source Code Plug-in)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-ENH (Application Component) Enhancement Tools
     SEEF_REDEFINITION_HOOK (Package) Switch Framework Hook Enhancement
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_ABSTRACT_ENH_SPOT_TOOL Abstract Class Enhancement Spot Tool 20040315
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_ENH_SPOT_PLUGIN_CALLBACK Callback for Plug-In 20040525
Properties
Class CL_ENH_TOOL_HOOK_DEF  
Short Description Enhancement Spot Tool Source Code Plug-in    
Super Class CL_ABSTRACT_ENH_SPOT_TOOL Abstract Class Enhancement Spot Tool 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SEEF_REDEFINITION_HOOK   Switch Framework Hook Enhancement 
Created 20040315   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_ENH_TOOL_HOOK_DEF has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_ENH_SPOT_PLUGIN_CALLBACK Callback for Plug-In 20040525
Friends
Class CL_ENH_TOOL_HOOK_DEF has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_ENHCLOSING_ENH Constant Public Type reference (TYPE) STRING '%ENCLOSING_ENHANCEMENT%' 20090129
2 DATA_ACTIVE Instance attribute Private Type reference (TYPE) ENH_SPOT_HOOK_ADMIN BAdI Main Data in Enhancement 20040315
3 DATA_CHANGED Instance attribute Private Type reference (TYPE) ENHBOOLEAN Enhancement Boolean 20040315
4 DATA_INACTIVE Instance attribute Private Type reference (TYPE) ENH_SPOT_HOOK_ADMIN BAdI Main Data in Enhancement 20040315
5 DUMMY Instance attribute Private Type reference (TYPE) RSWSOURCET ABAP Source 20040526
6 HOOKS_WORKLIST Instance attribute Private Type reference (TYPE) ENH_HOOK_DEF_EXT_IT Internal Table for ENH_HOOK_DEF_EXT 20040504
7 PLUGIN Instance attribute Private Object reference (TYPE REF TO) CL_ENH_HOOK_UI_PLUGIN Enhancement Tool BADI UI Plug-In 20040316
8 TOOL_TYPE Constant Public Type reference (TYPE) ENHSPOTTOOLTYPE 'HOOK_DEF' 20080317
Methods
# Method Level Visibility Method type Description Created on
1 ADD_HOOK_DEF Instance method Public Method Create ENHANCEMENT-POINT/SECTION 20040422
2 ADD_SYMSG_FOR_MAIN Instance method Private Method Adds a new message from sy-msg to the checklist 20100712
3 DELETE_HOOK_DEF Instance method Public Method Delete ENHANCEMENT-POINT/SECTION 20040422
4 GET_HOOK_DEFS Instance method Public Method Delete All Enhancement Points/Sections 20040422
5 GET_INCLUDE_BOUND Instance method Public Method Read Enhancement Spot, Contains Only Include-Bound Points 20040521
6 GET_ORIGINAL_OBJECT Instance method Public Method Read Enhanced Object 20040422
7 SET_INCLUDE_BOUND Instance method Public Method Set Enhancement Spot, Contains Only Include-Bound Points 20040521
8 SET_ORIGINAL_OBJECT Instance method Public Method Set Enhanced Object 20040422
9 UPDATE_HOOK_WA Instance method Private Method Auxiliary Method: Update of Internal Data Memory 20040504
Events
Class CL_ENH_TOOL_HOOK_DEF has no event.
Types
Class CL_ENH_TOOL_HOOK_DEF has no local type.
Method Signatures

Method ADD_HOOK_DEF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EXTID Value transfer Type reference (TYPE) INT4 Natürliche Zahl 20040505
2 Importing HOOK_DEF Call by reference Type reference (TYPE) ENH_HOOK_DEF Hook Definition 20040422
# Exception Resumable Description Created on
1 CX_ENH_INTERNAL_ERROR Enhancement Persistenz über normale Tabellen 20060829
2 CX_ENH_MOD_NOT_ALLOWED Enhancement Wurzel-Ausnahmeklasse 20040422

Method ADD_SYMSG_FOR_MAIN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_CHECKLIST Call by reference Object reference (TYPE REF TO) CL_WB_CHECKLIST Liste aller Fehlermeldungen eines Syntax-Checks 20100712
2 Importing P_INCLUDE Call by reference Type reference (TYPE) PROGRAM Include, das das problem enthält 20100712
3 Importing P_LINE Call by reference Type reference (TYPE) I 20100712
4 Importing P_OBJECT Call by reference Type reference (TYPE) ENHOBJECT zusätzlich: Objekt 20100712

Method ADD_SYMSG_FOR_MAIN on class CL_ENH_TOOL_HOOK_DEF has no exception.

Method DELETE_HOOK_DEF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EXTID Call by reference Type reference (TYPE) INT4 Natürliche Zahl 20040504
# Exception Resumable Description Created on
1 CX_ENH_MOD_NOT_ALLOWED Enhancement Wurzel-Ausnahmeklasse 20040422

Method GET_HOOK_DEFS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning DEFS Value transfer Type reference (TYPE) ENH_HOOK_DEF_EXT_IT Interne Tabelle über ENH_HOOK_DEF 20040422
2 Importing VERSION Call by reference Type reference (TYPE) R3STATE 'A' ABAP: Programmstatus (aktiv, gesichert, transportiert...) 20040422

Method GET_HOOK_DEFS on class CL_ENH_TOOL_HOOK_DEF has no exception.

Method GET_INCLUDE_BOUND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning INCLUDE_BOUND Value transfer Type reference (TYPE) ENHBOOLEAN Enhancment Boolean 20040521
2 Importing VERSION Call by reference Type reference (TYPE) R3STATE 'A' ABAP: Programmstatus (aktiv, gesichert, transportiert...) 20040521

Method GET_INCLUDE_BOUND on class CL_ENH_TOOL_HOOK_DEF has no exception.

Method GET_ORIGINAL_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting MAIN_NAME Call by reference Type reference (TYPE) EU_ANAME Entwicklungsumgebung: Tadirname 20040422
2 Exporting MAIN_TYPE Call by reference Type reference (TYPE) TROBJTYPE Objekttyp 20040422
3 Exporting OBJ_NAME Call by reference Type reference (TYPE) TROBJ_NAME Objektname in der Objektliste 20040422
4 Exporting OBJ_TYPE Call by reference Type reference (TYPE) TROBJTYPE Objekttyp 20040422
5 Exporting PGMID Call by reference Type reference (TYPE) PGMID Programm-ID in Aufträgen und Aufgaben 20040422
6 Exporting PROGRAM Call by reference Type reference (TYPE) PROGNAME ABAP-Programmname 20040422
7 Importing VERSION Call by reference Type reference (TYPE) R3STATE 'A' ABAP: Programmstatus (aktiv, gesichert, transportiert...) 20040422

Method GET_ORIGINAL_OBJECT on class CL_ENH_TOOL_HOOK_DEF has no exception.

Method SET_INCLUDE_BOUND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INCLUDE_BOUND Call by reference Type reference (TYPE) ENHBOOLEAN Enhancment Boolean 20040521
# Exception Resumable Description Created on
1 CX_ENH_MOD_NOT_ALLOWED Enhancement Wurzel-Ausnahmeklasse 20040521

Method SET_ORIGINAL_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MAIN_NAME Value transfer Type reference (TYPE) EU_ANAME Entwicklungsumgebung: Tadirname 20040422
2 Importing MAIN_TYPE Value transfer Type reference (TYPE) TROBJTYPE Objekttyp 20040422
3 Importing OBJ_NAME Call by reference Type reference (TYPE) TROBJ_NAME Objektname in der Objektliste 20040422
4 Importing OBJ_TYPE Call by reference Type reference (TYPE) TROBJTYPE Objekttyp 20040422
5 Importing PGMID Call by reference Type reference (TYPE) PGMID Programm-ID in Aufträgen und Aufgaben 20040422
6 Importing PROGRAM Call by reference Type reference (TYPE) PROGNAME ABAP-Programmname 20040422
# Exception Resumable Description Created on
1 CX_ENH_MOD_NOT_ALLOWED Enhancement Wurzel-Ausnahmeklasse 20040422

Method UPDATE_HOOK_WA Signature

Method UPDATE_HOOK_WA on class CL_ENH_TOOL_HOOK_DEF has no parameter.
Method UPDATE_HOOK_WA on class CL_ENH_TOOL_HOOK_DEF has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 700