
Defining and Generating a Binding: Workflow
Prerequisites
You have created a form with Microsoft Visual Basic.
You have either defined a task to be executed as a SAPforms form and copied this task to your workflow definition or have defined a workflow or task that is to be started by a SAPforms form. You have maintained the plug-ins for the interface and the communication method.
You have started the SAPforms Designer. The form controls are shown in the table displayed in the bottom screen area. The container definition of the workflow or the output is displayed in the top screen area.
Procedure
Defining and Generating a Binding
You must now assign the individual elements of the container structure to the fields in the current SAPforms form. This assignment is stored as part of the SAPforms form and is evaluated at runtime to transfer data from the form to the SAP System.
All container elements are displayed.
You can release the binding by selecting the required row in the table and choosing Binding
The General tab of the SAPforms Options dialog box is displayed.

This is only recommended the first time you generate your SAPforms form and if the SAPforms form does not already have the corresponding buttons. Otherwise, you receive an error when compiling the SAPforms form because the declarations and event procedures are contained twice in the source text. You must remove the duplicate source code from the SAPform form by hand.
Result
The creation of the SAPforms form is now complete. You can now start it in Microsoft Visual Basic by choosing Run or compile it in an
EXE file.
The procedure is the same if you are using the stand-alone version of the SAPforms Designer.

If you want to process a work item with the SAPforms form using the
SAPformsSubmit1.SAPform.Init Me, Command