Format Entry Using Group Tab Page
On this tab page, you define the transfer format group of the XML document, the function to be executed, and data needed.
This tab page is only displayed if you select Transfer format group on the tab page. Thus, you do not determine which transfer format is to be used until runtime.
Select the transfer format group that contains the transfer formats in which the XML document is to be sent. The following transfer format groups are currently supported:
· Group Wf-XML (all versions)
The XML document can be sent in all supported versions of the transfer format Wf-XML.
· Group Wf-XML (from version 1.0)
The XML document can only be sent in Versions 1.0 and 1.1 of the transfer format Wf-XML.
For more information on the actual transfer formats, see Maintenance of the Tab Page Direct Format Entry.
Various functions are available to you depending on the transfer format group chosen and the type of address determination.
If you entered the transfer format group Wf-XML (all versions), then only the function Start workflow is available.
If the address is determined using a workflow proxy, then a workflow was already started in an external system by the workflow. The transfer format group is predefined using the workflow proxy and can only be Wf-XML (from Version 1.0). You can choose from the following functions that refer to the workflow that was already started.
· Change status of workflow
· Determine workflow data
If the address is determined in a different way, the function Start workflow is also only available for the transfer format group Wf-XML (from Version 1.0).
If you set this indicator, the relevant work item is only completed during execution if an XML response document is received. The necessary response URL is included in the XML document by the system. The XML response document must contain the operation ProcessInstanceStateChanged and set the process status to closed.completed or closed.abnormalCompleted for the workflow to be continued.
Data transfer can only be selected if Start workflow is selected as the function. You then define the interface of the Web activity here using container elements.

The interface of the Web activity is independent from the transfer format selected at runtime.
Their data is transferred at runtime by the XML document that is generated by the Web activity. You transfer the data from the workflow container to the container of the Web activity using a binding.
Choose
to define the necessary container
elements.

You must set the import indicator for all container elements whose content is to be sent with the XML document. You must set the export indicator for all container elements that are to be filled from an XML response document. Such an XML response document is only evaluated in this Web activity if the indicator Wait for feedback is set.
The Web activity has a reference workflow on the Control tab page whose container displays the interface of the Web activity. This reference workflow is automatically created by the workflow system and its container contains the container elements defined by you here.

If the XML document is sent to an SAP System and a Business Workflow is to be started there, the interface defined here must be identical to that of the workflow to be started. In particular, the same names must be used.
SAP recommends that you only use single-line parameters in the interface, which use the ABAP Dictionary or the object type XML_DOCas the data type reference.
Then
choose
to create a binding. The workflow system
automatically creates a binding from the workflow container to all import
elements of the interface and from all export elements of the interface to the
workflow container. If there are several container elements in the workflow
container that can be used in a binding row, this binding row is not
generated. If there is no suitable container element in the workflow
container, the workflow system creates a proposal for a new container
element.
All transfer formats of the selected group are listed and the data needed for the function control can be defined separately.
The function control can only be selected if Change workflow status or Determine workflow data has been chosen as the function. You must then define the necessary binding whereby the elements of the target container are predefined by the selected function.

In the function Change status of workflow, you must select the status that you want to transfer to the started workflow from a quantity of defined statuses. The status valid for the transfer format Wf-XML Version 1.0 and 1.1 can be accessed as attributes of the ABAP class CL_SWF_IFS_WEB_CONST_WFXML_1_0. You can define a container element with reference to this class and use the requested status in the binding.
Choose
to create the binding. If the workflow
container does not have a suitable container element to create a binding row,
the workflow system makes a proposal for a new container element. If there are
several container elements in the workflow container that can be used in a
binding row, this binding row is not generated.