Previous Topic: Creating Wrappers to Reuse Business Logic

Next Topic: Selecting Function Name and Type

Selecting Action Diagram Statements

You can select the action diagram statements from a User Point or from the Notepad.

From a User Point

  1. While editing the action diagram of a function, press F5 to view the User Exit Points.
  2. Enter W next to the User Point that contains all the statements you want to place in another function by using a wrapper.

    Selecting Action Diagram Statements

  3. Go to the section Selecting Function Name and Type.

 

From the Notepad

In some cases, it may not be desirable or necessary to use a wrapper on an entire User Point. The User Point may contain statements that you do not want in the new function. Or perhaps the final function needs additional statements that are not required in the original function.

You can edit User Point action diagram statements, place the whole User Point in a wrapper, and then exit the function without saving to preserve the original User Point. An easier and more flexible approach, however, is using the Action Diagram Editor Notepad.

Note: Because EXCEXTFUN and EXCINTFUN have no User Points, use Notepad to place statements from these types of functions in a wrapper.

Use the Notepad commands N, NA, NAA, NI, NR, and NRR to put the required statements into the Notepad.

  1. Press F18 to view the *Notepad.
  2. Press F5 to select all the statements in the Notepad.

    Selecting Action Diagram Statements (2)