Entering content frameProcedure documentation Editing Function Trees Locate the document in its SAP Library structure

Use

In the function Environments and Function trees you can process:

How you do this will be explained in this document. The processing of functions, that are used in the same transaction, is explained in Maintaining Functions.

The selected environment always serves as the basis for maintaining these objects.

You have the left and right screen area available. The left side shows the existing environments. You can expand the hierarchies and display the structure of the function trees, structure nodes and function references in these hierarchies Position the cursor on the object you want to edit.

The right side lists the details of the object chosen most recently (function tree, structure nodes or function reference) or all tab pages of the currently chosen function. Otherwise, use the right side to edit functions.

Note

If you want to maintain Function trees structure nodes and function references (for example change, delete and so on) – you must first copy the standard function tree SAP1: maintenance is only possible in copied function trees.

Procedure

General Requirements

Display filter

  1. In the Implementation Guide (IMG) of the Activity-Based Costing follow path Templates ® Maintaining Environments and Function Trees . Displayed on the left side are all the existing environments.
  2. Choose This graphic is explained in the accompanying text.
  3. If you want to further focus the display, choose Template application, Environment and/or Tree.

Example

If you enter SBP as the environment, the system displays only the function trees assigned to environment SBP. If you enter CPI in field Template-Application, the system displays only those trees of the environment that belong to the Template-Application Formula Planning Business Processes/Cost Center.

Displaying higher and lower level environments

  1. Position the cursor on an This graphic is explained in the accompanying text environment line.
  2. To display all higher level environments, choose This graphic is explained in the accompanying text .
  3. To display all lower level environments, choose This graphic is explained in the accompanying text .

Enlarging and reducing the screen area

  1. To change the size of the screen area, click on its respective vertical border.
  2. Hold the left mouse button down and drag to the left or the right.

Display object

To view objects that are subordinate to other objects, double click on its name: the system displays the contents of the objects in both screen areas.

Example

To display the structure nodes belonging to a function tree, double click on the function tree.

To display the function references belonging to a structure node, double click on the structure node.

Recommendation Copying with drag and drop

You can copy objects from the right to the left screen areas, or within the left screen area.

  1. Position the cursor on an object (This graphic is explained in the accompanying text Function tree, This graphic is explained in the accompanying text Structure node or This graphic is explained in the accompanying text Function reference).
  2. Hold down the left mouse button.
  3. Drag the cursor to the insert position.
  4. Release the mouse button.
  5. To save the function tree, choose This graphic is explained in the accompanying text.

Editing Function Trees

Creating function trees

  1. Position the cursor on the environment where you want to create a new function tree.
  2. Choose Function tree ® Create .
  3. In the dialog box Create function tree enter the name and description of the new function tree in row Tree. The chosen environment is displayed.
  4. In the dialog box, choose This graphic is explained in the accompanying text.
  5. To save the function tree, choose This graphic is explained in the accompanying text.

The new function tree is then displayed in both screen areas.

Building new function trees

While building new function tree, the system reconstructs its contents based on the environment with all subordinate environments and their functions.

  1. Position the cursor on a function tree.
  2. Choose Function tree ® Newly reconstruct .
  3. Enter the name and description of the new function tree or accept the default values in the dialog box Generate function tree. The chosen environment is displayed.
  4. In the dialog box, choose This graphic is explained in the accompanying text.
  5. To save the function tree, choose This graphic is explained in the accompanying text.

The function tree is now newly reconstructed. The original contents are also reconstructed; that is, it contains all subordinate environments (as structure nodes) and their functions (as function references) of the chosen environment as delivered in SAP1.

Note

Newly reconstructing using the right mouse button option: position the cursor on the function tree symbol; press the right mouse button and choose Build new unction tree. Here, you cannot change the name or description.

Copying function trees

Copy function trees to work with the contents of its SAP1. The SAP1 is standard, but cannot be changed. However, you can change the copied version. You can also copy your own function trees.

  1. Position the cursor on a function tree.
  2. Choose Function tree ® Copy.
  3. In the dialog box Copy function tree enter the name and description of the new function tree in row Tree. The chosen environment is displayed.
  4. In the dialog box, choose This graphic is explained in the accompanying text.
  5. To save the function tree, choose This graphic is explained in the accompanying text.

The copy of the function tree contains all structure nodes and function references of the original tree, and it can be changed as you wish.

Note

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

You can also copy with drag and drop.

Importing function trees

