TCD – test transactions 
You put transactions in the test case with the function TCD. You maintain the required input values for the input fields of all screens in the transaction which is to be tested, in a detail maintenance screen.
Generate TCD from recording
You can generate a TCD statement in two ways with the recording function:
Create new test case.
Place the cursor on the line where a TCD statement is to be inserted and choose Edit ® Insert TCD when you are editing an existing test case in the function editor. Proceed as described in
Record test case, except for step 1.
Other settings
You can also make the following settings in the TCD function detail screen (double-click on the TCD function in the function editor):
- You can enter the number of an error message which can occur in this transaction without causing the transaction to be flagged as failed in the log, in the Allowed message field.
- You can choose the processing mode for this transaction in the Processing mode field. If you make an entry (except ‘ ‘), this TCD statement always runs in this processing mode.
Insert TCD manually
Enter TCD in the Funct. field and the transaction code in the Object field. Confirm your entries. The transaction text is displayed in the Text column.
Choose Edit
®
Choose (or double-click on the line). You go to the transaction screen sequence input detail screen.
Enter the
program name in the Program field, and the
screen number in the Screen field.

All screens must be entered in the test procedure, in the order in which they are called by the transaction.
- Enter the values and parameters required for the input fields for each screen:
Position the cursor on a screen and choose either Edit
®
Choose (see
Field value input via screens) or Edit
®
Field list (see
Field value input via field list).Go back to the function editor by choosing Back twice, and save the test module.