SAP ABAP Class CL_BADI_DEFINITION (Representation of a BAdI Definition)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷ SFW_BADI (Package) New Switchable BAdIs
⤷ BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷ SFW_BADI (Package) New Switchable BAdIs
Properties
Class | CL_BADI_DEFINITION | |
Short Description | Representation of a BAdI Definition | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SFW_BADI | New Switchable BAdIs |
Created | 20060801 | SAP |
Last change | 20110908 | 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 | CL_BADI_DEFINITION | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
3 | CL_BADI_MAIN | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_BADI_DEFINITION has no interface implemented.
Friends
# | Friend | Modeled only | Created on | Description |
---|---|---|---|---|
1 | CL_BADI_MAIN | 20060801 | Main Class for BAdI Handling |
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | CONTEXT_MODE | Instance attribute | Public | Type reference (TYPE) | BADI_CONTEXT_MODE | CONTEXT_MODE | 20060801 | ||
2 | CR_LF | Constant | Private | Type reference (TYPE) | STRING | CL_ABAP_CHAR_UTILITIES=>CR_LF | CR_LF | 20060801 | |
3 | DEFAULT_CLASS | Instance attribute | Public | Type reference (TYPE) | CLASSNAME | DEFAULT_CLASS | 20060801 | ||
4 | ENHS_NAME | Instance attribute | Public | Type reference (TYPE) | ENHSPOTNAME | ENHS_NAME | 20060801 | ||
5 | FILTER_DECLS | Instance attribute | Public | Type reference (TYPE) | FILTERS | FILTER_DECLS | 20060801 | ||
6 | IF_NAME | Instance attribute | Public | Type reference (TYPE) | CLASSNAME | IF_NAME | 20060801 | ||
7 | IMPLEMENTATIONS | Instance attribute | Private | Type reference (TYPE) | SORTED_IMPL_TABLE | Loaded Implementations | 20070109 | ||
8 | IMPS_LOADED | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Displays if the implementations have already been loaded | 20070109 | ||
9 | IS_SINGLE_USE | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | IS_SINGLE_USE | 20060801 | ||
10 | NAME | Instance attribute | Public | Type reference (TYPE) | BADI_NAME | NAME | 20060801 |
Methods
Events
Class CL_BADI_DEFINITION has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | FILTER | Public | See coding | FILTER | 20060801 | begin of filter,
name type badi_filter_name,
ftype type badi_filter_type,
end of filter
|
|
2 | FILTERS | Public | See coding | FILTERS | 20060801 | filters type standard table of filter with default key
|
|
3 | FILTER_INSTANTIATION | Public | See coding | FILTER_INSTANTIATION | 20060801 | begin of filter_instantiation,
name type badi_filter_name,
fvalue type string,
end of filter_instantiation
|
|
4 | FILTER_INSTANTIATIONS | Public | See coding | FILTER_INSTANTIATIONS | 20060801 | filter_instantiations type standard table of filter_instantiation with default key
|
|
5 | IMP_TABLE | Public | See coding | IMP_TABLE | 20060801 | imp_table type standard table of ref to cl_badi_implementation with default key
|
|
6 | PARAMETER_INSTANTIATION | Public | See coding | PARAMETER_INSTANTIATION | 20060801 | begin of parameter_instantiation,
name type badi_filter_name,
value type string,
kind type abap_parmkind,
end of parameter_instantiation
|
|
7 | PARAMETER_INSTANTIATIONS | Public | See coding | PARAMETER_INSTANTIATIONS | 20060801 | parameter_instantiations type standard table of parameter_instantiation with default key
|
|
8 | SORTED_IMPL | Public | See coding | 20070320 | begin of SORTED_impl,
imp type ref to cl_badi_implementation,
is_default type abap_bool,
comp_id type i,
depth type i,
name type badi_impl_name,
is_valid type abap_bool, " =' ' if imp is assoc to a conflict switch, which does not resolve a conflict
end of sorted_impl
|
||
9 | SORTED_IMPL_TABLE | Public | See coding | 20070320 | sorted_impl_table type standard table of sorted_impl
|
Method Signatures
Method ADD_FILTER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | FTYPE | Value transfer | Type reference (TYPE) | BADI_FILTER_TYPE | FTYPE | 20060801 | ||
2 | Importing | NAME | Value transfer | Type reference (TYPE) | BADI_FILTER_NAME | NAME | 20060801 |
Method ADD_FILTER on class CL_BADI_DEFINITION has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | CONTEXT_MODE | Value transfer | Type reference (TYPE) | BADI_CONTEXT_MODE | CONTEXT_MODE | 20060801 | ||
2 | Importing | DEFAULT_CLASS | Value transfer | Type reference (TYPE) | CLASSNAME | DEFAULT_CLASS | 20060801 | ||
3 | Importing | ENHS_NAME | Value transfer | Type reference (TYPE) | ENHSPOTNAME | ENHS_NAME | 20060801 | ||
4 | Importing | IF_NAME | Value transfer | Type reference (TYPE) | CLASSNAME | IF_NAME | 20060801 | ||
5 | Importing | NAME | Value transfer | Type reference (TYPE) | BADI_NAME | NAME | 20060801 | ||
6 | Importing | SINGLE_USE | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | SINGLE_USE | 20060801 |
Method CONSTRUCTOR on class CL_BADI_DEFINITION has no exception.
Method EQUALS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | BADI_DEF | Value transfer | Object reference (TYPE REF TO) | CL_BADI_DEFINITION | BADI_DEF | 20060801 | ||
2 | Returning | DIFF | Value transfer | Type reference (TYPE) | STRING | DIFF | 20060801 |
Method EQUALS on class CL_BADI_DEFINITION has no exception.
Method GET_ALL_IMPLEMENTATIONS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | IMPLS | Value transfer | Type reference (TYPE) | CL_BADI_MAIN=>FULL_IMPL_TABLE | 20070109 |
Method GET_ALL_IMPLEMENTATIONS on class CL_BADI_DEFINITION has no exception.
Method GET_BADI_FROM_REGISTRY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | BADI | Value transfer | Object reference (TYPE REF TO) | CL_BADI_DEFINITION | BADI | 20060801 | ||
2 | Importing | BADI_NAME | Value transfer | Type reference (TYPE) | BADI_NAME | BADI_NAME | 20060801 | ||
3 | Importing | ENHS_NAME | Value transfer | Type reference (TYPE) | ENHSPOTNAME | ENHS_NAME | 20060801 |
Method GET_BADI_FROM_REGISTRY on class CL_BADI_DEFINITION has no exception.
Method GET_SELECTED_IMPLEMENTATIONS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | FILTERS | Call by reference | Type reference (TYPE) | BADI_FILTER_BINDINGS | 20070109 | |||
2 | Returning | IMPS | Value transfer | Type reference (TYPE) | CL_BADI_MAIN=>FULL_IMPL_TABLE | 20070109 |
Method GET_SELECTED_IMPLEMENTATIONS on class CL_BADI_DEFINITION has no exception.
Method IS_SUBSET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | IS_SUBSET | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20070516 | |||
2 | Importing | SWITCH_TAB1 | Call by reference | Type reference (TYPE) | CL_SFW_CONFLICT_SWITCH_AUX=>SWITCH_ID_TABLE | 20070516 | |||
3 | Importing | SWITCH_TAB2 | Call by reference | Type reference (TYPE) | CL_SFW_CONFLICT_SWITCH_AUX=>SWITCH_ID_TABLE | 20070516 |
Method IS_SUBSET on class CL_BADI_DEFINITION has no exception.
Method LOAD_IMPLEMENTATIONS Signature
Method LOAD_IMPLEMENTATIONS on class CL_BADI_DEFINITION has no parameter.
Method LOAD_IMPLEMENTATIONS on class CL_BADI_DEFINITION has no exception.
Method METHODS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | SRC | Value transfer | Type reference (TYPE) | STRING | SRC | 20060801 |
Method METHODS on class CL_BADI_DEFINITION has no exception.
Method PARTIALLY_SELECT_IMPS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | FILTERS | Call by reference | Type reference (TYPE) | BADI_FILTER_BINDINGS | FILTER_INSTANTIATIONS | 20070109 | ||
2 | Importing | IMPL_TABLE | Call by reference | Type reference (TYPE) | SORTED_IMPL_TABLE | 20070109 | |||
3 | Returning | IMPS | Value transfer | Type reference (TYPE) | CL_BADI_MAIN=>FULL_IMPL_TABLE | 20070109 | |||
4 | Importing | SINGLE_USE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20070320 |
Method PARTIALLY_SELECT_IMPS on class CL_BADI_DEFINITION has no exception.
Method PRINT_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | REPR | Value transfer | Type reference (TYPE) | STRING | REPR | 20060801 |
Method PRINT_STRING on class CL_BADI_DEFINITION has no exception.
Method PRIVATE_SECTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | SRC | Value transfer | Type reference (TYPE) | STRING | SRC | 20060801 |
Method PRIVATE_SECTION on class CL_BADI_DEFINITION has no exception.
Method PROTECTED_SECTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | SRC | Value transfer | Type reference (TYPE) | STRING | SRC | 20060801 |
Method PROTECTED_SECTION on class CL_BADI_DEFINITION has no exception.
Method PUBLIC_SECTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | SRC | Value transfer | Type reference (TYPE) | STRING | SRC | 20060801 |
Method PUBLIC_SECTION on class CL_BADI_DEFINITION has no exception.
Method SELECT_IMPLEMENTATIONS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | FILTERS | Value transfer | Type reference (TYPE) | BADI_FILTER_BINDINGS | 20070321 | |||
2 | Importing | IMPLS | Value transfer | Type reference (TYPE) | SORTED_IMPL_TABLE | 20070321 | |||
3 | Returning | IMPS | Value transfer | Type reference (TYPE) | CL_BADI_MAIN=>FULL_IMPL_TABLE | 20070321 |
Method SELECT_IMPLEMENTATIONS on class CL_BADI_DEFINITION has no exception.
Method SORT_IMPLEMENTATIONS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | IMPS | Call by reference | Type reference (TYPE) | CL_BADI_DEFINITION=>SORTED_IMPL_TABLE | 20070320 |
Method SORT_IMPLEMENTATIONS on class CL_BADI_DEFINITION has no exception.
Method TRANSLATE_FTYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | NTYPE | Value transfer | Type reference (TYPE) | STRING | NTYPE | 20060801 | ||
2 | Importing | TYPE | Value transfer | Type reference (TYPE) | CHAR1 | TYPE | 20060801 |
Method TRANSLATE_FTYPE on class CL_BADI_DEFINITION has no exception.
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 710 |