SAP ABAP Class CL_WDY_ENH_HELPER (Web Dynpro Help Methods for Enhancements)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-WD-ABA (Application Component) Web Screen Tools - ABAP
     SWDP_METADATA_API_ENH (Package) Interface for Enhancement Framework
Properties
Class CL_WDY_ENH_HELPER  
Short Description Web Dynpro Help Methods for Enhancements    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SWDP_METADATA_API_ENH   Interface for Enhancement Framework 
Created 20050330   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 WDYN Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_WDY_ENH_HELPER has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_WDY_WB_COMPONENT 20070404 Tool for Web Dynpro Components
2 CL_WDY_WB_VC_EDITOR 20050411 Web Dynpro: View Controller Editor
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_FALSE Constant Public Type reference (TYPE) SEU_BOOL ' ' 20050414
2 C_SETTING_ALL_ENHS Constant Public Type reference (TYPE) SEU_NOENHANCEMENTS ' ' All Enhancements 20080804
3 C_SETTING_NO_ENHS Constant Public Type reference (TYPE) SEU_NOENHANCEMENTS 'X' No Enhancements 20080804
4 C_SETTING_ONLY_ACTIVE_ENHS Constant Public Type reference (TYPE) SEU_NOENHANCEMENTS 'A' Only Active Enhancements 20080804
5 C_SWITCH_OFF Constant Public Type reference (TYPE) SFW_SWITCHPOS 'F' Switch Position 20050413
6 C_SWITCH_ON Constant Public Type reference (TYPE) SFW_SWITCHPOS 'T' Switch Position 20050413
7 C_SWITCH_STANDBY Constant Public Type reference (TYPE) SFW_SWITCHPOS 'S' Switch Position 20050414
8 C_TRUE Constant Public Type reference (TYPE) SEU_BOOL 'X' 20050414
9 M_COMPONENT_NAME Instance attribute Private Type reference (TYPE) WDY_COMPONENT_NAME 20050331
10 M_CURRENT_ENH Instance attribute Private Object reference (TYPE REF TO) CL_ENH_TOOL_WDY Enhancement currently processed 20050331
11 M_ENHS_INACTIVE Instance attribute Private Type reference (TYPE) ENHNAME_IT List of enhancements that are to be considered inactively 20060320
12 M_ENH_TAB Instance attribute Private Type reference (TYPE) LT_ENH_TAB 20050331
13 M_FOR_GENERATION Instance attribute Private Type reference (TYPE) SEU_BOOL 'X'-> Suppress Authority Check 20070802
14 M_INITIALIZED Instance attribute Private Type reference (TYPE) SEU_BOOL 'X'->M_ENH_TAB is filled 20050331
15 M_ORIGINAL_ENHANCEMENT_NAME Instance attribute Private Type reference (TYPE) ENHNAME Enhancement in which controller was created (CONSTRUCTOR!) 20080804
16 M_SETTING_NOENHANCEMENTS Instance attribute Private Type reference (TYPE) SEU_NOENHANCEMENTS RSEUMOD-> Do Not Show Enhancements 20080804
17 M_SWITCH_TAB Instance attribute Private Type reference (TYPE) WDY_ENH_SWITCH_TAB Web Dynpro: Assignment Enhancement <-> Switch Status 20050331
Methods
# Method Level Visibility Method type Description Created on
1 ACTIVATE Instance method Private Method 20050405
2 CONSTRUCTOR Instance method Public Constructor Constructor 20050331
3 CURRENT_ENH_HAS_INACTIVE_VERS Instance method Public Method 20050405
4 DESTROY Instance method Public Method Release Instance 20080901
5 ENH_INACT_VERSION_EXISTS Instance method Public Method Checks whether inactive version of enhancement exists 20060116
6 GET_CURRENT_ENHANCEMENT Instance method Public Method 20050331
7 GET_CURRENT_ENH_NAME Instance method Public Method Name of Current Enhancement 20050405
8 GET_CURRENT_ENH_PACKAGE Instance method Public Method Supplies package of current enhancement 20050405
9 GET_CURRENT_ENH_SWITCH_POS Instance method Public Method Returns switch setting for current enhancement 20080110
10 GET_ENHANCED_VC_TAB Instance method Public Method Enhanced View/ControllerWindows of a Comp. 20060329
11 GET_ENHANCEMENTS Instance method Public Method Supplies table of all enhancements for a component 20050330
12 GET_ENH_SWITCHSTATE Instance method Private Method Switch Status f. Enhancement(P_SWITCHSTATE-ENHANCEMENT_NAME) 20050413
13 GET_ENH_VERSION Instance method Public Method Supplies version acc. to active/inactive management 20060116
14 GET_ORIG_ENH Instance method Public Method Supplies enhancement where controller was created originally 20060118
15 GET_ORIG_ENH_CONTROLLER Instance method Public Method Suppolies controller ref. for controller created in enh. 20070327
16 GET_ORIG_ENH_CONTROLLERDEFS Instance method Public Method Controller defs for component that is originally in enh. 20060123
17 GET_ORIG_ENH_OF_CONTROLLER Static method Public Method Name of enhancement in which controller created originally 20060125
18 GET_SWITCH_STATE Instance method Public Method Supplies table of all enhancements with switch status 20050414
19 INITIALIZE Instance method Private Method 20050331
20 INITIALIZE_SWITCHTAB Instance method Private Method 20050413
21 IS_ENHANCEABLE Static method Public Method Checks whether component can be enhanced 20050331
22 IS_ENHANCED Instance method Public Method Checks whether there are enhancements for comp./controller 20050405
23 REINITIALIZE_VERSION_FLAGS Instance method Private Method Reinitializes version flags in M_ENH_TAB 20060117
24 REQUEST_ENHANCEMENT Instance method Public Method Create new enhancement or request existing one 20050330
25 SET_INACTIVE_ENHANCEMENTS Instance method Public Method When checking enhancements to be considered inactively 20060320
26 UNLOCK_CURRENT_ENHANCEMENT Instance method Private Method 20050331
Events
Class CL_WDY_ENH_HELPER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 LT_ENH_INFO Private See coding 20050331 begin of lt_enh_info, enhancement_name type enhname, ENHANCEMENT_OBJ type ref to CL_ENH_TOOL_WDY, working_item type char1, inactive_vers type char1, end of lt_enh_info
2 LT_ENH_TAB Private See coding 20050331 lt_enh_tab type sorted table of lt_enh_info with unique key enhancement_name
Method Signatures

