Maintaining Functions 

Maintain functions in the Implementation Guide (IMG) of the Activity-Based Function under Templates ® Maintaining environments and function trees. It is the same transaction in which you Maintain function trees.

If you want to edit or create functions, it is useful to create a special function tree for this purpose. By doing this you retain an overview of your work.

Display functions

  1. Position the cursor on a function reference .
  2. Choose Edit ® Function ® Display.
  3. The tab index of the function-transaction appear on the right screen area.
  4. To see in which templates the function is used, choose (screen area to the right).
  5. To switch to the change mode, choose .
  6. To close and leave the screen area, choose .

Displaying using the right mouse button option: position the cursor on the function symbol ; right mouse click and choose Display function.

You can also display the function by double clicking on the function reference.

Creating functions

Create a function, and generate the corresponding function reference at the same time.

  1. Choose .
  2. In the selection window Maintaining Environments and function trees, enter the Template application, for the function you want to create.
  3. All environments and sub-environments that exist within the chosen template application are listed in the screen area to the left.
  4. Position the cursor on a Function tree, Structure node or Function reference. From the function tree, you can create the function reference only at a subordinate level. From the structure nodes, you can create a function at the same level or lower. From the function reference, you can create a function only at the same level.
  5. Choose Edit ® Function ® Create
  6. In dialog box Creating functions, enter a description for the new function.
  7. Choose Same level or Lower level.
  8. The tab index of the function transaction appear on the right screen area.
  9. Make your entries using the tab index.
  10. To save the entries, choose .

For more information on the entries necessary for tab indexes, see:

Functions - Basic Data and Language

Realization of the Function

Function Parameters

Function Use

Additional Function Trees.

Example: Creating Functions

Copying functions

  1. Position the cursor on a function reference .
  2. Choose Edit ® Function ® Copy.
  3. In dialog box Copying functions, enter a description for the new function in row Function.
  4. Choose Same level.
  5. The tab index of the function transaction appear on the right screen area.
  6. Make your entries using the tab index.
  7. To save the entries, choose .

Copying using the right mouse button option: position the cursor on the function symbol ; right mouse click and choose Copy function.

Changing functions

  1. Position the cursor on a function reference .
  2. Choose Edit ® Function ® Change
  3. The tab index of the function transaction appear on the right screen area.
  4. Make your entries using the tab index.
  5. To save the entries, choose .

You can make changes by using the right mouse button option.

Deleting functions

  1. Position the cursor on a function reference .
  2. Choose Edit ® Function ® Delete
  3. Answer the following system query with Yes.
  4. To save the entries, choose .

The function is then completely deleted, along with the SAP1 function trees for the environments containing this function.

You can also delete by using the right mouse button option.

Displaying function documentation

  1. Position the cursor on a function reference .
  2. Choose Goto ® Function docu.
  3. You can leave the document display by using Back.

You can also display the function documentation by using the right mouse button option.