CL_ENH_TOOL_HOOK_DEF - Enhancement Spot Tool Source Code Plug-in

CL_GUI_FRONTEND_SERVICES - Frontend Services   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Functionality

The Enhancement Framework combines several enhancement technologies. A very real enhancement technologie is created by implementing the interface IF_ENH_SPOT_TOOL and registering the tool in the table ENHSPOTTOOLS.

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

Do not attempt to initialize this class yourself.

Always create a reference to IF_ENH_SPOT_TOOL through the class CL_ENH_FACTORY and change this reference to this class.

Relationships

Example

DATA: spot type ref to if_enh_spot_tool,

      hook_spot TYPE REF TO cl_enh_tool_hook_def.

CALL METHOD cl_enh_factory=>create_enhancement_spot
          EXPORTING
            spot_name     = spotname
            tooltype      = 'HOOK_DEF'

          IMPORTING
           spot          = spot
          CHANGING
           trkorr        = trkorr
            devclass      = l_devclass
            .
hook_spot ?= spot.

hook_spot_dupl->set_original_object ....

Notes

Further information



RFUMSV00 - Advance Return for Tax on Sales/Purchases   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.


Length: 1978 Date: 20120526 Time: 120306     triton ( 58 ms )