SAP ABAP Class CL_ENH_BADI_DEF_UTILITY (Utility for BAdI Definitions)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-CEX-BAD (Application Component) Customer Enhancements: BAdIs
     SEEF_REDEFINITION_BADI (Package) Enhancement Framework Redefinition BAdI
Properties
Class CL_ENH_BADI_DEF_UTILITY  
Short Description Utility for BAdI Definitions    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SEEF_REDEFINITION_BADI   Enhancement Framework Redefinition BAdI 
Created 20041109   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 GSUB Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 SANA Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 SEOO Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
5 SEOR Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
6 SEOS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_ENH_BADI_DEF_UTILITY has no interface implemented.
Friends
Class CL_ENH_BADI_DEF_UTILITY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_ACTIVE Constant Public Type reference (TYPE) R3STATE 'A' ABAP: Program Status (Active, Saved, Transported...) 20041124
2 C_INACTIVE Constant Public Type reference (TYPE) R3STATE 'I' ABAP: Program Status (Active, Saved, Transported...) 20041124
3 MY_DEFAULT_IF Constant Private Type reference (TYPE) CLASSNAME 'IF_BADI_INTERFACE' Reference Type 20041115
4 NO Constant Private Type reference (TYPE) ENHBOOLEAN SPACE Enhancement Boolean 20041109
5 TRUE Constant Private Type reference (TYPE) ENHBOOLEAN 'X' Enhancement Boolean 20041109
6 TYPEKIND_BADI Constant Private Type reference (TYPE) DDTYPEKIND 'BADI' Kind of Type 20041124
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_CLASS Static method Public Method Check Whether Class/Interface Exists 20041109
2 CHECK_CLASS_ACTIVE Static method Public Method Check Whether Class/Interface Active 20080108
3 CHECK_CONSTRUCTOR_WITH_PARM Static method Public Method Checks whether construction of impl. class is w/o parameters 20080116
4 CHECK_FCODE Static method Public Method Check Menu Enhancement BAdI 20041109
5 CHECK_ICON Static method Public Method Checks Icon 20041206
6 CHECK_IMPL Static method Public Method Checks whether BAdI of same name already exists 20060928
7 CHECK_MENU_CODE Static method Public Method 20070515
8 CHECK_SCREEN Static method Public Method Checks Whether Subscreen Area Is Valid 20041109
9 CHECK_SINGLE_USE Static method Public Method Checks Whether IF Methods Have Ret. or Exp. Parameters 20050228
10 CHECK_SUBSCREEN Static method Public Method Checks Subscreen in BAdI Implementation 20041203
11 GET_BADI_DEF_DATA Static method Public Method Gets Data of BAdI Definition 20041125
12 GET_NAMESPACE_FOR_SPOT Static method Public Method Returns Namespace for a Spot 20050331
13 IMPLEMENT_BADI Static method Public Method Implement BAdI 20060516
14 IS_BADI_IMPL_NAME_VALID Static method Public Method Checks Whether Name Is Valid 20041124
15 IS_BADI_IN_SPOT Static method Public Method Checks Whether BAdI Defintion Is Located in Spot 20041124
16 IS_BADI_NAME_VALID Static method Public Method Is name of BAdI definition to be created valid 20070111
17 IS_FCODE_VALID Static method Public Method Checks Whether Menu Enhancements Are Allowed 20050107
18 IS_FILTER_CLAS_VALID Static method Public Method Checks whether filter value check of program class is valid 20060104
19 IS_FILTER_DICT_VALID Static method Public Method Checks whether filter value check of Dictionary is valid 20060104
20 IS_FILTER_POSSIBLE Static method Public Method Checks Whether Filter Can Be Added 20050207
21 IS_IMPL_CLASS_VALID Static method Public Method Checks Whether Implemented Classe Is Valid 20041124
22 IS_IMPL_VALID Static method Public Method Checks Whether Class Implements BAdI Interface 20041109
23 IS_INTERFACE_VALID Static method Public Method Checks Whether BAdI Interface Contains 'IF_BADI_INTERFACE' 20041115
24 IS_MULTIPLICITY_VALID Static method Public Method Checks Whether 'Multiple Use' Can Be Set 20041109
25 IS_SAP_SYSTEM Static method Public Method Checks whether a system is an SAP system 20050314
26 IS_SPOT_VALID Static method Public Method Checks Whether Spot Exists 20041124
27 IS_TRANSPORTED Static method Public Method Checks whether spot is already transported or delivered 20060515
Events
Class CL_ENH_BADI_DEF_UTILITY has no event.
Types
Class CL_ENH_BADI_DEF_UTILITY has no local type.
Method Signatures

