|
| 1 | +--- |
| 2 | +author_name: Xavier Dupeyrat |
| 3 | +author_profile: https://github.com/xavierdupeyrat |
| 4 | +keywords: tutorial |
| 5 | +auto_validation: true |
| 6 | +time: 10 |
| 7 | +tags: [ tutorial>beginner, type>tutorial, software-product>sap-build, software-product>sap-build-process-automation] |
| 8 | +primary_tag: software-product>sap-cloud-alm |
| 9 | +parser: v2 |
| 10 | +--- |
| 11 | + |
| 12 | + |
| 13 | +# SAP Cloud ALM: Activate SAP Build Automation Process Monitoring |
| 14 | +<!-- description --> This tutorial describes how to activate SAP Build Automation Process Monitoring in SAP Cloud ALM. |
| 15 | + |
| 16 | + |
| 17 | +## You will learn |
| 18 | +- How to connect your SAP Build Process Automation tenant to your SAP Cloud ALM tenant. |
| 19 | +- How to activate the monitoring of your SAP Build Process Automation with SAP Cloud ALM. |
| 20 | + |
| 21 | + |
| 22 | +## Prerequisites |
| 23 | +- You need a user with the "Destination Administrator" authorizations in the SAP BTP sub-account in which SAP Build Process Automation is subscribed. |
| 24 | +- You need to obtain the SAP Cloud ALM Service Key to connect to the SAP Cloud ALM system. |
| 25 | +- An instance for SAP Cloud ALM API has been created. Find more information [here](https://support.sap.com/en/alm/sap-cloud-alm/operations/expert-portal/integration-monitoring/calm-connect.html). |
| 26 | +- You must have "Space Developer" access for the space in which the instance was created in your SAP Cloud ALM sub-account in the SAP Business Technology Platform. |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | +## Introduction |
| 31 | +**SAP Build Process Automation** |
| 32 | + |
| 33 | +SAP Build Process Automation enables everyone no matter the skill level to automate processes and tasks with drag-and-drop simplicity: https://community.sap.com/topics/process-automation. |
| 34 | + |
| 35 | +SAP Build Process Automation is a citizen developer solution to adapt, improve, and innovate business processes with no-code workflow management and robotic process automation capabilities. |
| 36 | + |
| 37 | +SAP Build Process Automation brings together in one platform a **workflow management** and a **robotic process automation** capabilities. |
| 38 | + |
| 39 | +**SAP Cloud ALM** |
| 40 | + |
| 41 | +SAP Cloud ALM helps you to **implement** and **operate** intelligent cloud and hybrid business solutions: https://support.sap.com/en/alm/sap-cloud-alm.html. |
| 42 | + |
| 43 | +You benefit from an out-of-the-box, native cloud solution, designed as the central entry point to manage your SAP landscape with content-driven guided implementation and highly automated operations. |
| 44 | + |
| 45 | +SAP Cloud ALM is included in your cloud subscription and in SAP Enterprise Support. |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | +### Obtain SAP Cloud ALM Service Key |
| 50 | + |
| 51 | +You need to obtain the SAP Cloud ALM Service Key to connect to the SAP Cloud ALM system. |
| 52 | + |
| 53 | +1. Log on to the **SAP BTP cockpit**. |
| 54 | +2. Click on your SAP Cloud ALM global account, then on your **SAP Cloud ALM sub-account**. |
| 55 | +3. In the navigation panel, choose **Services > Instances and Subscriptions**. |
| 56 | +4. Under **Instances** click on the relevant instance of the service SAP Cloud ALM API |
| 57 | +5. In the area that opens, choose **Service Keys**. |
| 58 | +6. You see your service key in JSON format. The key includes the `application URL` (**endpoints.Api**), `token URL` (**uaa.url**), `client ID`, and `client secret`. |
| 59 | + |
| 60 | + |
| 61 | +Check the [support portal](https://support.sap.com/en/alm/sap-cloud-alm/operations/expert-portal/integration-monitoring/calm-connect.html) for more information |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | +### Create Destination in BTP Cockpit |
| 66 | +To enable SAP Build Process Automation to send monitoring data to SAP Cloud ALM, you need to create a BTP destination to your SAP Cloud ALM tenant in the SAP BTP sub-account in which SAP Build Process Automation is subscribed. |
| 67 | + |
| 68 | +The SAP BTP Destination should be named: **sap_process_automation_cloud_alm**. |
| 69 | + |
| 70 | +1. Log on to SAP BTP Cockpit and navigate to the sub-account for your SAP Build Process Automation. |
| 71 | +Go to **Connectivity > Destinations**. |
| 72 | +2. Click on **New Destination**. |
| 73 | + - Name: Enter a name for the destination as `sap_process_automation_cloud_alm`, |
| 74 | + - Type: `HTTP`, |
| 75 | + - URL: SAP Cloud ALM service key parameter `endpoints.Api` without api (make sure to keep the / at the end), |
| 76 | + - Authentication: Select `OAuth2ClientCredentials`, |
| 77 | + - Client ID: SAP Cloud ALM service key parameter `clientid`, |
| 78 | + - Client Secret: SAP Cloud ALM service key parameter `clientsecret` |
| 79 | + - Token Service URL: SAP Cloud ALM service key parameter `uaa.url` url + `/oauth/token`. |
| 80 | +3. **Save** the destination. |
| 81 | +  |
| 82 | + |
| 83 | +Check the [support portal](https://support.sap.com/en/alm/sap-cloud-alm/operations/expert-portal/setup-managed-services/setup-spa.html) for more information on how to set SAP Build Process Automation monitoring in SAP Cloud ALM. |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | +### Activate Monitoring Use-Cases |
| 88 | +1. Connect to the SAP Build Process Automation lobby. |
| 89 | +2. Navigate to the **Setting** tab |
| 90 | +3. Goto **Backend Configuration** and select **SAP Cloud ALM**: |
| 91 | + |
| 92 | +  |
| 93 | +4. Register your SAP Build Process Automation service into your SAP Cloud ALM: |
| 94 | + - Enter a **service name** and a **service description** |
| 95 | +  |
| 96 | + - Click **Register** |
| 97 | +5. Activate the data collection for the following use-cases: |
| 98 | + - Jobs Monitoring |
| 99 | + - Health Monitoring |
| 100 | +6. **Save** the configuration. |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | +### Adjust Monitoring in SAP Cloud ALM |
| 105 | +After setting up the monitoring data push to SAP Cloud ALM in your SAP Build Process Automation service, the data collection for the use-cases will be activated automatically with the default monitoring configurations. |
| 106 | + |
| 107 | +You can adjust the monitoring setup within the monitoring application: |
| 108 | +- Jobs Monitoring, |
| 109 | +- Health Monitoring. |
| 110 | + |
| 111 | +Find more information on the configuration on the **Setup & Configuration** pages for each application. |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | +### Check Results in SAP Cloud ALM |
| 116 | +The `Jobs and Automation Monitoring` application reports the jobs activities of your SAP Build Process Automation tenant. |
| 117 | + |
| 118 | +  |
| 119 | + |
| 120 | +The **details view** gives you access to the status of single `jobs` triggered by your workflows instances. |
| 121 | + |
| 122 | +  |
| 123 | + |
| 124 | +Finally, each single `jobs instances` can also be controlled with the possibility to trigger alerts. |
| 125 | + |
| 126 | +  |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | +In the next tutorial, we will create a SAP Cloud ALM subscription for SAP Build Process Automation. |
| 132 | + |
| 133 | + |
0 commit comments