Technology Blog Posts by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
anam_abbas
Product and Topic Expert
Product and Topic Expert
1,006

Disclaimer: This blog is created to showcase the Joule Skills feature in SAP and is intended for demonstration purposes only. The content is not meant for productive use.

This use case demonstrates the creation and deployment of Joule Skills in SAP Build to manage Maintenance Orders in SAP S/4HANA. By leveraging APIs from the SAP Business Accelerator Hub, the solution enables users to create, update, and retrieve maintenance orders through natural language interactions in Joule. The setup involves configuring input parameters, mapping them to action calls, and formatting responses, all while securely connecting the SAP BTP environment to the on-premise SAP S/4HANA system via Cloud Connector. This provides a seamless, conversational interface for maintenance order management, highlighting the capabilities of Joule Skills for process automation and intelligent interaction.

Prerequisite

  1. Establish a secure tunnel between the SAP BTP subaccount and the on-premise SAP S/4HANA system in Cloud connector. This allows the Joule skill to communicate with backend services (such as the Maintenance Order APIs) hosted in the on-premise system.
  2. After configuring the Cloud Connector to establish connectivity between the SAP BTP environment and the on-premise SAP S/4HANA system, the next step is to create a destination in the BTP subaccount.
    This destination acts as a connection point that allows applications (such as Joule skills or process automation projects) to call on-premise APIs securely through the Cloud Connector.

anam_abbas_0-1759841985188.png

anam_abbas_0-1759842734244.png

anam_abbas_1-1759842734249.png

Begin by creating a custom action and selecting the required API from the SAP Business Accelerator Hub. This API will be integrated into the Joule Skill to enable Maintenance Order Management through action calls. Once the action is created, choose the available operations. For this demonstration, the Maintenance Order – POST, UPDATE, and PATCH methods are used to perform create, update, and retrieve functions. After adding these actions, test each one using the test feature and select the destination configured in the BTP cockpit.

anam_abbas_0-1759842065388.png

anam_abbas_0-1759842184737.png

anam_abbas_2-1759842913503.png

anam_abbas_2-1759842216849.png

 

In SAP Build Lobby, create a Joule Skills project and provide a suitable description for the skill. For example:

anam_abbas_3-1759842216853.png

Create individual Joule skills for Maintenance Order – POST/UPDATE and PATCH operations.

anam_abbas_4-1759842216860.png

Create Maintenance Orders

Set up the input parameters for this Joule Skill, which will be used in the prompt during the demo of maintenance order creation from Joule. Next, create a destination variable to ensure the destination is correctly mapped upon project deployment. Map all necessary values from the input parameters to the respective inputs of the action call used for creating a maintenance order. Finally, proceed to the last step to format the response in Joule using the ‘Send Message’ option.

anam_abbas_5-1759842340609.png

anam_abbas_3-1759843144314.png

anam_abbas_8-1759842340629.png

anam_abbas_9-1759842340634.png

Get Maintenance Order – Joule Skill

anam_abbas_10-1759842340637.png

anam_abbas_4-1759843323854.png

anam_abbas_5-1759843405581.png

anam_abbas_6-1759843421221.png

Change Maintenance Order – Joule Skill (Same as above)

After this release and deploy the project in the environment.Once deployed the version is reflected and launch the Joule

anam_abbas_19-1759842340686.png

So by deploying the created joule skills we now have this feature by using natural language.

In conclusion, this demonstration highlights how Joule Skills in SAP Build can simplify Maintenance Order Management by enabling intuitive, natural language interactions with SAP S/4HANA. Through seamless integration using the Cloud Connector and APIs from the SAP Business Accelerator Hub, business users can efficiently create, update, and retrieve maintenance orders without navigating complex interfaces.

Demo Link

1 Comment