Method CHECK_CLASS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing ERROR_LIST Call by reference Object reference (TYPE REF TO) CL_WB_CHECKLIST Liste aller Fehlermeldungen eines Syntax-Checks 20100310
2 Importing IM_CLASS Call by reference Type reference (TYPE) CLASSNAME Referenztyp 20041109
# Exception Resumable Description Created on
1 CX_ENH_BADI_CLASS_IS_ABSTRACT Abstrakte Klasse in BAdI Implementierung 20060329
2 CX_ENH_BADI_CLASS_NOT_VALID Ausnahme: Klasse/Interface existiert nicht 20041109

Method CHECK_CLASS_ACTIVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CLASS Call by reference Type reference (TYPE) CLASSNAME Referenztyp 20080108
2 Returning RE_CLASS_ACTIVE Value transfer Type reference (TYPE) ENHBOOLEAN Enhancement Boolean 20080111

Method CHECK_CLASS_ACTIVE on class CL_ENH_BADI_DEF_UTILITY has no exception.

Method CHECK_CONSTRUCTOR_WITH_PARM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CONSTRUCTOR_ERR Value transfer Type reference (TYPE) ABAP_BOOL 'X'=Constructor hat parameter 20080116
2 Exporting CONSTRUCTOR_WARN Value transfer Type reference (TYPE) ABAP_BOOL 'X'=Constructor hat optionale Parameter 20110222
3 Importing IM_CLASS Call by reference Type reference (TYPE) CLASSNAME Referenztyp 20080116

Method CHECK_CONSTRUCTOR_WITH_PARM on class CL_ENH_BADI_DEF_UTILITY has no exception.

Method CHECK_FCODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BADI Call by reference Type reference (TYPE) ENHBADIID BAdI Id im Enhancencement 20041109
2 Importing IM_FCODE Call by reference Type reference (TYPE) GUI_FUNC Menu Painter: Funktionscode 20041109
3 Importing IM_PROGRAM Call by reference Type reference (TYPE) PROGRAM Programm/Transaktion in SQL-Trace-Auswertung. 20041109
# Exception Resumable Description Created on
1 CX_ENH_BADI_FCODE_INVALID Ausnahme: Fcode Prüfung aus BAdi Definition 20041109

Method CHECK_ICON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ICON_NAME Call by reference Type reference (TYPE) ICONNAME Name einer Ikone 20041206
2 Importing IM_LANGU Call by reference Type reference (TYPE) SYLANGU Sprachenschlüssel der aktuellen Textumgebung 20041206
3 Returning RE_ID Value transfer Type reference (TYPE) ICON_D Ikone in Textfeldern (Ersatzdarstellung, Alias) 20041206
# Exception Resumable Description Created on
1 CX_ENH_INVALID 20041206

Method CHECK_IMPL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BADI_NAME Call by reference Type reference (TYPE) ENHBADIID Name eines BAdIs im Enhancement Framework 20060928
2 Importing IM_ENHO_NAME Call by reference Type reference (TYPE) ENHNAME Id eines Enhancements 20060928
3 Importing IM_IMPL_NAME Call by reference Type reference (TYPE) ENH_BADI_IMPL Enhancement Id eine BadI Implementierung 20060928
4 Importing IM_SINGLE_USE Call by reference Type reference (TYPE) ENHBOOLEAN ABAP_FALSE BAdI ist nicht mehrfach implementierbar 20061005
5 Returning RE_MESSAGE Value transfer Type reference (TYPE) SYMSG Struktur der Message-Variablen 20060928

Method CHECK_IMPL on class CL_ENH_BADI_DEF_UTILITY has no exception.

Method CHECK_MENU_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MENUS Call by reference Type reference (TYPE) ENH_BADI_GUI_IT Tabelle ENH_BADI_GUI 20070515
2 Returning MESSAGES Value transfer Type reference (TYPE) ENH_CHK_MESS_IT Struktur der Message-Variablen 20070515

Method CHECK_MENU_CODE on class CL_ENH_BADI_DEF_UTILITY has no exception.

Method CHECK_SCREEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BADI Call by reference Type reference (TYPE) ENHBADIID BAdI Id im Enhancencement 20041109
2 Importing IM_DYNPRO Call by reference Type reference (TYPE) SCRADNUM Dynpronummer 20041109
3 Importing IM_PROGRAM Call by reference Type reference (TYPE) PROGRAM Programm/Transaktion in SQL-Trace-Auswertung. 20041109
4 Importing IM_SUBSCREEN Call by reference Type reference (TYPE) SUBSCREEN Datenelement Subscreen 20041109
# Exception Resumable Description Created on
1 CX_ENH_BADI_SCREEN_NOT_FOUND Ausnahme: Screenerweiterung wird schon verwendet 20041109
2 CX_ENH_BADI_SCREEN_NOT_UNIQUE Ausnahme: Screenerweiterung wird schon verwendet 20041109