Use the import function to import a function tree from another client (for example, from an upgrade).

  1. Position the cursor on a function tree.
  2. Choose Function tree ® Import.
  3. In dialog box Import function tree, determine the tree to be imported.
  4. Enter the source client from which the tree is to be imported.
  5. In the dialog box, choose This graphic is explained in the accompanying text.
  6. To save the function tree, choose This graphic is explained in the accompanying text.

Activating/deactivating function trees

These settings are made by the user. The environment function tree SAP1 is always active, even when no flag is set.

  1. Position the cursor on a function tree. Note the small box in column This graphic is explained in the accompanying text Active: if the small box is marked, then the function tree is active; that is, it will be displayed in the template-maintenance. If it is not marked, the function tree is inactive.
  2. Choose Function tree ® (de)activate: an inactive tree has an unmarked box, and an active one has a marked box.
  3. To save the function tree, choose This graphic is explained in the accompanying text.

Note

You can also activate or inactivate the tree by using the right mouse button options.

Delete function tree

  1. Position the cursor on a function tree.
  2. Choose Function tree ® Delete.
  3. To save the deletion, choose This graphic is explained in the accompanying text.

Editing Structure Nodes

Creating structure nodes

  1. Position the cursor on a structure node of a function tree.
  2. Choose Edit ® Structure nodes ® Create
  3. In dialog box Create structure nodes, enter the names of the new structure nodes.
  4. Determine if the structure nodes should be inserted at the same level or at a lower level.
      1. If you choose Same level, the new structure node appears before the structure node you placed the cursor on.
      2. If you choose Lower level, the new structure node appears below the node you placed the cursor on.
  5. To save the entries, choose This graphic is explained in the accompanying text.

Copy structure nodes

  1. Position the cursor on a structure node of a function tree.
  2. Choose Maintain ® Structure nodes ® Copy
  3. In the dialog box Copying structure nodes, determine if the structure nodes should be inserted at the same level or at a lower level.
      1. If you choose Same level, the new structure node appears before the structure node you placed the cursor on.
      2. If you choose Lower level, the new structure node appears below the structure node you placed the cursor on.
  4. To save the entries, choose This graphic is explained in the accompanying text.

Note

You can also copy using the right mouse button options, or drag and drop.

Changing structure nodes

Here you can give a structure node another name.

  1. Position the cursor on a structure node of a function tree.
  2. Choose Maintain ® Structure nodes ® Change
  3. In dialog box Change structure node enter a new text for the structure node.
  4. In the dialog box, choose This graphic is explained in the accompanying text.
  5. To save the entries, choose This graphic is explained in the accompanying text.

Note

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

Deleting structure nodes

Here you delete structure nodes including the text.

  1. Position the cursor on a structure node of a function tree.
  2. Choose Maintain ® Structure nodes ® Delete
  3. To save the deletion, choose This graphic is explained in the accompanying text.

Note

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

Maintaining Function References

The function reference is the structure object that refers to a function. Use the function reference if you want to load a function and edit or display it on the right side of the screen (see Editing Functions).

Entering function references

  1. Position the cursor on a function tree or a structure node.
  2. Choose Edit ® Function reference ® Insert.
  3. In the List of available functions you can choose the function that the function reference should refer to.
  4. In the dialog box Create function reference, determine whether the reference should be inserted at the same level or at a lower level.
      1. If you choose Same level, (only affecting structure nodes) the new function reference appears before the structure node you placed the cursor on.
      2. If you choose Lower level, the new function reference appears below the structure node or function tree you placed the cursor on.
  5. To save the entries, choose This graphic is explained in the accompanying text.

Copying function references

  1. Position the cursor on a function reference.
  2. Choose Edit ® Function reference ® Copy.
  3. In dialog box Copy function reference, choose Same level, and the copy will be inserted before the function reference.
  4. To save the entries, choose This graphic is explained in the accompanying text.

Note

You can also copy using the right mouse button options, or drag and drop.

Changing function references

Here you change the reference to a function with another function.

  1. Position the cursor on a function reference.
  2. Choose Edit ® Function reference ® Change.
  3. In selection window List of available functions choose another function.
  4. To save the entries, choose This graphic is explained in the accompanying text.

The function reference is replaced and carries the description of the new function.

Note

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

Deleting function references

Deleting a function reference does not affect the function it refers to. They remain in function tree SAP1 of the respective environment.

  1. Position the cursor on the function reference to be deleted.
  2. Choose Maintain ® Function reference ® Delete
  3. To save the deletion, choose This graphic is explained in the accompanying text.

Note

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

Leaving content frame