SAP ABAP Class CL_BADI_IMPLEMENTATION (CL_BADI_IMPLEMENTATION)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
SFW_BADI (Package) New Switchable BAdIs
⤷
⤷
Properties
| Class | CL_BADI_IMPLEMENTATION | |
| Short Description | ||
| 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 | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_BADI_IMPLEMENTATION 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 | Instance attribute | Public | See coding | 20060801 | |||||
| 2 | Instance attribute | Public | Type reference (TYPE) | CLASSNAME | CLASS_NAME | 20060801 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | CL_BADI_MAIN=>CONDITION_TABLE | CONDITIONS | 20060801 | |||
| 4 | Constant | Private | Type reference (TYPE) | STRING | CL_ABAP_CHAR_UTILITIES=>CR_LF | CR_LF | 20060801 | ||
| 5 | Instance attribute | Public | Type reference (TYPE) | ENHNAME | ENHNAME | 20060801 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | IS_DEFAULT | 20060801 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | 20111124 | ||||
| 8 | Instance attribute | Public | Type reference (TYPE) | BADI_IMPL_NAME | NAME | 20060801 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | I | POS | 20060801 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | I | SWITCH_COMP_ID | 20060801 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | I | SWITCH_DEPTH | 20060801 | |||
| 12 | Instance attribute | Public | Type reference (TYPE) | SFW_SWITCH_ID | SWITCH_ID | 20060801 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | CHECK_ATOM | 20060801 | |
| 2 | Instance method | Public | Method | CHECK_CONDITION | 20060801 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20060801 | |
| 4 | Instance method | Public | Method | EQUALS | 20060801 | |
| 5 | Static method | Public | Method | GET_BADI_IMP_FROM_REGISTRY | 20060801 | |
| 6 | Instance method | Private | Method | PRINT_ATOM | 20060801 | |
| 7 | Instance method | Public | Method | PRINT_CONDITION | 20060801 | |
| 8 | Instance method | Public | Method | PRINT_STRING | 20060801 | |
| 9 | Instance method | Public | Method | 20060801 |
Events
Class CL_BADI_IMPLEMENTATION has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | BADI_FTAB | Public | See coding | BADI_FTAB | 20060801 | badi_ftab type standard table of badi_filter
|
|
| 2 | FDECLARATIONS | Public | See coding | FDECLARATIONS | 20060801 | fdeclarations type standard table of badi_filter_declaration
|
|
| 3 | FTAB | Public | See coding | FTAB | 20060801 | ftab type standard table of badi_filter_name with default key
|
|
| 4 | FULL_IMPL_TABLE | Public | See coding | FULL_IMPL_TABLE | 20060801 | full_impl_table type standard table of ref to cl_badi_implementation
|
|
| 5 | FVALUE_SPEC | Public | See coding | FVALUE_SPEC | 20060801 | begin of fvalue_spec,
name type badi_filter_name,
value type ref to data,
end of fvalue_spec
|
|
| 6 | FVALUE_TABLE | Public | See coding | FVALUE_TABLE | 20060801 | fvalue_table type sorted table of fvalue_spec with unique key name
|
Method Signatures
Method CHECK_ATOM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COND | Call by reference | Type reference (TYPE) | CL_BADI_MAIN=>FLINE | COND | 20060801 | |||
| 2 | FVAL | Call by reference | Type reference (TYPE) | ANY | FVAL | 20060801 | |||
| 3 | OK | Value transfer | Type reference (TYPE) | ABAP_BOOL | OK | 20060801 |
Method CHECK_ATOM on class CL_BADI_IMPLEMENTATION has no exception.
Method CHECK_CONDITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FILTERS | Call by reference | Type reference (TYPE) | BADI_FILTER_BINDINGS | FILTERS | 20060801 | |||
| 2 | OK | Value transfer | Type reference (TYPE) | ABAP_BOOL | OK | 20060801 |
Method CHECK_CONDITION on class CL_BADI_IMPLEMENTATION has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLASS_NAME | Call by reference | Type reference (TYPE) | CLASSNAME | CLASS_NAME | 20060801 | |||
| 2 | ENHNAME | Call by reference | Type reference (TYPE) | ENHNAME | ENHNAME | 20060801 | |||
| 3 | IS_DEFAULT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | IS_DEFAULT | 20060801 | ||
| 4 | IS_IMPL_ACTIVE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20111124 | |||
| 5 | NAME | Call by reference | Type reference (TYPE) | BADI_IMPL_NAME | NAME | 20060801 | |||
| 6 | POS | Value transfer | Type reference (TYPE) | I | 0 | POS | 20060801 |
Method CONSTRUCTOR on class CL_BADI_IMPLEMENTATION has no exception.
Method EQUALS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DIFF | Value transfer | Type reference (TYPE) | STRING | DIFF | 20060801 | |||
| 2 | IMPL | Value transfer | Object reference (TYPE REF TO) | CL_BADI_IMPLEMENTATION | IMPL | 20060801 |
Method EQUALS on class CL_BADI_IMPLEMENTATION has no exception.
Method GET_BADI_IMP_FROM_REGISTRY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BADI_IMP | Value transfer | Object reference (TYPE REF TO) | CL_BADI_IMPLEMENTATION | BADI_IMP | 20060801 | |||
| 2 | IMP | Call by reference | Type reference (TYPE) | BADI_IMPL | IMP | 20060801 |
Method GET_BADI_IMP_FROM_REGISTRY on class CL_BADI_IMPLEMENTATION has no exception.
Method PRINT_ATOM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COND | Call by reference | Type reference (TYPE) | CL_BADI_MAIN=>FLINE | COND | 20060801 | |||
| 2 | REPR | Value transfer | Type reference (TYPE) | STRING | REPR | 20060801 |
Method PRINT_ATOM on class CL_BADI_IMPLEMENTATION has no exception.
Method PRINT_CONDITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | REPR | Value transfer | Type reference (TYPE) | STRING | REPR | 20060801 |
Method PRINT_CONDITION on class CL_BADI_IMPLEMENTATION has no exception.
Method PRINT_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT | Value transfer | Type reference (TYPE) | SFW_CLIENT | CLIENT | 20060801 | |||
| 2 | REPR | Value transfer | Type reference (TYPE) | STRING | REPR | 20060801 |
Method PRINT_STRING on class CL_BADI_IMPLEMENTATION has no exception.
Method SET_SWITCH_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COMP_ID | Value transfer | Type reference (TYPE) | I | 20060801 | ||||
| 2 | DEPTH | Value transfer | Type reference (TYPE) | I | 20060801 |
Method SET_SWITCH_INFO on class CL_BADI_IMPLEMENTATION has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 710 |