DERIVE SAP Method Derivation Step as Enhancement
Below is documentation, parameters and attributes of ABAP Method DERIVE within SAP class IF_EX_BADI_FMSPLIT_DERIVE. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_EX_BADI_FMSPLIT_DERIVE into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method DERIVE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method DERIVE
.| Name | Type | Data Type | Description | Default Value |
| I_ENVIRONMENT | Importing | TYPE ABADRENV | Environment for strategy | |
| I_SOURCE | Importing | TYPE FMSPLIT_DERIVE | Derivation Structure for FM account assignment splitting | |
| I_STEP_ID | Importing | TYPE TABADRS-STEPID | Step identifier | |
| E_FLG_EXIT_ACTIVE | Exporting | TYPE XFELD | Checkbox | |
| E_TARGET | Exporting | TYPE FMSPLIT_DERIVE | Derivation Structure for FM account assignment splitting |
Exceptions of Method DERIVE
DERIVATION_FAILED - Derivation FailedExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_FMSPLIT_DERIVE.
DATA: lv_E_FLG_EXIT_ACTIVE TYPE XFELD,
lv_E_TARGET TYPE FMSPLIT_DERIVE,
lv_I_ENVIRONMENT TYPE ABADRENV,
lv_I_SOURCE TYPE FMSPLIT_DERIVE,
lv_I_STEP_ID TYPE TABADRS-STEPID,
lv_other TYPE c.
CALL METHOD lo_class=>DERIVE(
EXPORTING
I_ENVIRONMENT = lv_I_ENVIRONMENT
I_SOURCE = lv_I_SOURCE
I_STEP_ID = lv_I_STEP_ID
IMPORTING
E_FLG_EXIT_ACTIVE = lv_E_FLG_EXIT_ACTIVE
E_TARGET = lv_E_TARGET ).
Links to Related Class(s)
IF_EX_BA...Full list of available SAP object classes
Search for further information about these or an SAP related objects