Method ACTIVATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ENHNAME Value transfer Type reference (TYPE) ENHNAME Enhancement-Name, falls nicht Current 20060117
2 Importing P_WB_MANAGER Call by reference Object reference (TYPE REF TO) IF_WB_MANAGER 20050428
# Exception Resumable Description Created on
1 CX_ENH_CANCELED 20050405
2 CX_ENH_GENERATION_ERROR 20050530
3 CX_ENH_INTERNAL_ERROR 20050405
4 CX_ENH_IO_ERROR 20050405
5 CX_ENH_IS_IN_UPGRADE_MODE 20050405
6 CX_ENH_IS_LOCKED 20050405
7 CX_ENH_IS_NOT_MODIFIABLE 20050405
8 CX_ENH_NOT_EXISTING 20050927
9 CX_ENH_PERMISSION_DENIED 20050405

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_COMPONENT_NAME Call by reference Type reference (TYPE) WDY_COMPONENT_NAME 20050331
2 Importing P_FOR_GENERATION Value transfer Type reference (TYPE) SEU_BOOL 'X'-> für Generierung -> Auth-Check unterdrücken 20070802
3 Importing P_NOENHANCEMENTS Value transfer Type reference (TYPE) SEU_NOENHANCEMENTS pers. Einstellung aus RSEUMOD 20080804
4 Importing P_ORIGINAL_ENHANCEMENT_NAME Call by reference Type reference (TYPE) ENHNAME Name des Enhancements, in dem ein Controller angelegt wurde 20080804

Method CONSTRUCTOR on class CL_WDY_ENH_HELPER has no exception.

Method CURRENT_ENH_HAS_INACTIVE_VERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_HAS_INACTIVE_VERSION Value transfer Type reference (TYPE) SEU_BOOL 20050405

Method CURRENT_ENH_HAS_INACTIVE_VERS on class CL_WDY_ENH_HELPER has no exception.

Method DESTROY Signature

Method DESTROY on class CL_WDY_ENH_HELPER has no parameter.
Method DESTROY on class CL_WDY_ENH_HELPER has no exception.

Method ENH_INACT_VERSION_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ENHNAME Value transfer Type reference (TYPE) ENHNAME 20060116
2 Returning P_INACTIVE_VERSION_EXISTS Value transfer Type reference (TYPE) SEU_BOOL 20060116

Method ENH_INACT_VERSION_EXISTS on class CL_WDY_ENH_HELPER has no exception.

Method GET_CURRENT_ENHANCEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_ENHANCEMENT Value transfer Object reference (TYPE REF TO) CL_ENH_TOOL_WDY 20050331

Method GET_CURRENT_ENHANCEMENT on class CL_WDY_ENH_HELPER has no exception.

Method GET_CURRENT_ENH_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_ENHNAME Value transfer Type reference (TYPE) ENHNAME 20050405

