SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Automating SAP HANA Cloud Tasks with the SAP Automation Pilot Service

Learn how to use the SAP Automation Pilot service to execute administrative tasks for an SAP HANA Cloud instance.

Overview

🎓 intermediate 20 min. SAP HANA CloudIntermediateSAP HANA Cloud SAP HANA DatabaseSAP HANA Cloud Data LakeSAP Automation Pilot

You will learn

  • โœ”About the catalogs provided in SAP Automation Pilot relating to SAP HANA Cloud
  • โœ”How to import a catalog containing examples of automation commands
  • โœ”How to edit inputs and run the commands from the imported catalog
Unknown U Unknown July 30, 2024
Created by September 23, 2023
Contributors

Prerequisites

Prerequisites

  • An SAP BTP account
  • An SAP HANA Cloud instance

Steps

Step 1 Learn about the SAP Automation Pilot
โ€”

The SAP Automation Pilot is a service within the SAP BTP that can be used to schedule and automate tasks.

Subscribe to the service
Subscribe to the service

Once subscribed to the service, the tool can be opened by clicking on the application link.

subscribed to the service
subscribed to the service

It provides a visual tool for constructing commands.

Example command
Example command

The SAP Automation Pilot provides the following catalogs to aid in managing an SAP HANA Cloud instance:

  • sm-sapcp contains commands to perform tasks within a BTP subaccount.

    sm-sapcp catalog
    sm-sapcp catalog

  • dblm-sapcp contains commands to start, stop, or upgrade an SAP HANA Cloud instance provisioned in Cloud Foundry.

    dblm-sapcp catalog
    dblm-sapcp catalog

  • cf-sapcp contains commands to perform tasks within Cloud Foundry.

    cf-sapcp catalog
    cf-sapcp catalog

  • sql-sapcp contains a command to execute SQL commands.

    sql-sapcp catalog
    sql-sapcp catalog

    SQL commands can also be executed in a Python application running in the SAP Automation Pilot. For additional details, see Execute SQL Commands and Create Custom Notifications with SAP Automation Pilot and SAP Alert Notification Service.

  • http-sapcp contains commands to execute HTTP requests such as REST calls to retrieve metrics or alerts about SAP HANA Cloud instances. Details of the REST APIs relevant to SAP HANA Cloud instances can be seen at the Business Accelerator Hub.

    http-sapcp catalog
    http-sapcp catalog

In addition, SAP Automation Pilot provides an option to schedule commands and provides integration with the SAP Alert Notification service which is used to send an email or create an incident in various ticketing systems. If you do not already have the SAP Automation Pilot configured, step 1 of the tutorial Take Action Following a SAP HANA Cloud Database Alert with SAP Automation Pilot and the tutorial Get Started with SAP Automation Pilot demonstrate how to get started.

Step 2 Import the automation catalog
+
Step 3 Execute commands for instances provisioned to the subaccount
+
Step 4 Execute commands for instances provisioned to Cloud Foundry
+
Step 5 Knowledge check
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 5
1. Learn about the SAP Automation Pilot 2. Import the automation catalog 3. Execute commands for instances provisioned to the subaccount 4. Execute commands for instances provisioned to Cloud Foundry 5. Knowledge check

Learn more →