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:

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):

Edit TCD manually

If the transaction uses Controls, the test case created cannot run because the Controls data flows to the SAPGUI cannot be input manually. You should use the recording functionality whenever possible.

Create TCD

  1. 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.

Edit TCD

  1. Choose Edit ® Choose (or double-click on the line). The transaction screen sequence input detail screen appears.
  2. Enter the program name in the Program field, and the screen number in the Screen field (see Get system data).

Note that all screens must be entered in the test procedure in the order in which they are called by the transaction.

  1. Enter the values and parameters required for the input fields for each screen:
  2. 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).

  3. Go back to the function editor by choosing Back twice, and save the test case.