SAP ABAP Class CL_ENH_HELPER (Helper Class for Enhancements)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-ENH (Application Component) Enhancement Tools
⤷
SEEF_BASE (Package) Enhancement Base Functionality
⤷
⤷
Properties
| Class | CL_ENH_HELPER | |
| Short Description | Helper Class for Enhancements | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SEEF_BASE | Enhancement Base Functionality |
| Created | 20041206 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_ENH_HELPER has no forward declaration.
Interfaces
Class CL_ENH_HELPER has no interface implemented.
Friends
Class CL_ENH_HELPER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | CHAR10 | 'ATTR_NEW' | 20100218 | |||
| 2 | Constant | Public | Type reference (TYPE) | CHAR10 | 'EVENT_NEW' | 20100218 | |||
| 3 | Constant | Public | Type reference (TYPE) | CHAR10 | 'INTF_NEW' | 20100218 | |||
| 4 | Constant | Public | Type reference (TYPE) | CHAR10 | 'METH_NEW' | 20100218 | |||
| 5 | Constant | Public | Type reference (TYPE) | CHAR10 | 'METH_OVER' | 20100218 | |||
| 6 | Constant | Public | Type reference (TYPE) | CHAR10 | 'METH_PARAM' | 20100218 | |||
| 7 | Constant | Public | Type reference (TYPE) | CHAR10 | 'METH_POST' | 20100218 | |||
| 8 | Constant | Public | Type reference (TYPE) | CHAR10 | 'METH_PRE' | 20100218 | |||
| 9 | Constant | Public | Type reference (TYPE) | CHAR10 | 'TYPE_NEW' | 20100218 | |||
| 10 | Constant | Public | Type reference (TYPE) | CHAR10 | 'FUNC_PARAM' | 20100216 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Returns direct parent of enh.impl. | 20100712 | |
| 2 | Static method | Public | Method | Returns direct parent of enh.spot | 20100712 | |
| 3 | Static method | Public | Method | Returns root parent of enh.impl. | 20100712 | |
| 4 | Static method | Public | Method | Returns root parent of enh.spot | 20100712 | |
| 5 | Static method | Private | Method | Returns the enhancement data for a CLASENH/INTFENH | 20100218 | |
| 6 | Static method | Private | Method | Returns the full component key for the short component key | 20100302 | |
| 7 | Static method | Public | Method | Determines Enhanced Object Using Software Components | 20100216 | |
| 8 | Static method | Public | Method | Returns all enh.impls for a package | 20100216 | |
| 9 | Static method | Private | Method | Returns the description of a hook | 20100218 | |
| 10 | Static method | Private | Method | Returns section name for a given exposure | 20100217 | |
| 11 | Static method | Public | Method | Returns enhanced subobjs for enh.impl.(type CLASENH/INTFENH) | 20100218 | |
| 12 | Static method | Public | Method | Returns enhanced subobjs for enh.impl. (any type) | 20100217 | |
| 13 | Static method | Public | Method | Returns enhanced subobjs for enh.impl. (type FUGRENH) | 20100216 | |
| 14 | Static method | Public | Method | Returns enhanced subobjs for enh.impl. (type HOOK_IMPL) | 20100217 | |
| 15 | Static method | Public | Method | Returns enhanced subobjs for enh.impl. (type WDYENH) | 20100218 |
Events
Class CL_ENH_HELPER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | T_COMP_INST | Private | See coding | 20100218 | BEGIN OF t_comp_inst,
program TYPE program, " Name of main object
include TYPE program, " Name of include
r_abap_comp TYPE REF TO cl_abap_compiler, "contains all options of a spot
END OF t_comp_inst
|
||
| 2 | T_COMP_INST_IT | Private | See coding | 20100218 | t_comp_inst_it TYPE STANDARD TABLE OF t_comp_inst
WITH NON-UNIQUE DEFAULT KEY
|
||
| 3 | T_ENHO | Public | See coding | 20100216 | begin of t_enho,
enhname type enhname,
version type r3state,
enhtooltype type enhtooltype,
end of t_enho
|
||
| 4 | T_ENHO_IT | Public | See coding | 20100216 | t_enho_it type standard table of t_enho
with non-unique default key
|
||
| 5 | T_SUBOBJ_FOR_CLIFENH | Public | See coding | 20100218 | begin of t_subobj_for_clifenh,
enhobject type enhobject, " deep structurue: key of affected tadir entry [pgmid, obj_type, obj_name]
clsname type seoclsname, " name of the class/interface
cmpname type seocpdname, " name of the component (method, attribute, event, type, ...) - interface-methods can be 61 char
clifenh_type type char10, " type of enhancement implementation (value is constant as defined in c_clifenh_type_*)
end of t_subobj_for_clifenh
|
||
| 6 | T_SUBOBJ_FOR_CLIFENH_IT | Public | See coding | 20100218 | t_subobj_for_clifenh_it type standard table of t_subobj_for_clifenh
with non-unique default key
|
||
| 7 | T_SUBOBJ_FOR_FUGRENH | Public | See coding | 20100216 | begin of t_subobj_for_fugrenh,
enhobject type enhobject, " deep structurue: key of affected tadir entry [pgmid, obj_type, obj_name]
fugrname type rs38l_area, " name of the function group (main object)
funcname type rs38l_fnam, " name of the function
fugrenh_type type char10, " type of enhancement implementation (value is constant as defined in c_fugrenh_type_*)
end of t_subobj_for_fugrenh
|
||
| 8 | T_SUBOBJ_FOR_FUGRENH_IT | Public | See coding | 20100216 | t_subobj_for_fugrenh_it type standard table of t_subobj_for_fugrenh
with non-unique default key
|
||
| 9 | T_SUBOBJ_FOR_HOOKENH | Public | See coding | 20100217 | begin of t_subobj_for_hookenh,
enhobject type enhobject, " deep structurue: key of affected tadir entry [pgmid, obj_type, obj_name]
enhmode type enhmode, " type of enhancement : dynamic/static (value is defined in domain)
is_enh type enhboolean, " indicates whether the enhancement under consideration enhances an enhancement
overwrite type enhboolean, " overwrite enhancement which substitues an enhancement
spotname type enhspotname, " name of enhancement spot
option type enhname, " name of the implemented option
is_section type enhboolean, " type of enhancement option: point = space or section = 'X'
is_incl_bound type enhboolean," type of enhancement option: is it include bound?
option_descr type string, " describes the location of the enhancement implementation element
end of t_subobj_for_hookenh
|
||
| 10 | T_SUBOBJ_FOR_HOOKENH_IT | Public | See coding | 20100217 | t_subobj_for_hookenh_it type standard table of t_subobj_for_hookenh
with non-unique default key
|
||
| 11 | T_SUBOBJ_FOR_WDYENH | Public | See coding | 20100218 | begin of t_subobj_for_wdyenh,
enhobject type enhobject, " deep structurue: key of affected tadir entry [pgmid, obj_type, obj_name]
end of t_subobj_for_wdyenh
|
||
| 12 | T_SUBOBJ_FOR_WDYENH_IT | Public | See coding | 20100218 | t_subobj_for_wdyenh_it type standard table of t_subobj_for_wdyenh
with non-unique default key
|
Method Signatures
Method FIND_PARENT_OF_IMPL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENHNAME | Call by reference | Type reference (TYPE) | ENHNAME | 20100712 | ||||
| 2 | PARENT | Value transfer | Type reference (TYPE) | ENHOBJECT | 20100712 |
Method FIND_PARENT_OF_IMPL on class CL_ENH_HELPER has no exception.
Method FIND_PARENT_OF_SPOT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PARENT | Value transfer | Type reference (TYPE) | ENHOBJECT | 20100712 | ||||
| 2 | SPOTNAME | Call by reference | Type reference (TYPE) | ENHSPOTNAME | 20100712 |
Method FIND_PARENT_OF_SPOT on class CL_ENH_HELPER has no exception.
Method FIND_ROOT_OF_IMPL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENHNAME | Call by reference | Type reference (TYPE) | ENHNAME | 20100712 | ||||
| 2 | ROOT_OBJECT | Call by reference | Type reference (TYPE) | ENHOBJECT | 20100712 | ||||
| 3 | ROOT_PROGRAM | Call by reference | Type reference (TYPE) | PROGRAM | 20100712 |
Method FIND_ROOT_OF_IMPL on class CL_ENH_HELPER has no exception.
Method FIND_ROOT_OF_SPOT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ROOT_OBJECT | Call by reference | Type reference (TYPE) | ENHOBJECT | 20100712 | ||||
| 2 | ROOT_PROGRAM | Call by reference | Type reference (TYPE) | PROGRAM | 20100712 | ||||
| 3 | SPOTNAME | Call by reference | Type reference (TYPE) | ENHSPOTNAME | 20100712 |
Method FIND_ROOT_OF_SPOT on class CL_ENH_HELPER has no exception.
Method GET_CLIFENH_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_DATA | Value transfer | Type reference (TYPE) | ENHCLASSMETHDATA | 20100218 | ||||
| 2 | P_ENHNAME | Call by reference | Type reference (TYPE) | ENHNAME | 20100218 | ||||
| 3 | P_VERSION | Call by reference | Type reference (TYPE) | R3STATE | 20100218 |
Method GET_CLIFENH_DATA on class CL_ENH_HELPER has no exception.
Method GET_CPD_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_CLSNAME | Call by reference | Type reference (TYPE) | SEOCLSNAME | Objekttypname | 20100302 | |||
| 2 | P_CMPKEY | Call by reference | Type reference (TYPE) | SEOCMPKEY | Objekttypname | 20100302 | |||
| 3 | P_CPDKEY | Value transfer | Type reference (TYPE) | SEOCPDKEY | Keystruktur einer Komponente (mit zusammengesetzten Namen) | 20100302 |
Method GET_CPD_KEY on class CL_ENH_HELPER has no exception.
Method GET_ENHANCED_OBJECTS_BY_SC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENHANCED_OBJECTS | Call by reference | Type reference (TYPE) | ENHOBJECT_IT | 20100216 | ||||
| 2 | SOFTWARE_COMPONENT | Call by reference | Type reference (TYPE) | DLVUNIT | 20100216 |
Method GET_ENHANCED_OBJECTS_BY_SC on class CL_ENH_HELPER has no exception.
Method GET_ENHOS_FOR_DEVCLASS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_DEVCLASS | Call by reference | Type reference (TYPE) | DEVCLASS | 20100216 | ||||
| 2 | P_ENHOS | Value transfer | Type reference (TYPE) | T_ENHO_IT | 20100216 |
Method GET_ENHOS_FOR_DEVCLASS on class CL_ENH_HELPER has no exception.
Method GET_HOOK_DESCR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_BUFFER_COMP_INST | Call by reference | Type reference (TYPE) | T_COMP_INST_IT | 20100218 | ||||
| 2 | E_DESCRIPTION | Call by reference | Type reference (TYPE) | STRING | Beschreibung einer Option | 20100218 | |||
| 3 | I_FULLNAME | Call by reference | Type reference (TYPE) | STRING | 20100218 | ||||
| 4 | I_INCLUDE | Call by reference | Type reference (TYPE) | PROGRAM | Programm/Transaktion in SQL-Trace-Auswertung. | 20100218 | |||
| 5 | I_PROGRAM | Call by reference | Type reference (TYPE) | PROGRAM | Programm/Transaktion in SQL-Trace-Auswertung. | 20100218 |
Method GET_HOOK_DESCR on class CL_ENH_HELPER has no exception.
Method GET_SECTION_FOR_EXPOSURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_EXPOSURE | Call by reference | Type reference (TYPE) | SEOEXPOSE | 20100217 | ||||
| 2 | P_SECTION | Value transfer | Type reference (TYPE) | CHAR4 | 20100217 |
Method GET_SECTION_FOR_EXPOSURE on class CL_ENH_HELPER has no exception.
Method GET_SUBOBJS_FOR_CLIFENH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ENHNAME | Call by reference | Type reference (TYPE) | ENHNAME | 20100218 | ||||
| 2 | P_OBJECTS | Value transfer | Type reference (TYPE) | T_SUBOBJ_FOR_CLIFENH_IT | 20100218 | ||||
| 3 | P_VERSION | Call by reference | Type reference (TYPE) | R3STATE | 'A' | 20100218 |
Method GET_SUBOBJS_FOR_CLIFENH on class CL_ENH_HELPER has no exception.
Method GET_SUBOBJS_FOR_ENH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ENHNAME | Call by reference | Type reference (TYPE) | ENHNAME | 20100217 | ||||
| 2 | P_OBJECTS | Value transfer | Type reference (TYPE) | ENHOBJECT_IT | 20100217 | ||||
| 3 | P_VERSION | Call by reference | Type reference (TYPE) | R3STATE | 'A' | ABAP: Programmstatus (aktiv, gesichert, transportiert...) | 20100217 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100217 |
Method GET_SUBOBJS_FOR_FUGRENH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ENHNAME | Call by reference | Type reference (TYPE) | ENHNAME | 20100216 | ||||
| 2 | P_OBJECTS | Value transfer | Type reference (TYPE) | T_SUBOBJ_FOR_FUGRENH_IT | 20100216 | ||||
| 3 | P_VERSION | Call by reference | Type reference (TYPE) | R3STATE | 'A' | 20100216 |
Method GET_SUBOBJS_FOR_FUGRENH on class CL_ENH_HELPER has no exception.
Method GET_SUBOBJS_FOR_HOOKENH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ENHNAME | Call by reference | Type reference (TYPE) | ENHNAME | 20100217 | ||||
| 2 | P_OBJECTS | Value transfer | Type reference (TYPE) | T_SUBOBJ_FOR_HOOKENH_IT | 20100217 | ||||
| 3 | P_VERSION | Call by reference | Type reference (TYPE) | R3STATE | 'A' | 20100217 |
Method GET_SUBOBJS_FOR_HOOKENH on class CL_ENH_HELPER has no exception.
Method GET_SUBOBJS_FOR_WDYENH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ENHNAME | Call by reference | Type reference (TYPE) | ENHNAME | 20100218 | ||||
| 2 | P_OBJECTS | Value transfer | Type reference (TYPE) | T_SUBOBJ_FOR_WDYENH_IT | 20100218 | ||||
| 3 | P_VERSION | Call by reference | Type reference (TYPE) | R3STATE | 'A' | 20100218 |
Method GET_SUBOBJS_FOR_WDYENH on class CL_ENH_HELPER has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 700 |