Start of Content Area

Function documentation Fork  Locate the document in its SAP Library structure

Use

You use a fork (This graphic is explained in the accompanying text) when you want to continue a process in branches that are independent of each other, for example, to communicate with two systems that are independent of each other. The branches of the fork join in a union operator.

You can specify the required number of branches and then define whether the process must run through all branches, or just a particular number of branches. Furthermore, you can define an end condition for the fork (see also: Condition Editor).

As soon as a branch reaches the union operator at runtime, the system checks the following conditions in the specified order:

·        The process has run through the required number of branches

·        The specified end condition has returned true

The step is complete as soon as one of the conditions returns true.

Example

For examples of how to use a fork, see:

Example: Multiple Start Process Receive Steps

Example: Serialization – Defining the Send Sequence

Example: Collecting and Bundling Messages from Multiple Interfaces

 

 

 

End of Content Area