This blog is the fifth and final part of this series of blogs: link to
Introduction
Objective
Enrich
SAP Cloud ALM content with AI content. A requirement description is improved using AI (
SAP AI Cores) while it is synchronized between 2
SAP Cloud ALM tenant (
SAP Integration Suite).
All integration scenarios of
SAP Cloud ALM are based on the public APIs listed in the
SAP Business Accelerator Hub.
An integration example
A customer project manager approved a requirement using a form received in his inbox (Part 4:
Approve Requirements with Workflow Engine (SAP Build Process Automation)). The requirement status has been updated on the
SAP Cloud ALM customer tenant. To keep the 2
SAP Cloud ALM tenants synchronized, this change triggers a subscription in
SAP Cloud ALM External API Management which calls
SAP Integration Suite to update the requirement on the
SAP Cloud ALM partner tenant. During the same message processing,
SAP Integration Suite calls
SAP AI Core to enrich the requirement description.
The involved components
- Enrich SAP Cloud ALM content with AI content:
- SAP Integration Suite
- SAP AI Core
- SAP Cloud ALM
SAP Integration Suite
SAP Integration Suite is an integration platform-as-a-service (iPaaS) that helps you quickly integrate on-premise and cloud-based processes, services, applications, events, and data. Accelerate innovation, automate more processes, and realize a faster time to value.
Further details in this
solution brief.
SAP AI Core
SAP AI Core is a service in the
SAP Business Technology Platform that is designed to handle the execution and operations of your AI assets in a standardised, scalable, and hyperscaler-agnostic way. It provides seamless integration with your SAP solutions. Any AI function can be easily realized using open-source frameworks.
SAP AI Core supports full lifecycle management of AI scenarios.
Further details in this
community.
Procedure Overview
- Configure an SAP BTP destination to enable connectivity to the SAP Integration Suite.
- Configure an SAP Cloud ALM web-hook to enable communication between SAP Cloud ALM tenant and SAP Integration Suite.
- Add a SAP Cloud ALM subscription to associate SAP Integration Suite with the task event types raised by SAP Cloud ALM customer tenant.
- Configure your SAP Cloud ALM Project to associate SAP Cloud ALM subscriptions to the requirement task types.
- Create and configure a complex integration scenario in SAP Integration Suite 2 manage 2 payloads: incoming call from SAP CALM customer tenant, call to SAP AI Core and combine them.
Configure SAP BTP destination
In
SAP BTP Cockpit create a destination to the
SAP Integration Suite to enable the connectivity.
Configure SAP Cloud ALM Web-hook
In the
SAP Cloud ALM External API Management application, create a web-hook for your destination with the following parameters:
- External resource type: Task.
- Destination type: Enter Other.
Check the
help.sap.portal for more information.
Add a SAP Cloud ALM subscription
Create a subscription based on your web-hook with the following parameters:
- Resource type: CALM Task to use this subscription for events raised for resources managed by the project and task applications.
- Type: External to send payload without transformation.
Check the
help.sap.portal for more information.
Configure your SAP Cloud ALM project
In the
Subscriptions panel of the SAP Cloud ALM Project Management application (partner tenant), associate the subscription to the selected task types.
In this example, tasks events will be sent for
Requirements. Other tasks types events (D
efects,
Projects,
User Story and
Roadmap Tasks) are ignored.
All changes events for the selected tasks types (Creation, Update and Deletion) will be managed by the associated subscriptions.
Check the
help.sap.portal for more information.
Create and configure an complex integration scenario in SAP Integration Suite
The goal of this blog is not to give you a step by step guide on how to create integration scenario with
SAP Integration Suite or how to use
SAP AI Core. To get further details, you can follow this
learning page for SAP AI Core and this
one for SAP Integration Suite.
The goal of this blog is to highlight the integration capabilities with
SAP Cloud ALM.
This is the integration process flow.
SAP integration Suite receives a payload with the updated requirement, transform the payload to call
SAP AI Core to enrich the requirement description and mixed the payloads to send it to the
SAP Cloud ALM partner tenant.
In this step, the task ID, title, and the payload are stored in variables for later usage.
Then the message body is overwritten with this one which contains the parameters to call
SAP AI Core.
The request is sent to
SAP AI Core.
The AI generated description stored in a variable.
The original payload is loaded.
The Integration Suite message mapping capability is used to map the approval state of the in-going payload to out-going payload and to update the description with the one generated by SAP AI Core. The payload is ready.
Finally, the
SAP Cloud ALM task API of the partner tenant is called with the enriched payload.
Final words
Hope you like this journey about extensions and innovations with
SAP BTP and
SAP Cloud ALM.
SAP BTP provides several components which can be used for ALM scenarios:
SAP Build, SAP Integration Suite...
SAP Cloud ALM APIs are keys for these integrations.
The end to end scenario
Thanks for reading.
SAP Cloud ALM API & Integration blogs: