The REF function is used to
modularize test cases. It puts the functionality of the referred test case in the current test case. Data is passed between the current test case and the referred test case via its import/export interface.Use the REF function to use a test case in another test case.
-
assign a variable, constant or parameter to the calling test case.-
assign a variant of the called test case from which the import interface can be filled.-
no assignment, in which case the default called test case import parameter value is used, if there is one.
If a combination of the parameterization described above is used, the values assigned by the calling test case overwrite all other assignments.
An assignment by a variant only overwrites the default values of the called test case.

To use an external variant to fill the import interface, specify it as a five-character number, where e.g. the first external variant (fourth line in the text file) is 00001.
Go to the referred test case
To see the functions of the referred test module, position the cursor it in the function editor and choose Goto
® Test module. You go to the test case display. Go back to the original test case with Goto ® Back.Resolve reference
The REF function can also be used as a copy function. You can copy the functions of a referred test case into the current line by resolving it.
You can do this in one of two ways:
Remote call of test cases
From Release 4.0 test cases can be run locally in the remote system. A remote flag is set and an RFC destination is specified in the REF command. The version of the test case in the remote system then runs in the remote system, not the local version. The parameter interface is assigned as usual for the REF command.
The remote run log is saved in the local system. Only the referred test case and the RFC destination are specified in the local System. Click on the RFC destination to display the remote system log.
Create remote call: