SAP ABAP Class CL_BADI_RUNTIME_BEHAVIOR (BAdI Implementation Runtime Behavior)
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_BADI_RUNTIME_BEHAVIOR | |
| Short Description | BAdI Implementation Runtime Behavior | |
| 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 | 20100519 | SAP |
| Last change | 20140121 | 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) |
Interfaces
Class CL_BADI_RUNTIME_BEHAVIOR has no interface implemented.
Friends
Class CL_BADI_RUNTIME_BEHAVIOR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | See coding | Runtime Behavior Codes | 20100909 | ||||
| 2 | Static Attribute | Private | Type reference (TYPE) | TY_T_SFW_BADI_IMPLS | A List of BAdI Implementations within the Switch Framework | 20100909 | |||
| 3 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_BADI_IMPLEMENTATION_CACHE | 20130227 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Gets Eligible Active Implemetations for a BAdI Definition | 20100909 | |
| 2 | Static method | Private | Method | 20130227 | ||
| 3 | Static method | Public | Method | Obtains the Spot View of BAdI Implementation Data | 20100909 | |
| 4 | Static method | Public | Method | Gets the Description of BAdI Implementation Runtime Behavior | 20100909 | |
| 5 | Static method | Public | Method | Determines the Runtime Behavior of a BAdI Implementation | 20100909 | |
| 6 | Static method | Public | Method | Gets Callable Non-Filtered BAdI Impls by Switch Framework | 20100909 | |
| 7 | Static method | Public | Method | Determines All Conflict Switches Associated with a Switch | 20100909 | |
| 8 | Static method | Public | Method | Determines the Switch ID and State of an Enhancement | 20100909 | |
| 9 | Static method | Private | Method | 20130227 | ||
| 10 | Static method | Private | Method | Gets SFW Callable Implementation Lists for Multiple Use BAdI | 20100909 | |
| 11 | Static method | Private | Method | Gets a SFW Callable Implementation for a Single Use BAdI | 20100909 | |
| 12 | Static method | Public | Method | Determines If a BAdI Implementation is Active (IMG & Impl.) | 20100909 | |
| 13 | Static method | Public | Method | 20130227 |
Events
Class CL_BADI_RUNTIME_BEHAVIOR has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_RUNTIME_BAHAVIOR_CODE | Public | See coding | 20130227 | ty_runtime_bahavior_code type c length 1
|
||
| 2 | TY_SFW_BADI_IMPL | Public | See coding | BAdI Implementation within the Switch Framework | 20100909 | begin of ty_sfw_badi_impl,
enh_name type enhname, " Enhancement name
impl_name type badi_impl_name, " BAdI impl. name
is_default type abap_bool, " Default/non-default impl.
switch_id type sfw_switch_id, " Switch ID
switch_depth type i, " Switch depth
not_called type abap_bool, " Not called at runtime
end of ty_sfw_badi_impl
|
|
| 3 | TY_T_SFW_BADI_IMPLS | Public | See coding | A List of BAdI Implementations within the Switch Framework | 20100909 | ty_t_sfw_badi_impls type hashed table of ty_sfw_badi_impl
with unique key primary_key components enh_name impl_name
with non-unique sorted key secondary_key components switch_id
with non-unique sorted key tertiary_key components switch_depth
|
Method Signatures
Method GET_ACTIVE_BADI_IMPLS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_FILTER_BINDINGS | Call by reference | Type reference (TYPE) | BADI_FILTER_BINDINGS | Table of Filter Bindings | 20100909 | |||
| 2 | IV_BADI_DEF | Call by reference | Object reference (TYPE REF TO) | CL_BADI_DEFINITION | BAdI Definition Class | 20100909 |
Method GET_ACTIVE_BADI_IMPLS on class CL_BADI_RUNTIME_BEHAVIOR has no exception.
Method GET_BADI_FROM_REGISTRY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BADI_NAME | Value transfer | Type reference (TYPE) | BADI_NAME | 20130227 | ||||
| 2 | R_BADI | Value transfer | Object reference (TYPE REF TO) | CL_BADI_DEFINITION | 20130227 |
Method GET_BADI_FROM_REGISTRY on class CL_BADI_RUNTIME_BEHAVIOR has no exception.
Method GET_BADI_IMPL_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ENH_NAME | Call by reference | Type reference (TYPE) | ENHNAME | Enhancement Name | 20100909 | |||
| 2 | IV_IMPL_NAME | Call by reference | Type reference (TYPE) | BADI_IMPL_NAME | BAdI Implementation Name | 20100909 | |||
| 3 | RV_IMPL_DATA | Value transfer | Type reference (TYPE) | ENH_BADI_IMPL_DATA | BAdI Implemenation Data | 20100909 |
Method GET_BADI_IMPL_DATA on class CL_BADI_RUNTIME_BEHAVIOR has no exception.
Method GET_BEHAVIOR_DESCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CONFLICT_SWITCH | Call by reference | Type reference (TYPE) | SFW_SWITCH_ID | Id of a Conflict Switch in On Position (Single Use Only) | 20100909 | |||
| 2 | EV_CONFL_SWITCH_IMPL | Call by reference | Type reference (TYPE) | TY_SFW_BADI_IMPL | Conflict-Resolving Implementation (Single-Use BAdI Only) | 20100909 | |||
| 3 | EV_EXECUTION_TEXT | Call by reference | Type reference (TYPE) | STRING | Description of the Execution of the Implementation | 20100909 | |||
| 4 | EV_SWITCH_ID | Call by reference | Type reference (TYPE) | SFW_SWITCH_ID | Id of a Switch in Switch Framework | 20100909 | |||
| 5 | EV_SWITCH_STATE | Call by reference | Type reference (TYPE) | SFW_SWITCHPOS | Switch Position | 20100909 | |||
| 6 | EV_SWITCH_TEXT | Call by reference | Type reference (TYPE) | STRING | Description of the Switch Condition of the Implementation | 20100909 | |||
| 7 | IV_ENH_NAME | Call by reference | Type reference (TYPE) | ENHNAME | Enhancement Name | 20100909 | |||
| 8 | IV_IMPL_NAME | Call by reference | Type reference (TYPE) | BADI_IMPL_NAME | BAdI Implementation Name | 20100909 |
Method GET_BEHAVIOR_DESCRIPTION on class CL_BADI_RUNTIME_BEHAVIOR has no exception.
Method GET_BEHAVIOR_DETAIL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_BEHAVIOR_CODE | Call by reference | Type reference (TYPE) | CHAR1 | Code of a BAdI Implementation Runtime Behavior | 20100909 | |||
| 2 | EV_CONFLICT_SWITCH | Call by reference | Type reference (TYPE) | SFW_SWITCH_ID | Id of a Conflict Switch in On Position (Single Use Only) | 20100909 | |||
| 3 | EV_CONFL_SWITCH_IMPL | Call by reference | Type reference (TYPE) | TY_SFW_BADI_IMPL | Conflict-Resolving Implementation (Single-Use BAdI Only) | 20100909 | |||
| 4 | EV_SWITCH_ID | Call by reference | Type reference (TYPE) | SFW_SWITCH_ID | Id of a Switch in Switch Framework | 20100909 | |||
| 5 | EV_SWITCH_STATE | Call by reference | Type reference (TYPE) | SFW_SWITCHPOS | Switch Position | 20100909 | |||
| 6 | IV_ENH_NAME | Call by reference | Type reference (TYPE) | ENHNAME | Enhancement Name | 20100909 | |||
| 7 | IV_IMPL_NAME | Call by reference | Type reference (TYPE) | BADI_IMPL_NAME | BAdI Implementation Name | 20100909 |
Method GET_BEHAVIOR_DETAIL on class CL_BADI_RUNTIME_BEHAVIOR has no exception.
Method GET_CALLABLE_IMPLS_BY_SFW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_FILTER_BINDINGS | Call by reference | Type reference (TYPE) | BADI_FILTER_BINDINGS | Table of Filter Bindings | 20100909 | |||
| 2 | IV_BADI_NAME | Call by reference | Type reference (TYPE) | BADI_NAME | BAdI Definition Name | 20100909 | |||
| 3 | RT_CALLABLE_IMPLS | Value transfer | Type reference (TYPE) | TY_T_SFW_BADI_IMPLS | List of Callable BAdI Implementations | 20100909 |
Method GET_CALLABLE_IMPLS_BY_SFW on class CL_BADI_RUNTIME_BEHAVIOR has no exception.
Method GET_CONFLICT_SWITCHES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ALL_CONFL_SWITCHES | Call by reference | Type reference (TYPE) | SFW_CONFL_SWITCHES | 20100909 | ||||
| 2 | ET_CONFL_SWITCH_IDS | Call by reference | Type reference (TYPE) | SFW_SWITCH_ID_TAB | 20100909 | ||||
| 3 | IV_SWITCH_ID | Call by reference | Type reference (TYPE) | SFW_SWITCH_ID | ID of a Switch in Switch Framework | 20100909 |
Method GET_CONFLICT_SWITCHES on class CL_BADI_RUNTIME_BEHAVIOR has no exception.
Method GET_ENHANCEMENT_SWITCH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_SWITCH_ID | Call by reference | Type reference (TYPE) | SFW_SWITCH_ID | Id of a Switch in Switch Framework | 20100909 | |||
| 2 | EV_SWITCH_STATE | Call by reference | Type reference (TYPE) | SFW_SWITCHPOS | Switch Position | 20100909 | |||
| 3 | IV_ENH_NAME | Call by reference | Type reference (TYPE) | ENHNAME | ID of an Enhancement | 20100909 |
Method GET_ENHANCEMENT_SWITCH on class CL_BADI_RUNTIME_BEHAVIOR has no exception.
Method GET_IMPLEMENTATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ENHNAME | Call by reference | Type reference (TYPE) | ENHNAME | 20130227 | ||||
| 2 | R_REF | Value transfer | Object reference (TYPE REF TO) | CL_ENH_TOOL_BADI_IMPL | 20130227 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130227 | |||
| 2 | 20130227 | |||
| 3 | 20130227 | |||
| 4 | 20130227 | |||
| 5 | 20130227 | |||
| 6 | 20130227 | |||
| 7 | 20130227 |
Method GET_SFW_MU_CALLABLE_IMPLS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DEFAULT_IMPL_LIST | Call by reference | Type reference (TYPE) | TY_T_SFW_BADI_IMPLS | A List of Callable Default BAdI Implementations | 20100909 | |||
| 2 | CT_NONDEF_IMPL_LIST | Call by reference | Type reference (TYPE) | TY_T_SFW_BADI_IMPLS | A List of Callalble Non-Default BAdI Implmentations | 20100909 |
Method GET_SFW_MU_CALLABLE_IMPLS on class CL_BADI_RUNTIME_BEHAVIOR has no exception.
Method GET_SFW_SU_CALLABLE_IMPL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CALLABLE_IMPL | Call by reference | Type reference (TYPE) | TY_SFW_BADI_IMPL | A Callable BAdI Implementation | 20100909 | |||
| 2 | EV_CONFL_SWITCH_ID | Call by reference | Type reference (TYPE) | SFW_SWITCH_ID | 20100909 | ||||
| 3 | IV_SWITCH_ID | Call by reference | Type reference (TYPE) | SFW_SWITCH_ID | ID of a Switch in Switch Framework | 20100909 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100909 |
Method IS_BADI_IMPL_ACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_IMG_ACTIVE | Call by reference | Type reference (TYPE) | ABAP_BOOL | IMG Activation Status (Active='X' Inactive=' ') | 20100909 | |||
| 2 | EV_IMG_EXISTS | Call by reference | Type reference (TYPE) | ABAP_BOOL | Whether IMG Settings Exist or Not (Exist='X', Not Exist=' ') | 20100909 | |||
| 3 | EV_IMP_ACTIVE | Call by reference | Type reference (TYPE) | ABAP_BOOL | Implementation Activation Status (Active='X' Inactive=' ') | 20100909 | |||
| 4 | IV_ENH_NAME | Call by reference | Type reference (TYPE) | ENHNAME | Enhancement Name | 20100909 | |||
| 5 | IV_IMP_NAME | Call by reference | Type reference (TYPE) | BADI_IMPL_NAME | BAdI Implementation Name | 20100909 |
Method IS_BADI_IMPL_ACTIVE on class CL_BADI_RUNTIME_BEHAVIOR has no exception.
Method SET_CACHE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CACHE | Call by reference | Object reference (TYPE REF TO) | CL_BADI_IMPLEMENTATION_CACHE | 20130227 |
Method SET_CACHE on class CL_BADI_RUNTIME_BEHAVIOR has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |