PREPARE SAP Method Dynamic Test Data modification before test execution









Below is documentation, parameters and attributes of ABAP Method PREPARE within SAP class /BOBF/IF_TOOL_PREPARE_TEST. 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 /BOBF/IF_TOOL_PREPARE_TEST into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method PREPARE can also be found below:

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


Parameters of Method PREPARE

.

NameTypeData TypeDescriptionDefault Value
IO_AUNIT_FRWImportingTYPE REF TO
/BOBF/IF_TOOL_AUNIT_FRW
Access to testdata parameters for modification of BO nodes
IO_MODIFYImportingTYPE REF TO
/BOBF/IF_FRW_MODIFY
Interface to Change Data
IO_READImportingTYPE REF TO
/BOBF/IF_TOOL_AUNIT_READ
Interface to Read Data
IO_TESTDATA_ACCESSImportingTYPE REF TO
/BOBF/IF_TOOL_AUNIT_TESTDATA
Access to testdata for modification before test execution



Exceptions of Method PREPARE

This method does not have any exceptions

Example ABAP coding


DATA: lv_IO_AUNIT_FRW TYPE /BOBF/IF_TOOL_AUNIT_FRW,
lv_IO_MODIFY TYPE /BOBF/IF_FRW_MODIFY,
lv_IO_READ TYPE /BOBF/IF_TOOL_AUNIT_READ,
lv_IO_TESTDATA_ACCESS TYPE /BOBF/IF_TOOL_AUNIT_TESTDATA,
lv_other TYPE c.

CALL METHOD /BOBF/IF_TOOL_PREPARE_TEST=>PREPARE(
EXPORTING
IO_AUNIT_FRW = lv_IO_AUNIT_FRW
IO_MODIFY = lv_IO_MODIFY
IO_READ = lv_IO_READ
IO_TESTDATA_ACCESS = lv_IO_TESTDATA_ACCESS ).

Links to Related Class(s)

/BOBF/IF...
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!