READ_TEST_CASE_RUN SAP Method Read the test case runs of a test case
Below is documentation, parameters and attributes of ABAP Method READ_TEST_CASE_RUN within SAP class IF_FDT_TEST_TOOL. 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_FDT_TEST_TOOL 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 READ_TEST_CASE_RUN can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method READ_TEST_CASE_RUN
.| Name | Type | Data Type | Description | Default Value |
| IV_FUNCTION_ID | Importing | TYPE IF_FDT_TYPES=>ID | Function ID | |
| IV_LAST_X | Importing | TYPE I | Last x test case runs | |
| IV_NAME | Importing | TYPE IF_FDT_TYPES=>NAME | Test case name | |
| IV_RETURN_ERROR | Importing | TYPE ABAP_BOOL | 'X': Test case runs with status Error | |
| IV_RETURN_EXCEPTION | Importing | TYPE ABAP_BOOL | 'X': Test case runs with status Exception | |
| IV_RETURN_OK | Importing | TYPE ABAP_BOOL | 'X': Test case runs with status OK | |
| IV_RUN_ID | Importing | TYPE SYSUUID_C32 | Test Case run ID | |
| ETS_RUN | Exporting | TYPE TS_TEST_CASE_RUN | Test case runs |
Exceptions of Method READ_TEST_CASE_RUN
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_FDT_TEST_TOOL.
DATA: lv_ETS_RUN TYPE TS_TEST_CASE_RUN,
lv_IV_FUNCTION_ID TYPE IF_FDT_TYPES=>ID,
lv_IV_LAST_X TYPE I,
lv_IV_NAME TYPE IF_FDT_TYPES=>NAME,
lv_IV_RETURN_ERROR TYPE ABAP_BOOL,
lv_IV_RETURN_EXCEPTION TYPE ABAP_BOOL,
lv_IV_RETURN_OK TYPE ABAP_BOOL,
lv_IV_RUN_ID TYPE SYSUUID_C32,
lv_other TYPE c.
CALL METHOD lo_class=>READ_TEST_CASE_RUN(
EXPORTING
IV_FUNCTION_ID = lv_IV_FUNCTION_ID
IV_LAST_X = lv_IV_LAST_X
IV_NAME = lv_IV_NAME
IV_RETURN_ERROR = lv_IV_RETURN_ERROR
IV_RETURN_EXCEPTION = lv_IV_RETURN_EXCEPTION
IV_RETURN_OK = lv_IV_RETURN_OK
IV_RUN_ID = lv_IV_RUN_ID
IMPORTING
ETS_RUN = lv_ETS_RUN ).
Links to Related Class(s)
IF_FDT_T...Full list of available SAP object classes
Search for further information about these or an SAP related objects