
Starting Workflows with SAPforms Forms
Use
An SAPforms form that is available locally on the PC or from a server is executed by an employee and sent to the SAP System.
The
task or workflow whose ID was specified when the SAPform form was defined, is then started in the SAP System. The corresponding import elements of the container for this task or workflow are then supplied with input data from the SAPforms form.Prerequisites
Extend Container
The workflow and/or task container must be extended to include those elements that are to be filled using the SAPforms form. These elements must be defined as elements with a field reference. At present, object references cannot be filled using a form.
Create a Form and Process it with the SAPforms Designer
After you have
created the SAPforms form, you must prepare it for communication with the SAP System. This is the task of the SAPforms Designer.Features
Starting workflows or tasks
The SAPforms form is sent to the SAP System after it has been started and filled with data.
If the task is a workflow of the workflow container, it is filled with the values from the form. These values are transferred to the task container of a task using a binding, with which a suitable object can be created. A binding from the task container to the method container is also necessary within the task.

Information for a leave application can be submitted using a form. An activity is then executed in the started workflow which executes the
When starting a task as a single-step task, the data is transferred directly to the task container. There must be a binding to the method container so the method used in the task receives the data for processing.
Data Transfer to the SAP System
Data can be transferred to the SAP System either synchronously or asynchronously. This is defined with the SAPforms form.

Data Transfer by RFC (Synchronous Communication)
The following steps are processed after the SAPforms form has been executed:
This type of data transfer should be selected whenever a network connection can be set up from the user’s PC to provide online access to the SAP System using RFC. SAPGUI for Windows does not need to be installed on the PC in question.
Data Transfer by Internet Mail (Asynchronous Communication)
The following steps are processed after the SAPforms form has been executed:

Each of the users involved must maintain the automatic forwarding function correctly, otherwise this check will not be successful. The significance of the automatic forwarding function will be explained with other prerequisites in
In mail systems with offline capability (for example Microsoft Exchange), the mails are always transferred as soon as the user establishes a connection to the mail server. You can, therefore, submit your form even if your PC is currently not connected to the Mail Server.
Exception Handling
If an exception should occur in one of the steps described above, the person who processed the form is notified using RFC or mail. The two most common exceptions are: