SAP Reports / Programs

FAA_TENV_TEST_CASE_EXECUTION SAP ABAP Report - Execution of Test Cases







FAA_TENV_TEST_CASE_EXECUTION is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter FAA_TENV_TEST_CASE_EXECUTION into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

AATENV3 - Execute Test Cases


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT FAA_TENV_TEST_CASE_EXECUTION. "Basic submit
SUBMIT FAA_TENV_TEST_CASE_EXECUTION AND RETURN. "Return to original report after report execution complete
SUBMIT FAA_TENV_TEST_CASE_EXECUTION VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: S_RDCDSC = D .
Selection Text: S_LEADOB = D .
Selection Text: S_CFG_ID = D .
Selection Text: S_CATEG3 = D .
Selection Text: S_CATEG2 = D .
Selection Text: S_CATEG1 = D .
Selection Text: S_ANLN2 = D .
Selection Text: S_ANLN1 = D .
Selection Text: P_TC_UP = D .
Selection Text: P_CFG_UP = D .
Selection Text: P_TC_PA = Test Cases
Selection Text: P_TC_ERR = Only Test Cases w/ Errors
Selection Text: P_TC_ALL = All Test Cases
Selection Text: P_CFG_PA = Configurations
Selection Text: P_AFABE = Only This Depreciation Area
Title: Execution of Test Cases
Text Symbol: H03 = Additional Selection Options
Text Symbol: H02 = Select Results to Be Displayed
Text Symbol: H01 = Selection of Test Cases
Text Symbol: H00 = Path to Storage for
Text Symbol: 002 = Path to Storage Location for Test Cases
Text Symbol: 001 = Path to Storage for Configurations


INCLUDES used within this REPORT FAA_TENV_TEST_CASE_EXECUTION

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

/SAPDMC/LSM_F4_SERVER_FILE CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE' EXPORTING directory = ' ' * DIRECTORY = ' ' * FILEMASK = ' ' IMPORTING serverfile = ld_selected_path EXCEPTIONS canceled_by_user = 1 OTHERS = 2.

/SAPDMC/LSM_F4_SERVER_FILE CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE' EXPORTING directory = ' ' * DIRECTORY = ' ' * FILEMASK = ' ' IMPORTING serverfile = ld_selected_path EXCEPTIONS canceled_by_user = 1 OTHERS = 2.

FAA_TENV_EXECUTE_TEST_SET CALL FUNCTION 'FAA_TENV_EXECUTE_TEST_SET' EXPORTING it_tcmgt = lt_tcmgt id_cfg_path = ld_cfg_path id_tc_path = ld_tc_path ib_cfg_use_presentationserver = p_cfg_up "§953664 ib_tc_use_presentationserver = p_tc_up "§953664 ib_display_all_tc = p_tc_all "§1174355 iv_selected_afabe = p_afabe "§1174355 IMPORTING et_tc_err = lt_tc_err.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'FAA_S_TENV_TC_ERR' i_bypassing_buffer = 'X' CHANGING ct_fieldcat = ct_fieldcat.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-cprog i_callback_user_command = 'ALV_USER_COMMAND' is_layout = ls_layout it_fieldcat = ct_fieldcat it_excluding = lt_excluding it_sort = lt_sort it_events = lt_events TABLES t_outtab = lt_tc_err.

FAA_TENV_EXECUTE_TEST_CASE CALL FUNCTION 'FAA_TENV_EXECUTE_TEST_CASE' EXPORTING is_tcmgt = ls_tcmgt id_cfg_path = ld_cfg_path id_tc_path = ld_tc_path ib_trace = abap_true ib_cfg_use_presentationserver = p_cfg_up "§953664 ib_tc_use_presentationserver = p_cfg_up "§953664 CHANGING ct_tc_err = lt_tc_err_trace.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name FAA_TENV_TEST_CASE_EXECUTION or its description.