Attaching Callable Objects

Use

By defining the basic parameters of an action, you create an inactive object that does not yet implement any specific logic. To make the action functional, you must attach at least one callable object to it. The system calls and executes the callable object when the action starts at process runtime.

Procedure

  1. In the gallery, select the action and choose Open….

    The action's design time opens.

  2. To switch to edit mode, choose (Edit).
  3. Make sure that you have selected the action, and choose one of the following entries from the Item dropdown box:
    1. Callable Object for Execution

      You must attach a callable object for execution. It can be either a callable object with a visible part, such as a Web Dynpro or BSP callable object, or one for background execution.

    2. Alternative Callable Object for Execution

      If the first callable object is for background execution or for a composite form, you can add an alternative callable object for execution. The requirements for this object are as follows:

      • It must have a visible part - you can use a Web Dynpro callable object, for example.
      • It must define exactly the same result states as the first callable object for execution - that is, their technical names must match.
      • The output parameters of the two execution callable objects must be the same. In addition, you must consolidate them manually at the action level.

      At runtime, the action processor can access and complete the action in GP runtime using this callable object if the action is not completed in the background due to an error, for example. This prevents a deadlock in the process flow, as the execution continues even if the first callable object cannot be executed.

    3. Callable Object for Display

      Optionally, you can attach a callable object for display. It is required to have a visible part - for example, you cannot select a callable object for background execution.

      At runtime, this object is displayed if the processor wants to open the process step after it has been completed, or if a process contributor has view permissions on the action. For more information, see Granting View Permissions .

  4. To insert an existing callable object, choose (Insert), and browse the gallery to select one.
  5. To create a new callable object, choose (Create New), and follow the relevant procedure described in Creating Callable Objects .
  6. Choose (Save).

Result

You have implemented a functional action.

Before you can activate it, you can also consolidate its parameters.

More information: Consolidating Parameters