Method CHECK_SINGLE_USE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_INTERFACE Call by reference Type reference (TYPE) CLASSNAME Referenztyp 20050228
2 Returning RE_SINGLE_OK Value transfer Type reference (TYPE) ENHBOOLEAN Enhancment Boolean 20050228

Method CHECK_SINGLE_USE on class CL_ENH_BADI_DEF_UTILITY has no exception.

Method CHECK_SUBSCREEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PROGRAM Call by reference Type reference (TYPE) PROGRAM Programm/Transaktion in SQL-Trace-Auswertung. 20041203
2 Importing IM_SCREEN Call by reference Type reference (TYPE) SCRADNUM Dynpronummer 20041203
# Exception Resumable Description Created on
1 CX_ENH_BADI_SCREEN_NOT_FOUND Ausnahme: Screenerweiterung wird schon verwendet 20041203

Method GET_BADI_DEF_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_SPOT Call by reference Type reference (TYPE) ENHSPOTNAME Name (ID) eines Enhancement Spots 20041125
2 Importing IM_VERSION Call by reference Type reference (TYPE) R3STATE 'A' ABAP: Programmstatus (aktiv, gesichert, transportiert...) 20041125
3 Returning RE_DATA Value transfer Type reference (TYPE) ENH_BADI_DATA_IT Tabelle zu ENH_BADI_DATA: ENH 20041125
# Exception Resumable Description Created on
1 CX_ENH_BADI_NOT_FOUND Enhancement Wurzel-Ausnahmeklasse 20041125

Method GET_NAMESPACE_FOR_SPOT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_SPOT Call by reference Type reference (TYPE) ENHSPOTNAME Name (ID) eines Enhancement Spots 20050331
2 Returning RE_NAMESPACE Value transfer Type reference (TYPE) NAMESPACE Namensraum 20050331
# Exception Resumable Description Created on
1 CX_ENH_NO_NAMESPACE_FOR_SPOT Spot hat keinen Namensraum 20050331

Method IMPLEMENT_BADI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BADI_INTERFACE Call by reference Type reference (TYPE) CLASSNAME Referenztyp 20060516
2 Importing BADI_NAME Call by reference Type reference (TYPE) ENHBADIID Name eines BAdIs im Enhancement Framework 20060516
3 Exporting ENHNAME Call by reference Type reference (TYPE) ENHNAME Id eines Enhancements 20060516
4 Exporting IMPL_NAME Call by reference Type reference (TYPE) ENH_BADI_IMPL Enhancement Id eine BadI Implementierung 20060516
5 Importing SPOT_NAME Call by reference Type reference (TYPE) ENHSPOTNAME Name (ID) eines Erweiterungsspots 20060516
# Exception Resumable Description Created on
1 CX_ENH_ROOT Web Service : Exception 20060516

Method IS_BADI_IMPL_NAME_VALID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BADI_NAME Call by reference Type reference (TYPE) ENH_BADI_IMPL 30 Characters 20041124
# Exception Resumable Description Created on
1 CX_ENH_BADI_IMPL_NAME_INVALID Utility für BAdI Definitionen 20081219

Method IS_BADI_IN_SPOT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BADI_DEF Call by reference Type reference (TYPE) ENHBADIID BAdI Id im Enhancencement 20041124
2 Importing IM_SPOT Call by reference Type reference (TYPE) ENHSPOTNAME Name (ID) eines Enhancement Spots 20041124
# Exception Resumable Description Created on
1 CX_ENH_BADI_NOT_IN_SPOT Utility für BAdI Definitionen 20041124

Method IS_BADI_NAME_VALID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACTUAL_DEFS Call by reference Type reference (TYPE) ENH_BADI_DATA_IT Tabelle zu ENH_BADI_DATA: ENH 20070111
2 Importing IM_BADI_NAME Call by reference Type reference (TYPE) ENHBADIID BAdI Id im Enhancencement 20070111
3 Importing IM_SPOT Call by reference Type reference (TYPE) ENHSPOTNAME Name (ID) eines Enhancement Spots 20070111
# Exception Resumable Description Created on
1 CX_ENH_BADI_ALREADY_EXISTS BAdI existiert schon 20070111
2 CX_ENH_BADI_NAME_INVALID Utility für BAdI Definitionen 20070111
3 CX_ENH_CANCELED Enhancement Persistenz über normale Tabellen 20070111
4 CX_ENH_INTERNAL_ERROR Enhancement Persistenz über normale Tabellen 20070111
5 CX_ENH_IO_ERROR Enhancement Wurzel-Ausnahmeklasse 20070111
6 CX_ENH_IS_LOCKED Enhancement Wurzel-Ausnahmeklasse 20070111
7 CX_ENH_NAMESPACE_CONFLICT Namensraumkonflikt 20070111
8 CX_ENH_PERMISSION_DENIED Enhancement Wurzel-Ausnahmeklasse 20070111