Method GET_CURRENT_ENH_NAME on class CL_WDY_ENH_HELPER has no exception.

Method GET_CURRENT_ENH_PACKAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_PACKAGE Value transfer Type reference (TYPE) DEVCLASS 20050405

Method GET_CURRENT_ENH_PACKAGE on class CL_WDY_ENH_HELPER has no exception.

Method GET_CURRENT_ENH_SWITCH_POS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_SWITCHPOS Value transfer Type reference (TYPE) SFW_SWITCHPOS Schalterstellung 20080110

Method GET_CURRENT_ENH_SWITCH_POS on class CL_WDY_ENH_HELPER has no exception.

Method GET_ENHANCED_VC_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_ENH_CONTROLLER_TAB Call by reference Type reference (TYPE) WDY_CONTROLLER_TABLE Controller, die in Enhancements angelegt wurden 20060330
2 Exporting P_ENH_VC_MAP_TAB Call by reference Type reference (TYPE) WDY_ENH_OBJ_TABLE Zuordnung View/Controller -> Enhancement 20060329
3 Importing P_IGNORE_SWITCHED_OFF Value transfer Type reference (TYPE) SEU_BOOL 'X' 'X'->ausgeschaltete Enhancements ignorieren 20060329
4 Importing P_VERSION Value transfer Type reference (TYPE) R3STATE 'A' 'A'->aktiv/'I'->Inaktiv/' '->aktiv außer Current 20060329
# Exception Resumable Description Created on
1 CX_ENH_ROOT 20060329
2 CX_WDY_MD_CANCELLED 20060329

Method GET_ENHANCEMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ACTIVE Value transfer Type reference (TYPE) SEU_BOOL ' ' 'X'->alle Enhs (außer Current) aktiv (P_Mode wird ignoriert) 20050330
2 Returning P_ENH_TAB Value transfer Type reference (TYPE) WDY_ENH_LIST_TABLE Tabelle der Enhancements 20050330
3 Importing P_IGNORE_SWITCHED_OFF Value transfer Type reference (TYPE) SEU_BOOL ' ' 'X'-> ausgeschaltete Enhancements ignorieren 20050414
4 Importing P_MODE Value transfer Type reference (TYPE) CHAR1 'S' 'S'->anzeigen/'U'->ändern (beeinfl. Aktiv/Inaktiv -Handling) 20050330
# Exception Resumable Description Created on
1 CX_ENH_ROOT 20050330
2 CX_WDY_MD_CANCELLED 20050330

Method GET_ENH_SWITCHSTATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_SWITCHSTATE Call by reference Type reference (TYPE) WDY_ENH_SWITCH_STATE 20050413

Method GET_ENH_SWITCHSTATE on class CL_WDY_ENH_HELPER has no exception.

Method GET_ENH_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ENHNAME Value transfer Type reference (TYPE) ENHNAME 20060116
2 Importing P_MODE Value transfer Type reference (TYPE) CHAR1 'S' 'S'->anzeigen/'U'->ändern (beeinfl. Aktiv/Inaktiv -Handling) 20060116
3 Returning P_VERSION Value transfer Type reference (TYPE) R3STATE 'A'/'I' 20060116

Method GET_ENH_VERSION on class CL_WDY_ENH_HELPER has no exception.

Method GET_ORIG_ENH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CONTROLLER Call by reference Type reference (TYPE) WDY_CONTROLLER_NAME 20060118
2 Returning P_ENH_NAME Value transfer Type reference (TYPE) ENHNAME space->Controller liegt mit Original in der Component 20060118

Method GET_ORIG_ENH on class CL_WDY_ENH_HELPER has no exception.

Method GET_ORIG_ENH_CONTROLLER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CONTROLLER_NAME Call by reference Type reference (TYPE) WDY_CONTROLLER_NAME 20070327
2 Returning P_REF_CONTROLLER Value transfer Object reference (TYPE REF TO) IF_WDY_MD_CONTROLLER unbound, falls Controller nicht in Enhancement angelegt 20070327
3 Importing P_VERSION Value transfer Type reference (TYPE) R3STATE 'I' 'A'->aktiv/'I'->Inaktiv/' '->aktiv außer Current 20070327

Method GET_ORIG_ENH_CONTROLLER on class CL_WDY_ENH_HELPER has no exception.

Method GET_ORIG_ENH_CONTROLLERDEFS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_ENH_CONTROLLER_TAB Call by reference Type reference (TYPE) WDY_CONTROLLER_TABLE 20060123
2 Exporting P_ENH_CO_MAP_TAB Call by reference Type reference (TYPE) WDY_ENH_OBJ_TABLE Zuordnung Controller -> Enhancement 20060329
3 Importing P_IGNORE_SWITCHED_OFF Value transfer Type reference (TYPE) SEU_BOOL 'X' 'X'->ausgeschaltete Enhancements ignorieren 20060123
4 Importing P_VERSION Value transfer Type reference (TYPE) R3STATE 'A' 'A'->aktiv/'I'->Inaktiv/' '->aktiv außer Current 20060123
# Exception Resumable Description Created on
1 CX_ENH_ROOT 20060123
2 CX_WDY_MD_CANCELLED 20060123

Method GET_ORIG_ENH_OF_CONTROLLER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CONTROLLER_KEY Call by reference Type reference (TYPE) WDY_CONTROLLER_KEY 20060125
2 Returning P_ENHNAME Value transfer Type reference (TYPE) ENHNAME Space, falls nicht original in Enhancement 20060125

Method GET_ORIG_ENH_OF_CONTROLLER on class CL_WDY_ENH_HELPER has no exception.

Method GET_SWITCH_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_ENH_SWITCH_TAB Value transfer Type reference (TYPE) WDY_ENH_SWITCH_TAB 20050414
# Exception Resumable Description Created on
1 CX_ENH_ROOT 20050414
2 CX_WDY_MD_CANCELLED 20050414

Method INITIALIZE Signature

Method INITIALIZE on class CL_WDY_ENH_HELPER has no parameter.
# Exception Resumable Description Created on
1 CX_ENH_ROOT 20050331
2 CX_WDY_MD_CANCELLED 20050331

Method INITIALIZE_SWITCHTAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ENHTAB Call by reference Type reference (TYPE) ENHNAME_IT Interne Tabelle über ENHNAME 20050413

Method INITIALIZE_SWITCHTAB on class CL_WDY_ENH_HELPER has no exception.

Method IS_ENHANCEABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_COMPONENT_NAME Call by reference Type reference (TYPE) WDY_COMPONENT_NAME 20050331
2 Returning P_IS_ENHANCEABLE Value transfer Type reference (TYPE) SEU_BOOL 20050331

Method IS_ENHANCEABLE on class CL_WDY_ENH_HELPER has no exception.

Method IS_ENHANCED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_COMP_DATA Call by reference Type reference (TYPE) SEU_BOOL Abfrage nur für Component Daten 20070411
2 Importing P_CONTROLLER Call by reference Type reference (TYPE) WDY_CONTROLLER_NAME Abfrage für spez. Controller 20050405
3 Returning P_IS_ENHANCED Value transfer Type reference (TYPE) SEU_BOOL 'X'->Component bzw P_CONTROLLER(falls spez.) ist erweitert 20050405

Method IS_ENHANCED on class CL_WDY_ENH_HELPER has no exception.

Method REINITIALIZE_VERSION_FLAGS Signature

Method REINITIALIZE_VERSION_FLAGS on class CL_WDY_ENH_HELPER has no parameter.
Method REINITIALIZE_VERSION_FLAGS on class CL_WDY_ENH_HELPER has no exception.

Method REQUEST_ENHANCEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_ENHANCEMENT Value transfer Object reference (TYPE REF TO) CL_ENH_TOOL_WDY 20050330
2 Importing P_ENH_NAME Call by reference Type reference (TYPE) ENHNAME IName des anzufordernden Enhancements 20060111
# Exception Resumable Description Created on
1 CX_ENH_CANCELED 20050330
2 CX_ENH_CREATE_ERROR 20050330
3 CX_ENH_INTERNAL_ERROR 20050330
4 CX_ENH_IO_ERROR 20050330
5 CX_ENH_IS_IN_UPGRADE_MODE 20050331
6 CX_ENH_IS_LOCKED 20050330
7 CX_ENH_IS_NOT_ENHANCEABLE 20050330
8 CX_ENH_IS_NOT_MODIFIABLE 20050330
9 CX_ENH_PERMISSION_DENIED 20050330
10 CX_ENH_ROOT 20050331
11 CX_WDY_MD_CANCELLED 20050331

Method SET_INACTIVE_ENHANCEMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ENH_LIST Call by reference Type reference (TYPE) ENHNAME_IT Liste von Enhancements 20060320

Method SET_INACTIVE_ENHANCEMENTS on class CL_WDY_ENH_HELPER has no exception.

Method UNLOCK_CURRENT_ENHANCEMENT Signature

Method UNLOCK_CURRENT_ENHANCEMENT on class CL_WDY_ENH_HELPER has no parameter.
Method UNLOCK_CURRENT_ENHANCEMENT on class CL_WDY_ENH_HELPER has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 710