Show TOC Start of Content Area

Procedure documentation Including a Workflow as a Process in a Process Chain  Locate the document in its SAP Library structure

Prerequisites

In the system, in which the workflow is executed, you have carried out automatic workflow customizing (transaction SWU3).

The system in which the workflow is to be executed has Basis release 4.0B or higher and BW Service API 3.0B as a minimum.

If you want to end the workflow with a more complicated status (with multi-value end options), the system in which the workflow is executed must have a release level from SAP NetWeaver 7.0.

Requests Sent to the Workflow to Be Executed

A model workflow has been delivered to display requests sent to the workflow. The workflow model is : WS43200002 (ropc_verify2).

The most important task that the workflow must contain is dispatching the end notification to the process chain. This task was also delivered as standard task TS43200003. Note how the container element “&CALLINGCHAIN&” (business object “ROPE_WF”) is bound to the work item ID.

In the delivered example, another user decision was inserted to represent the Miscellaneous Tasks of the workflow.

Procedure

You are in the plan view of the process chain, in which you want to include an workflow as a process.

The workflow process type is available in the General Services process category.

...

       1.      Insert the process into the process chain with Drag&Drop.

       2.      In the next dialog box, select a process variant and confirm your entry.

a.       To create a new process variant, choose This graphic is explained in the accompanying text Create.

b.       In the resulting dialog boxes, enter the technical name and a description of the process variant and choose This graphic is explained in the accompanying text Next.

The maintenance of process variants for a workflow appears.

c.       Choose the destination in which the workflow is to be executed.

Note

In the destination into the remote system, use the usual background user, so that the assigned profile S_BI_WX_RFC has the authorizations necessary for executing and monitoring a workflow. Note: However, this destination is also used for dialog logons, for example, for workflow monitoring.

If you do not specify the destination, the specified workflow is executed in the system directly.

d.       Choose the workflow to be executed (also called model workflow, or multi-step task).

e.       You can also create and change a workflow with the This graphic is explained in the accompanying textChange function.

f.         If required, choose a destination in the remote system with which the workflow can call the process chain back.

g.       If required, specify the end option which is to be transferred to the process chain. The relevant event is triggered, based on the options entered here.

If you do not specify an option, the process ends successfully without an option.

For more information about setting end-options for a process, see Maintenance of Process Types.

h.       Save your entries and go back.

i.         In the resulting dialog box, confirm the insertion of the process variant into your process chain.

Result

You have inserted a workflow as a process into a process chain. After including any additional process variants into your chain, check the chain and then activate it.

 

End of Content Area