Guided Procedures in Focused Run provide an easy way to document and optionally automate reoccurring operational activities as guided procedures. These guided procedures help the user to execute reoccurring administrative activities or alert reaction procedures in a guided and reproducible way. In addition, it is possible to automate the activities inside guided procedures and to execute them automatically without or with minimal manual involvement.
Guided procedures help to reduce TCO and improve IT operations quality through:
A guided procedure consists of one or several steps. Each step has one or multiple activities. The following different activity types are supported:
The result of a guided procedure execution can be exported into a HTML result report and sent via e mail.
Guided Procedures for Advanced System Management allow you to define and automate regular administrative tasks.
One example for this is the System Health Check for ABAP Systems. It performs several health checks on ABAP systems and sends out a result report with all findings to interested parties. It can be executed manually or scheduled to execute automatically at regular intervals.
The System Health Check for ABAP Systems covers ABAP availability, performance, exceptions and host checks. It can be executed as is or easily customized and enhanced by other activities which are available in the guided procedure plug-in repository. For example, you could add HANA database checks or include measured system availability and outages from Service Availability Management into the health check.
The guided procedure catalog for Advanced System Management is the central entry point to create, edit and run guided procedures. You can execute guided procedures either manually or plan them for automatic background execution. The catalog shows the guided procedures available for Advanced System Management. You have the following options:
You can customize the content of the guided procedure per your needs. For example, you could add HANA database checks or include measured system availability and outages from Service Availability Management. For some plug-ins, you can change their behavior, for example, if they should check for the last day instead of last three days or that the result should be displayed as a bar chart instead of a table.
The following describes how to create and adapt a customer specific guided procedure based on the example of the System Health Check for ABAP Systems. The description is applicable for other Guided Procedures as well.
Note: (This section is valid as of FRUN 1.0 FP03. For FRUN 1.0 FP02, refer to the description below.
Guided procedures with automatic activities such as System Health Check for ABAP Systems can be executed automatically in regular intervals. After the execution, a result report is sent out to defined receivers.
To plan the automatic execution of a guided procedure in the background, proceed as follows:
In Background Schedule (Expert) mode you can additionally define the following data:
SAP delivers the CL_CUSTOM_EMAIL_BODY customization class that overwrites the e-mail body with a preview of the guided procedure activities and their status. Using this customization class, you can see the status of the different activities directly in the e-mail and need to open the attached result report only if you are interested in the details. With ABAP knowledge you can also create your own customization class. It needs to inherit from the CL_GPA_PLAN_CUSTOMIZATION class. You need to redefine the GET_EMAIL method if the guided procedure e-mail with the result reports attached must contain special html content like graphics, tables or logos. You need to redefine the GET_RECIPIENTS_FOR_SCOPE method if you have advanced needs to determine the right recipients for guided procedure reports for specific systems.
FRUN 1.0 FP02: How to schedule the system health check guided procedure(s) automatically in the background
Note: The following is only valid for FRUN 1.0 FP02. For FRUN1.0 FP03 or higher, refer to the description above.
Guided procedures with automatic activities such as Regular System Health Check for ABAP Systems can be executed automatically in regular intervals. After the execution, a result report is sent out to defined receivers.
To achieve the automatic execution of guided procedure in the background, you must define a variant for the the PR_GPA_EXEC_PLANNER ABAP report and schedule this report with the variant in regular intervals.
Call transaction SE38, enter the PR_GPA_EXEC_PLANNER report then click Execute.
Fill the parameters as follows:
Save the variant.
Execute the report online with the Simulation mode flag checked. It will provide an overview of how many systems the health check will be processed and how many child jobs will be scheduled.
Make sure that the Simulation Mode flag is disabled in the report variant that is used by the batch job.
Call transaction SM36. Create a new job with the PR_GPA_EXEC_PLANNER report and the previously created variant. The job should run under the FRN_BTC_GPA user. Schedule the job with the required periodicity.
Press the Display Execution Logs button to get an overview of the past executions of the selected guided procedure.
By default, it shows the guided procedure instances that were executed in the last week for the selected system scope and the selected guided procedure.
You have the following options:
Guided procedure reporting provides an overview of how many guided procedures have been executed for the selected systems in the selected time frame, their statuses and log messages.
By default, it shows the guided procedure instances that were executed in the last week for the selected system scope.
You have the following options: