This is Part 3 of a 4-part hands-on workshop series on building AI-powered conversational skills using SAP Joule Studio.
In this module, you'll use Joule Studio to create and deploy a Joule skill that consumes services from SAP S/4HANA Cloud. This is where the magic happens - you'll build an intelligent conversational skill that can interact with users and backend systems.
30 minutes
Joule Studio is SAP's AI-powered development environment for creating conversational AI skills. It provides an intuitive interface for building intelligent applications that can understand natural language and interact with backend systems.
Integration Focus: In this module, you'll build a skill that integrates with the SAP S/4HANA Cloud Public Edition Sales Order (A2X) OData V4 API to provide intelligent conversational access to sales order data. Official API reference: CE_SALESORDER_0001
1. Open the SAP Build Lobby.
2. Choose Create.
3. Select the Joule Skill tile, then choose Next.
4. Enter name Sales Order Assistant and description Supply Sales Order Info., then choose Review.
5. On the following screen choose Create.
6. Enter name showGeneralInfo and description a skill to show the general header info of a given sales order., then choose Create.
Tip: The description is important because Joule will use it to identify the correct skill to select during a conversation.
7. Choose Trigger to open the side panel.
8. Choose Parameters, then choose Configure beside Skill Inputs.
9. Click Add Input, enter:
SalesOrderNoSales Order Number10. Choose Design Console. You should see errors (this is normal at this stage).
11. Choose the + between Trigger and End.
12. Choose Call Action.
13. Choose Browse All Actions.
14. Select the action Get entity from SalesOrder by key and then choose Add.
15. Choose Select a Destination, then choose + Create a Destination Variable.
16. Enter S4HANA_CLOUD_SALES_ORDER and a description, then choose Create.
17. Choose Inputs, then choose the SalesOrder field to open the Skill Content pane.
18. Choose SalesOrderNo from the skill inputs.
19. Choose the + between the first action and End.
20. Choose Send Message.
21. Choose Open Message Editor.
22. Configure the General Info message card:
Sales Order: [click to choose SalesOrder in the Data Mapping][click to choose Sold-to Party in the Data Mapping]This order was created by [click to choose Created By in the Data Mapping].sap-icon://sales-order23. Add an Action Button:
Explore More[Sales order management page link in your S4/HANA system]sap-icon://detail-view24. Add an Edit Section with title General Info and attributes by clicking to choose values in the Data Mapping:
25. Choose Save to persist your message changes.
26. Choose Release.
27. Choose Release in the popup.
30. Make sure the Sales Order Assistant project is on the status of editable, click Create, then Joule Skill.
31. Enter name ShowDetailedInfo and description A skill to show the detailed items info of a given sales order., then choose Create.
32. Choose Parameters, then choose Configure beside Skill Inputs.
33. Click Add Input, enter:
SalesOrderNoSales Order Number34. Choose the + between Trigger and End, then choose Call Action.
35. Choose Browse All Actions.
36. Select the action Get entities from related _Item, then choose Add.
37. Choose Select a Destination, then select the existing destination variable S4HANA_CLOUD_SALES_ORDER.
38. Choose Inputs, then choose the SalesOrder field to open the Skill Content pane. In the Skill Content panel, select SalesOrderNo to map it.
39. Choose the + before End, select Send Message, then Open Message Editor.
40. Configure the Detailed Info message:
Sales Order ItemsDetailed item(s) are shown below:sap-icon://menu41. Configure List Items by clicking to choose values in the Data Mapping:
sap-icon://productMaterial Info:42. Choose Save.
43. Choose your environment and then click Deploy.
44. Select the S4HANA_CLOUD destination and click Deploy.
45. Choose your environment, then choose Joule.
46. Choose Launch.
47. Enter Please get me the details for sales order 485511 and choose Send.
In the final part, you'll learn how to integrate business processes and workflows into your skills, enabling end-to-end automation with email notifications.
Continue to Part 4: Process Integration
Part 3 of 4 | Joule Studio Workshop Series
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 44 | |
| 19 | |
| 16 | |
| 9 | |
| 8 | |
| 7 | |
| 7 | |
| 7 | |
| 6 | |
| 6 |