
Defining a Workflow/Task to Be Started with a SAPforms Form
Prerequisites
You are familiar with the procedure for
Defining a Task or Defining a Workflow.Procedure
You want to define the task or the workflow that is to be started by the SAPforms form.

In addition to the standard definition, you must also expand the container definition with the elements that are entered in your SAPforms form, and that are to be processed in the workflow.
Extend the container definition
Now extend the container to include the elements that are to be filled using the SAPforms form.
The container already contains system elements of the
Workflow- or of the Task Container as standard.You can only transfer single values (not object references) from the SAPforms 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 ABAP Dictionary.

Since you cannot use elements that reference objects or structures or multiple line elements, you may need to make extensive changes to the container.
Further Procedure