Entering content frameProcedure documentation Defining a Workflow/Task to Be Started with a SAPforms Form Locate the document in its SAP Library structure

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.

Note

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.

  1. To create a workflow, Start the Workflow Builder. To create a task that is to be started as a single step task, Create a Standard Task and define the basic data.
  2. Save the workflow or the task in the package that you have also used for the Namespace maintenance.
  3. Extend the container definition

    Now extend the container to include the elements that are to be filled using the SAPforms form.

  4. If you create a task, choose This graphic is explained in the accompanying text Container to call the container editor. If you create a workflow, open Workflow Container in the Workflow Builder.
  5. The container already contains system elements of the Workflow- or of the Task Container as standard.

  6. Create a suitable container element for all of the fields you want to fill in the SAPforms form. Define these elements as import elements. For more information, see Creating Container Element.
  7. 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.

    Note

    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

  8. Declare the possible agents that are allowed to start the workflow or the task by filling out and submitting the SAPforms form.
  9. Complete the workflow definition or task definition.
Leaving content frame