EXECUTE SAP Method Executes the application specific derivation logic
Below is documentation, parameters and attributes of ABAP Method EXECUTE within SAP class IF_SAM_DERIVATION. 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_SAM_DERIVATION 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 EXECUTE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method EXECUTE
.| Name | Type | Data Type | Description | Default Value |
| IS_DERIVATION | Importing | TYPE SAMS_DERIVATOR_EXECUTE | Structure for SAM Derivators | |
| IT_SOURCE_STATUSES | Importing | TYPE IF_SAM_TYPES=>TT_SAM_STATUS_DATA | Current status of the source node | |
| ES_TARGET_VALUE | Exporting | TYPE IF_SAM_TYPES=>TY_STATUS_VALUE | Status Value of a Status Variable |
Exceptions of Method EXECUTE
CX_SAM_PROCESSING_ERROR - Exception class for operation processingExample ABAP coding
DATA: lo_class TYPE REF TO IF_SAM_DERIVATION.
DATA: lv_ES_TARGET_VALUE TYPE IF_SAM_TYPES=>TY_STATUS_VALUE,
lv_IS_DERIVATION TYPE SAMS_DERIVATOR_EXECUTE,
lv_IT_SOURCE_STATUSES TYPE IF_SAM_TYPES=>TT_SAM_STATUS_DATA,
lv_other TYPE c.
CALL METHOD lo_class=>EXECUTE(
EXPORTING
IS_DERIVATION = lv_IS_DERIVATION
IT_SOURCE_STATUSES = lv_IT_SOURCE_STATUSES
IMPORTING
ES_TARGET_VALUE = lv_ES_TARGET_VALUE ).
Links to Related Class(s)
IF_SAM_D...Full list of available SAP object classes
Search for further information about these or an SAP related objects