Entering content frameFunction documentation Maintenance of the Tab Page Format Entry Using Group Locate the document in its SAP Library structure

Use

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.

Features

Transfer format group

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:

The XML document can be sent in all supported versions of the transfer format Wf-XML.

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.

Function

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.

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).

Wait for feedback

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

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.

Note

The interface of the Web activity is independent from the runtime of the transfer format selected.

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 This graphic is explained in the accompanying text to define the necessary container elements.

Caution

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.

Note

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_DOC as data type reference.

Then choose This graphic is explained in the accompanying text 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 makes a proposal for a new container element.

Function control for the transfer formats that belong to the group

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.

Note

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 This graphic is explained in the accompanying text 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.

Leaving content frame