Show TOC

Procedure documentationCreating a Function Call Expression

Procedure

  1. Open the application in the Object Manager panel.

  2. Under the Detail section, choose the Contained Objects tab.

    The Contained Objects tab page opens.

  3. Choose Expression from the Type field and choose Create Object.

  4. In the Object Creation dialog box that appears, choose Function Call from the Type field.

  5. Enter the following data:

    • Name

    • (Optional) Short Text

    • (Optional) Text

  6. Choose Create and navigate to object.

    Note Note

    If you choose Create button, the function call expression appears under the Contained Objects tab.

    End of the note.
  7. Assign result data object.

    You can assign a standard data object, an existing data object or create a new data object.

    • Select a Standard Type

      1. Choose Graphical Access (Graphical Access).

      2. In the context menu, choose Default Objects and choose the data object type.

    • Select an Existing Data Object

      1. Choose Graphical Access (Graphical Access).

      2. In the context menu, choose Start of the navigation path Select... End of the navigation path

      3. In the Object Query dialog box that appears, select the data object.

    • Create a New Data Object

      1. Choose Graphical Access (Graphical Access).

      2. In the context menu, choose Create....

      3. In the Object Creation dialog box that appears, create the data object.

        For more information, see Creating Data Objects

  8. Assign target function to the expression.

    You can select a standard type, create a new function or use an existing function as the target function.

    • Select a Standard Type

      1. Choose Graphical Access (Graphical Access).

      2. In the context menu, choose Default Objects and select the standard type.

    • Create a New Function

      1. Choose Graphical Access (Graphical Access).

      2. In the context menu, choose Create...

      3. In the Object Creation dialog box that appears, create the function.

        For more information, see Creating a Function

      4. Assign top expression to the function.

        For more information, see Assigning Top Expression

      5. Assign context and result to the function.

        For more information, see Assigning Context and Result

    • Select an Existing Function

      1. Choose Graphical Access (Graphical Access).

      2. In the context menu, choose Select....

      3. In the Object Query dialog box that appears, select the function.

        The context data object of the target function appears under the Target Function Context Data Object in the Mapping section.

  9. Map the context objects between the source expression and the target function.

    You can choose a data object or an expression.

    • Select a Standard Type

      1. Choose Graphical Access (Graphical Access).

      2. In the context menu, choose Default Objects and select the standard type.

    • Choose an Existing Data Object

      1. Choose Graphical Access (Graphical Access) under the Source Context Data Object/Expression column.

      2. In the context menu, choose Other Context Parameter....

      3. In the Context Query dialog box that appears, select the data object.

        The context data object appears under Target Function Context Data Object in the Mapping section.

    • Choose an Existing Expression

      1. Choose Graphical Access (Graphical Access).

      2. In the context menu, choose Expressions....

      3. In the Object Query dialog box that appears, select the expression.

        The context expression appears under Target Function Context Data Object in the Mapping section.

    • Create a New Expression

      1. Choose Graphical Access (Graphical Access).

      2. In the context menu, choose Create Expression....

      3. In the Object Creation dialog box that appears, create the expression.

        For more information, see Creating Expressions

  10. Activate the expression.

  11. Save the expression.