SAP E2E_TESTING_AGENT_SELFTEST Function Module for
E2E_TESTING_AGENT_SELFTEST is a standard e2e testing agent selftest SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for e2e testing agent selftest FM, simply by entering the name E2E_TESTING_AGENT_SELFTEST into the relevant SAP transaction such as SE37 or SE38.
Function Group: E2E_TESTING_AGENT
Program Name: SAPLE2E_TESTING_AGENT
Main Program: SAPLE2E_TESTING_AGENT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function E2E_TESTING_AGENT_SELFTEST pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'E2E_TESTING_AGENT_SELFTEST'".
EXPORTING
* IV_DYNAMIC = 'X' "
* IV_STATIC = 'X' "
* IV_STATIC_DEEPNESS = 3 "
* IV_RUN_TCD = 'X' "
* IV_RUN_RTA = 'X' "
* IV_WITH_SUBPARTS = 'X' "
* IV_WITH_DOCU = 'X' "
* IV_WITH_TRACE = 'X' "
* IV_WITH_CROSS = 'X' "
IMPORTING
EV_RETURNCODE = "
EV_VAL_CROSS = "
EV_VAL_TRACE = "
EV_RUNTIME_PFA = "
EV_RUNTIME_CROSS = "
ET_TBOM_BASE = "
ET_TBOM_TCD_BASE = "
ET_TBOM_TCD_MSG = "
ET_TBOM_CROSS = "
ET_TBOM_TRACE = "
EV_VAL_TBOM_BASE = "
EV_VAL_TCD_BASE = "
EV_VAL_TCD_MSG = "
EXCEPTIONS
E2E_TA_PFA_WRONG_EXE_TYPE = 1 E2E_TA_PFA_WRONG_EXE_UNIT = 2 E2E_TA_PFA_STATIC_OR_DYNAMIC = 3 E2E_TA_PFA_CROSS_ERROR = 4 E2E_TA_PFA_ERROR = 5 E2E_TA_ENV_ERROR = 6 E2E_TA_NO_DATA = 7
IMPORTING Parameters details for E2E_TESTING_AGENT_SELFTEST
IV_DYNAMIC -
Data type: FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_STATIC -
Data type: FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_STATIC_DEEPNESS -
Data type: IDefault: 3
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_RUN_TCD -
Data type: FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_RUN_RTA -
Data type: FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_WITH_SUBPARTS -
Data type: FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_WITH_DOCU -
Data type: FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_WITH_TRACE -
Data type: FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_WITH_CROSS -
Data type: FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for E2E_TESTING_AGENT_SELFTEST
EV_RETURNCODE -
Data type: SY-SUBRCOptional: No
Call by Reference: No ( called with pass by value option)
EV_VAL_CROSS -
Data type: STRINGOptional: No
Call by Reference: No ( called with pass by value option)
EV_VAL_TRACE -
Data type: STRINGOptional: No
Call by Reference: No ( called with pass by value option)
EV_RUNTIME_PFA -
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
EV_RUNTIME_CROSS -
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
ET_TBOM_BASE -
Data type: E2ET_TBOM_BASE_TOptional: No
Call by Reference: No ( called with pass by value option)
ET_TBOM_TCD_BASE -
Data type: E2ET_TBOM_TCD_BASE_TOptional: No
Call by Reference: No ( called with pass by value option)
ET_TBOM_TCD_MSG -
Data type: E2ET_TBOM_TCD_MSG_TOptional: No
Call by Reference: No ( called with pass by value option)
ET_TBOM_CROSS -
Data type: E2ET_TBOM_CROSS_TOptional: No
Call by Reference: No ( called with pass by value option)
ET_TBOM_TRACE -
Data type: E2ET_TBOM_TRACE_TOptional: No
Call by Reference: No ( called with pass by value option)
EV_VAL_TBOM_BASE -
Data type: STRINGOptional: No
Call by Reference: No ( called with pass by value option)
EV_VAL_TCD_BASE -
Data type: STRINGOptional: No
Call by Reference: No ( called with pass by value option)
EV_VAL_TCD_MSG -
Data type: STRINGOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
E2E_TA_PFA_WRONG_EXE_TYPE -
Data type:Optional: No
Call by Reference: Yes
E2E_TA_PFA_WRONG_EXE_UNIT -
Data type:Optional: No
Call by Reference: Yes
E2E_TA_PFA_STATIC_OR_DYNAMIC -
Data type:Optional: No
Call by Reference: Yes
E2E_TA_PFA_CROSS_ERROR -
Data type:Optional: No
Call by Reference: Yes
E2E_TA_PFA_ERROR -
Data type:Optional: No
Call by Reference: Yes
E2E_TA_ENV_ERROR -
Data type:Optional: No
Call by Reference: Yes
E2E_TA_NO_DATA -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for E2E_TESTING_AGENT_SELFTEST Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_iv_dynamic | TYPE FLAG, " 'X' | |||
| lv_ev_returncode | TYPE SY-SUBRC, " | |||
| lv_e2e_ta_pfa_wrong_exe_type | TYPE SY, " | |||
| lv_ev_val_cross | TYPE STRING, " | |||
| lv_ev_val_trace | TYPE STRING, " | |||
| lv_ev_runtime_pfa | TYPE I, " | |||
| lv_ev_runtime_cross | TYPE I, " | |||
| lv_iv_static | TYPE FLAG, " 'X' | |||
| lv_et_tbom_base | TYPE E2ET_TBOM_BASE_T, " | |||
| lv_e2e_ta_pfa_wrong_exe_unit | TYPE E2ET_TBOM_BASE_T, " | |||
| lv_et_tbom_tcd_base | TYPE E2ET_TBOM_TCD_BASE_T, " | |||
| lv_iv_static_deepness | TYPE I, " 3 | |||
| lv_e2e_ta_pfa_static_or_dynamic | TYPE I, " | |||
| lv_iv_run_tcd | TYPE FLAG, " 'X' | |||
| lv_et_tbom_tcd_msg | TYPE E2ET_TBOM_TCD_MSG_T, " | |||
| lv_e2e_ta_pfa_cross_error | TYPE E2ET_TBOM_TCD_MSG_T, " | |||
| lv_iv_run_rta | TYPE FLAG, " 'X' | |||
| lv_et_tbom_cross | TYPE E2ET_TBOM_CROSS_T, " | |||
| lv_e2e_ta_pfa_error | TYPE E2ET_TBOM_CROSS_T, " | |||
| lv_et_tbom_trace | TYPE E2ET_TBOM_TRACE_T, " | |||
| lv_e2e_ta_env_error | TYPE E2ET_TBOM_TRACE_T, " | |||
| lv_iv_with_subparts | TYPE FLAG, " 'X' | |||
| lv_iv_with_docu | TYPE FLAG, " 'X' | |||
| lv_e2e_ta_no_data | TYPE FLAG, " | |||
| lv_ev_val_tbom_base | TYPE STRING, " | |||
| lv_iv_with_trace | TYPE FLAG, " 'X' | |||
| lv_ev_val_tcd_base | TYPE STRING, " | |||
| lv_iv_with_cross | TYPE FLAG, " 'X' | |||
| lv_ev_val_tcd_msg | TYPE STRING. " |
|   CALL FUNCTION 'E2E_TESTING_AGENT_SELFTEST' " |
| EXPORTING | ||
| IV_DYNAMIC | = lv_iv_dynamic | |
| IV_STATIC | = lv_iv_static | |
| IV_STATIC_DEEPNESS | = lv_iv_static_deepness | |
| IV_RUN_TCD | = lv_iv_run_tcd | |
| IV_RUN_RTA | = lv_iv_run_rta | |
| IV_WITH_SUBPARTS | = lv_iv_with_subparts | |
| IV_WITH_DOCU | = lv_iv_with_docu | |
| IV_WITH_TRACE | = lv_iv_with_trace | |
| IV_WITH_CROSS | = lv_iv_with_cross | |
| IMPORTING | ||
| EV_RETURNCODE | = lv_ev_returncode | |
| EV_VAL_CROSS | = lv_ev_val_cross | |
| EV_VAL_TRACE | = lv_ev_val_trace | |
| EV_RUNTIME_PFA | = lv_ev_runtime_pfa | |
| EV_RUNTIME_CROSS | = lv_ev_runtime_cross | |
| ET_TBOM_BASE | = lv_et_tbom_base | |
| ET_TBOM_TCD_BASE | = lv_et_tbom_tcd_base | |
| ET_TBOM_TCD_MSG | = lv_et_tbom_tcd_msg | |
| ET_TBOM_CROSS | = lv_et_tbom_cross | |
| ET_TBOM_TRACE | = lv_et_tbom_trace | |
| EV_VAL_TBOM_BASE | = lv_ev_val_tbom_base | |
| EV_VAL_TCD_BASE | = lv_ev_val_tcd_base | |
| EV_VAL_TCD_MSG | = lv_ev_val_tcd_msg | |
| EXCEPTIONS | ||
| E2E_TA_PFA_WRONG_EXE_TYPE = 1 | ||
| E2E_TA_PFA_WRONG_EXE_UNIT = 2 | ||
| E2E_TA_PFA_STATIC_OR_DYNAMIC = 3 | ||
| E2E_TA_PFA_CROSS_ERROR = 4 | ||
| E2E_TA_PFA_ERROR = 5 | ||
| E2E_TA_ENV_ERROR = 6 | ||
| E2E_TA_NO_DATA = 7 | ||
| . " E2E_TESTING_AGENT_SELFTEST | ||
ABAP code using 7.40 inline data declarations to call FM E2E_TESTING_AGENT_SELFTEST
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_iv_dynamic) | = 'X'. | |||
| "SELECT single SUBRC FROM SY INTO @DATA(ld_ev_returncode). | ||||
| DATA(ld_iv_static) | = 'X'. | |||
| DATA(ld_iv_static_deepness) | = 3. | |||
| DATA(ld_iv_run_tcd) | = 'X'. | |||
| DATA(ld_iv_run_rta) | = 'X'. | |||
| DATA(ld_iv_with_subparts) | = 'X'. | |||
| DATA(ld_iv_with_docu) | = 'X'. | |||
| DATA(ld_iv_with_trace) | = 'X'. | |||
| DATA(ld_iv_with_cross) | = 'X'. | |||
Search for further information about these or an SAP related objects