
Generating a Web Transaction
Prerequisites
You have defined and saved the workflow or the task that is to be executed with the Web form.
Procedure
The generation of the web transaction is only possible from the definition environment of a task. If you want to create a web transaction for a workflow, you have to open the task definition of the relevant multistep task.
The following dialog box is then displayed: Web Transaction for Task...: Generate/Assign. If a web transaction has already been generated for this task, all web transaction data is displayed. To update the web transaction, you must first delete the existing web transaction.

Do not make any entries in the Transaction code field.
The system then creates a transaction including a module pool and screens. All parts of the web transaction created are saved in the package, in which the task is also saved. After the web transaction is completely created, the Web Transaction for Task ...: dialog box is displayed again. Generate/Assign. All data of the web transaction created is displayed here.
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 work item and start a workflow or a task. For more information, see
Generating Web Transactions.
If you change the 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.
To test the web transaction, you can call it directly in the SAP System. Proceed as follows:
A screen is then displayed in which you can select the import parameters for the container.
The workflow or the task is started and a work item is generated. The number of the generated work item is displayed on the Confirm Form screen.