Activating Exception Handling

Context

You can react in a controlled way to exceptions that can occur when destination systems are called by configuring exception handling, to avoid terminating the process of the multiple call destination system and to continue working with defined values for the destination system output variables.

Procedure

  1. In the Sequence of Destination System Calls table, you select the Exception Handling indicator in one or multiple steps.

    PCo displays the Exception Handling for Module dialog box.

  2. Configure the exception conditions in the same way as for exception handling for enhanced notification processing. You can assign values to the destination system output variables that the variables are to take if an exception occurs. (See: Exception Handling.)
  3. If you have activated exception handling in one step, two additional variables of the category exception handling variable appear in the variable assignments list for this step:
    • After the destination system call, the variable !Exception! contains the information as to whether an exception has occurred.

    • The variable !ExceptionMessage! contains the exception text.

    You can assign multiple call destination system variables to both these variables and thereby respond to the exceptions that have occurred in a branching condition, for example.