In Monitoring and Error Handling
, in the Log Messages view, you are able to create, edit, and delete custom hints, for example, you write a procedure on how to correct a common error. You can also create, edit, and delete custom functions, for example, for calling a transaction for a selected message.
Business users maintain custom hints and functions in Monitoring and Error Handling
.
System administrators can change existing custom hints and functions but not create new ones in Define Custom Functions
(transaction code /AIF/CUST_FUNC) and Define Custom Hints
(transaction code /AIF/CUST_HINTS). They can also access these from the SAP Easy Access menu by choosing :
Define Custom Functions
Define Custom Hints
The activities for system administrators are described separately in the relevant section below.
In Monitoring and Error Handling
, the custom hints and functions you create are displayed with an icon in the corresponding Hints
and Functions
columns for messages in the Log Messages view.
When you select an existing custom function, the action is executed. If you have entered values for parameters for the action when you created the custom function, the values are filled in the transaction or the report. You could also pass the values of the message variables to the transaction or the report.
If you select a message and choose to create a custom hint or custom function, the information of the selected message is displayed on the screen.
SAP GUI
Select a message, choose Maintain
, and then choose either of the following:
Custom Hints
You can enter a text and a tooltip text for your hint in the language of your choice.
Custom Functions
Choose Create Custom Function
.
Note
If you have already created a hint or custom function for the selected message, a popup is displayed and you can choose to create, edit, or delete a message.
Web-based UI
Select a message and choose
.To create a custom function, you can select from the following actions:
SAP GUI
Transaction
Reports
URL
You can test the action you choose.
Example
You choose to create a custom function with an action that calls the transaction to display flight bookings that has the name BC_GLOBAL_SCUST_DISP. Choose Test Action
, which in this case navigates you to the transaction to display flight customers.
Web-based UI
Transactions
URL
The parameters for the selected transaction or report are automatically imported. Use the Values
and the Value from Message Variable
(select from 4 message variables) fields of the table, to enter values for the parameters.
To specify the action attributes, you can enter a short text and a tooltip for the action in the language of your choice. You can select an icon, which is displayed for your custom function in the Functions
columns for messages in the Log Messages view.
You can also select to open an action that is a transaction or a report in a new session and you can decide whether or not the first screen is to be skipped.
If you select a URL as an action, the URL is opened in the standard browser.
You can determine for whom the custom hints and functions are displayed, for example, you can determine that a custom hint is only visible for a list of users. You can also determine whether a custom hint or function is displayed for one or for all interfaces and for a selection of messages or all messages.
In the Define Custom Functions
and Define Custom Hints
Customizing activities, there are Visibility
and Scope
fields, which you can use as follows:
Visibility
You can determine for whom the created custom hint or custom function is displayed as follows:
Just for current user
For list of users
You can define users and recipients for visibility under Define Custom Functions
in activities Assign Users
and Assign Recipients
.
For all
Scope
For the created custom hint or custom function, you can determine whether it is displayed for one or for all interfaces and for a selection of messages or all messages in the following combinations:
Visible for selected messages in this interface
Visible for all messages in this interface
Visible for selected messages in all interfaces
Visible for all messages in all interfaces