Method IS_FCODE_VALID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DATA Call by reference Type reference (TYPE) ENH_BADI_DATA Enhancement Sicht auf BAdI Daten 20050107
2 Returning RE_VALID Value transfer Type reference (TYPE) ENHBOOLEAN Enhancment Boolean 20050107

Method IS_FCODE_VALID on class CL_ENH_BADI_DEF_UTILITY has no exception.

Method IS_FILTER_CLAS_VALID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_FILTER Value transfer Type reference (TYPE) ENH_BADI_FILTER Enhancement Sicht auf BAdI Filter 20060104
# Exception Resumable Description Created on
1 CX_ENH_BADI_CLASS_NOT_VALID Klass für Filterwertprüfungen existiert nicht 20060104

Method IS_FILTER_DICT_VALID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_FILTER Value transfer Type reference (TYPE) ENH_BADI_FILTER Enhancement Sicht auf BAdI Filter 20060104
# Exception Resumable Description Created on
1 CX_ENH_BADI_FLTR_DICT_INVALID Dictionary-Beziehung für Filterwertprüfung fehlerhaft 20060104

Method IS_FILTER_POSSIBLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BADI_DATA Call by reference Type reference (TYPE) ENH_BADI_DATA Enhancement Sicht auf BAdI Daten 20050207
2 Returning RE_OK Value transfer Type reference (TYPE) ENHBOOLEAN Enhancment Boolean 20050207

Method IS_FILTER_POSSIBLE on class CL_ENH_BADI_DEF_UTILITY has no exception.

Method IS_IMPL_CLASS_VALID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BADI_DEF Call by reference Type reference (TYPE) ENHBADIID BAdI Id im Enhancencement 20041124
2 Importing IM_CLASS Call by reference Type reference (TYPE) CLASSNAME Referenztyp 20041124
3 Importing IM_SPOT Call by reference Type reference (TYPE) ENHSPOTNAME Name (ID) eines Enhancement Spots 20041124
# Exception Resumable Description Created on
1 CX_ENH_BADI_CLASS_IS_ABSTRACT Abstrakte Klasse in BAdI Implementierung 20050225
2 CX_ENH_BADI_IMPL_NOT_VALID BAdI Implementierung nicht gültig 20041124

Method IS_IMPL_VALID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CLASS Call by reference Type reference (TYPE) CLASSNAME Referenztyp 20041109
2 Importing IM_INTERFACE Call by reference Type reference (TYPE) CLASSNAME Referenztyp 20041109
# Exception Resumable Description Created on
1 CX_ENH_BADI_CLASS_IS_ABSTRACT Abstrakte Klasse in BAdI Implementierung 20050225
2 CX_ENH_BADI_CLASS_NOT_VALID Ausnahme: Klasse/Interface existiert nicht 20041109

Method IS_INTERFACE_VALID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DO_NOT_CHECK_INHERIT Call by reference Type reference (TYPE) ENHBOOLEAN Enhancement Boolean 20060508
2 Importing IM_INTERFACE Call by reference Type reference (TYPE) CLASSNAME Referenztyp 20041115
# Exception Resumable Description Created on
1 CX_ENH_BADI_IF_NOT_VALID BAdI Interface ungültig 20041115

Method IS_MULTIPLICITY_VALID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DATA Call by reference Type reference (TYPE) ENH_BADI_DATA Enhancement Sicht auf BAdI Daten 20041109
2 Returning RE_VALID Value transfer Type reference (TYPE) ENHBOOLEAN Enhancment Boolean 20041109

Method IS_MULTIPLICITY_VALID on class CL_ENH_BADI_DEF_UTILITY has no exception.

Method IS_SAP_SYSTEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_SAP_SYSTEM Value transfer Type reference (TYPE) ENHBOOLEAN Enhancment Boolean 20050314

Method IS_SAP_SYSTEM on class CL_ENH_BADI_DEF_UTILITY has no exception.

Method IS_SPOT_VALID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_SPOT Call by reference Type reference (TYPE) ENHSPOTNAME Name (ID) eines Enhancement Spots 20041124
# Exception Resumable Description Created on
1 CX_ENH_BADI_SPOT_NOT_VALID Spot existiert nicht 20041124

Method IS_TRANSPORTED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EX_IS_TRANSPORTED Value transfer Type reference (TYPE) ENHBOOLEAN Enhancement Boolean 20060515
2 Importing IM_SPOT Call by reference Type reference (TYPE) ENHSPOTNAME Name (ID) eines Erweiterungsspots 20060515

Method IS_TRANSPORTED on class CL_ENH_BADI_DEF_UTILITY has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 700