READ_TEST_CASE SAP Method Read a test case









Below is documentation, parameters and attributes of ABAP Method READ_TEST_CASE 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 can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method READ_TEST_CASE

.

NameTypeData TypeDescriptionDefault Value
IV_FUNCTION_IDImportingTYPE
IF_FDT_TYPES=>ID
Function ID
IV_NAMEImportingTYPE
IF_FDT_TYPES=>NAME
Name
ES_TEST_CASEExportingTYPE
S_TEST_CASE
Test Case
EV_EXISTSExportingTYPE
ABAP_BOOL
Test Case Exists ( '' -> True, 'X' -> False)



Exceptions of Method READ_TEST_CASE

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_FDT_TEST_TOOL.
DATA: lv_ES_TEST_CASE TYPE S_TEST_CASE,
lv_EV_EXISTS TYPE ABAP_BOOL,
lv_IV_FUNCTION_ID TYPE IF_FDT_TYPES=>ID,
lv_IV_NAME TYPE IF_FDT_TYPES=>NAME,
lv_other TYPE c.

CALL METHOD lo_class=>READ_TEST_CASE(
EXPORTING
IV_FUNCTION_ID = lv_IV_FUNCTION_ID
IV_NAME = lv_IV_NAME
IMPORTING
ES_TEST_CASE = lv_ES_TEST_CASE
EV_EXISTS = lv_EV_EXISTS ).

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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!