Maintenance of Tab Page Call 

Use

With the specifications you make on this tab page, you define:

Activities

Process the following settings:

Reference workflow

Specify a workflow whose interface is in accordance with the interface of the workflow to be called. For all parameters of the interface, a container element with the same name is created in the workflow container if none exists as yet. The system defines the binding required automatically.

If the XML document is sent to an SAP System and a Business Workflow is to be started there, the interface of the reference workflow must be identical to that of the workflow to be started. In particular, the same names must be used.

You should only use single-line parameters in the interface, which use the ABAP Dictionary or the object type XML_DOC as data type reference.

Step name

Give the step a name. This name is used to label the step within your workflow.

Transfer format

Select the transfer format in which the XML document is to be sent. The following transfer formats are currently supported:

The system creates an XML document in accordance with the transfer format Wf-XML of the Workflow Management Coalition. All import parameters of the interface are transferred into this XML document. For further information on creating a Wf-XML document, refer to Creation of a Wf-XML Document.

You should only use this transfer format if the interface only contains one import parameter with the data type reference to the object type XML_DOC . If the interface contains an export parameter with the data type reference to the object type XML_DOC and the http reply contains an XML document, the XML document is written into the export parameter.

Address (URL)

Enter the address to which the XML document is to be sent in the form of a URL. You can also enter an expression that contains a URL.

If the XML document is sent to an SAP System and a Business Workflow is to be started there, you can use the wizard to define the URL. To do this, select . The URL has the following structure:

http://<webserver>/scripts/wgate/wf_handler/!?~protocol=<protocol>&~localkey=<localkey>

In <protocol> you specify the transfer format used in the form of a two-digit number. In <localkey> you specify the ID of the Business Workflow to be started.

When the other SAP System is called, a logon is performed using a predefined user name. This user must be a possible agent of the Business Workflow to be started.

You want to start workflow WS00000000 and use transfer format 01 . The SAP System on which the workflow is to be started has Web server WEBSERVER01 . The entry required in Address (URL) is:

http://webserver01/scripts/wgate/wf_handler/!?~protocol=01&~localkey=WS00000000

Wait for feedback

If you set this indicator, the associated work item is not completed during execution until a reply is received in the form of an XML document. If you chose transfer format 01 , the system's required reply URL is included into the XML document. The XML reply document must contain the operation ProcessInstanceStateChanged and set the process status to closed.completed or closed.abnormalCompleted for the workflow to be continued.

Only set this indicator when using transfer format 01 .