Start of Content Area

Function documentationSwitch  Locate the document in its SAP Library structure

Use

You use a switch (This graphic is explained in the accompanying text) to define different processing branches for a process. The Otherwise processing branch is created automatically.

You define a condition for each processing branch (see also: Condition Editor). The condition is checked at runtime. The process is continued in the branch that is first to return the value true. If no branch returns the value true, then the process is continued in the Otherwise branch.

The system checks the conditions in the order that they are numbered. This corresponds to the following sequence:

·        Vertical layout: From top to bottom

·        Horizontal layout: From left to right

 

 

 

End of Content Area