Creating Web Form Tasks
Prerequisites
You need a Web Form Task to insert an activity in a workflow that can be executed in the Web Workplace.
The following parts of the task definition characterize a Web form task:
-
Extending the container definition to include the elements that are to be processed as fields on your form.
-
Use of the object method HTMLProcess of the object type FORM.
Procedure
Define Web Form Tasks
-
Choose .
-
Choose the type TS for standard task in the Task type field.
-
Choose
. -
Define the basic data of your task.
-
Enter FORM as the object type and HTMLProcess as the object method.
Extend the container definition
All of the data that is to be displayed to the form user or changed must exist as container elements in the task container.
-
Choose
to call the container editor. -
The container already contains the standard system elements. To add elements to the container, choose
.You can only transfer and display single values (not object references) using a Web form. If you want to add container elements for this purpose, therefore, you must always create them with a data type reference to a table field in the ABAP Dictionary.
-
Set the following indicators for every container element that is to be used on the web form:
-
If the contents are to be displayed on the form, set the Import indicator.
-
If the contents are to be entered for the first time on the form, set the Export indicator.
-
If the contents are to be displayed and changed on the form, set both the Import and Export indicators.
-
Further Procedure
Complete the task definition:
-
Declare the Possible Agents of the task.
-
Save the task definition.

