SAP FAA_TENV_EXECUTE_TEST_CASE Function Module for
FAA_TENV_EXECUTE_TEST_CASE is a standard faa tenv execute test case 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 faa tenv execute test case FM, simply by entering the name FAA_TENV_EXECUTE_TEST_CASE into the relevant SAP transaction such as SE37 or SE38.
Function Group: FAA_TENV
Program Name: SAPLFAA_TENV
Main Program: SAPLFAA_TENV
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FAA_TENV_EXECUTE_TEST_CASE 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 'FAA_TENV_EXECUTE_TEST_CASE'".
EXPORTING
IS_TCMGT = "
ID_CFG_PATH = "
ID_TC_PATH = "
* IB_TRACE = ' ' "
* IB_CFG_USE_PRESENTATIONSERVER = 'X' "
* IB_TC_USE_PRESENTATIONSERVER = 'X' "
* IB_DISPLAY_ALL_TC = ' ' "
* IV_SELECTED_AFABE = '00' "
CHANGING
CT_TC_ERR = "
IMPORTING Parameters details for FAA_TENV_EXECUTE_TEST_CASE
IS_TCMGT -
Data type: FAA_S_TENV_TCMGTOptional: No
Call by Reference: Yes
ID_CFG_PATH -
Data type: STRINGOptional: No
Call by Reference: Yes
ID_TC_PATH -
Data type: STRINGOptional: No
Call by Reference: Yes
IB_TRACE -
Data type: XFLAGDefault: ' '
Optional: Yes
Call by Reference: Yes
IB_CFG_USE_PRESENTATIONSERVER -
Data type: FAA_USE_PRESENTATIONSERVERDefault: 'X'
Optional: Yes
Call by Reference: Yes
IB_TC_USE_PRESENTATIONSERVER -
Data type: FAA_USE_PRESENTATIONSERVERDefault: 'X'
Optional: Yes
Call by Reference: Yes
IB_DISPLAY_ALL_TC -
Data type: ABAP_BOOLDefault: ' '
Optional: Yes
Call by Reference: Yes
IV_SELECTED_AFABE -
Data type: AFABE_DDefault: '00'
Optional: Yes
Call by Reference: Yes
CHANGING Parameters details for FAA_TENV_EXECUTE_TEST_CASE
CT_TC_ERR -
Data type: FAA_T_TENV_TC_ERROptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FAA_TENV_EXECUTE_TEST_CASE 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_is_tcmgt | TYPE FAA_S_TENV_TCMGT, " | |||
| lv_ct_tc_err | TYPE FAA_T_TENV_TC_ERR, " | |||
| lv_id_cfg_path | TYPE STRING, " | |||
| lv_id_tc_path | TYPE STRING, " | |||
| lv_ib_trace | TYPE XFLAG, " ' ' | |||
| lv_ib_cfg_use_presentationserver | TYPE FAA_USE_PRESENTATIONSERVER, " 'X' | |||
| lv_ib_tc_use_presentationserver | TYPE FAA_USE_PRESENTATIONSERVER, " 'X' | |||
| lv_ib_display_all_tc | TYPE ABAP_BOOL, " ' ' | |||
| lv_iv_selected_afabe | TYPE AFABE_D. " '00' |
|   CALL FUNCTION 'FAA_TENV_EXECUTE_TEST_CASE' " |
| EXPORTING | ||
| IS_TCMGT | = lv_is_tcmgt | |
| ID_CFG_PATH | = lv_id_cfg_path | |
| ID_TC_PATH | = lv_id_tc_path | |
| IB_TRACE | = lv_ib_trace | |
| IB_CFG_USE_PRESENTATIONSERVER | = lv_ib_cfg_use_presentationserver | |
| IB_TC_USE_PRESENTATIONSERVER | = lv_ib_tc_use_presentationserver | |
| IB_DISPLAY_ALL_TC | = lv_ib_display_all_tc | |
| IV_SELECTED_AFABE | = lv_iv_selected_afabe | |
| CHANGING | ||
| CT_TC_ERR | = lv_ct_tc_err | |
| . " FAA_TENV_EXECUTE_TEST_CASE | ||
ABAP code using 7.40 inline data declarations to call FM FAA_TENV_EXECUTE_TEST_CASE
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_ib_trace) | = ' '. | |||
| DATA(ld_ib_cfg_use_presentationserver) | = 'X'. | |||
| DATA(ld_ib_tc_use_presentationserver) | = 'X'. | |||
| DATA(ld_ib_display_all_tc) | = ' '. | |||
| DATA(ld_iv_selected_afabe) | = '00'. | |||
Search for further information about these or an SAP related objects