Entering content frameProcess documentationUsing function module tests Locate the document in its SAP Library structure

Use

You can create and run function module tests with type Function module test. Function module dialogs can also be tested.

When you create a function module test, a parameter set is created for the function module parameters, structures and tables to be passed. The function module then runs. If it contains dialogs, they are recorded. At the end of the function module, its result is added to the parameter set as a compare parameter. You can then choose parameters, structures and tables from among the compare parameters, whose contents should match the recorded values in future tests.

Procedure

  1. Create a function module test.
  2. Parameterize the function module test case, if it contains dialogs.
  3. Edit the list of compare parameters.
  4. Save the test case.
  5. Use the test case to test function modules automatically.
Leaving content frame