You can use parameters at the following places in a test case:
By double-clicking on an existing parameter name, you go to the parameter detail screen, where you can enter:
Procedure
Definition on the screen input field maintenance screen
You go to the test screen sequence definition.
You go to the screen definition containing all input fields and any constant input values.

To specify your own parameter name, enter & followed by the parameter name in the appropriate field. Otherwise the input field data element name is used as parameter name.
-
insert import parameter-
insert export parameter-
insert local variableThe parameter is created. The associated field is no longer ready for input. If the field had previously contained a constant, it is the default value when you define an import parameter.
Definition on CATT function detail screens (e.g. REF, FUN)
1. Go to the CATT maintenance transaction function editor.
2. Position the cursor on the function for which you want to maintain detail information and choose Choose.
You go to the detail maintenance screen.
3. Choose the input field for which you want to define a parameter.
The parameter is created. If there was a default value in the import interface of a referred test module (REF function only), it becomes the default value.
Definition in test case maintenance screens
1. Go to the maintenance screen (e.g. editor).
2. Enter a twelve-character parameter name beginning with &.
3. Confirm your entry with
ENTER .4. Confirm the dialog box which appears.
5. You can choose the parameter type on the Maintain test module <test case name> import parameters dialog box. You can also define a default value or your own short text, depending on the type. You can specify a data element via which ABAP Dictionary documentation is read in.
Choose Continue after defining the parameters.
You have now defined a new parameter or variable.

If your parameter refers to a date field, you can handle it like a

If the data element documentation is not appropriate for the parameter, you can define your own short text. Double-click on the parameter. You go to the dialog box Maintain test module import parameter <test case name>. Choose User Short text and enter a short text for the parameter.