Defining a Task to be Started with a Web Form 
Prerequisites
You are familiar with the procedure for defining tasks.
You want to define the task (single or multistep task) that is to be started by the Web form.

The part of the task definition that is relevant to forms essentially entails extending the container definition to include the elements that are to appear as fields on your form.
Procedure
Defining a Task

Only workflow templates (task type
WS ) and standard tasks (task type TS ) can be used with Web forms.Then choose Task
® Create.Extending the Container Definition
Now extend the container of your task to include the elements that are to be filled via the form.
You can only transfer single values (not object references) from the form. If you want to add container elements for this purpose, therefore, you must always create them as single-line elements with a data type reference to a table field in the dictionary.
When generating the HTML template in the SAP@WebStudio the container element name is also used as the name of the input field. It is therefore recommended that you choose "meaningful" names (although the HTML templates can of course be processed at any time).

Note that when later changes are made to the name of container elements, the web transaction must be regenerated.
Further Procedure
Complete the task definition: