Show TOC

 Maintaining Functions

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

Note Note

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.

End of the note.

Display functions

  1. Position the cursor on a function reference .

  2. Choose Start of the navigation path Edit Next navigation step Function Next navigation step Display. End of the navigation path

  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 .

Note Note

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.

End of the note.

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 Start of the navigation path Edit Next navigation step Function Next navigation step Create End of the navigation path

  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 .

Note Note

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

End of the note.

Copying functions

  1. Position the cursor on a function reference .

  2. Choose Start of the navigation path Edit Next navigation step Function Next navigation step Copy Next navigation step . End of the navigation path

  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 .

Note Note

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

End of the note.

Changing functions

  1. Position the cursor on a function reference .

  2. Choose Start of the navigation path Edit Next navigation step Function Next navigation step Change End of the navigation path

  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 .

Note Note

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

End of the note.

Deleting functions

  1. Position the cursor on a function reference .

  2. Choose Start of the navigation path Edit Next navigation step Function Next navigation step Delete End of the navigation path

  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.

Note Note

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

End of the note.

Displaying function documentation

  1. Position the cursor on a function reference .

  2. Choose Start of the navigation path Goto Next navigation step Function docu. End of the navigation path

  3. You can leave the document display by using Back .

Note Note

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

End of the note.