Generating a Web Transaction 

Prerequisites

You have defined and saved the task that is to be started or executed with the Web form.

Procedure

To generate a Web transaction from the task:

  1. Choose Goto ® Web transaction in the task definition.

You cannot generate a Web transaction from a task,

The following dialog box is then displayed: Web Transaction for Task...: Change.

  1. Choose Generate.
  2. The system then creates a transaction including a module pool and screens.

  3. Save your module pool in the development class that you entered in the Customizing activity for maintaining the namespace. You have also already saved the task in this development class.
  4. Specify a change request.
  5. The system activities (generating screens and module pool) are indicated by texts in the status line.

  6. Confirm the messages.
  7. The dialog box appears again. The name of the new transaction now appears on the screen.
  8. Click Continue to exit this dialog box.

Result

A Web transaction with a module pool and four screens has now been created in the system. The various screens in this transaction are used to execute a single-step task and start a task.

If you change the task container after you have generated the Web transaction, you must delete the transaction in the Web Transaction for Task...: Change screen and regenerate it for the changes to take effect.

If you call the new transaction partly in the R/3 System, you will start a task.

A screen is then displayed in which you can select the import parameters for the task container.

The task is now started and a work item is generated. The number of this work item is displayed on the next screen.