CL_ENH_TOOL_HOOK_IMPL - Enhancement Tool Source Code Plug-in

CL_GUI_FRONTEND_SERVICES - Frontend Services   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Functionality

The Enhancement Framework combines several enhancement technologies. A very real enhancement technology is created by implementing the interface IF_ENH_TOOL and by registering the tool in the table ENHTOOLS.

This class represents the concrete implementation of the enhancement technology Source Code Plug-In.

Do not ever attempt to initialize the class yourself.

Always creeat a reference to the IF_ENH_TOOL through the class CL_ENH_FACTORY and then change this reference to this class.

Relationships

CL_ENH_FACTORY, CL_ENH_TOOL_HOOK_DEF

Example

DATA: enh type ref to if_enh_tool,

     hook_implTYPE REF TO cl_enh_tool_hook_impl.

CALL METHOD cl_enh_factory=>create_enhancement  " or get_enhancement          
or request_enhancement

          EXPORTING
           enhname     =implname
          
enhtooltype = 'HOOK_IMPL'

          IMPORTING
            enhancement =enh
          CHANGING
           trkorr        = trkorr
            devclass      = l_devclass
            .
hook_impl ?=enh.

hook_impl->set_original_object ....

Notes

Further information



Fill RESBD Structure from EBP Component Structure   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.


Length: 2125 Date: 20120526 Time: 120329     triton ( 49 ms )