Technology Blog Posts by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
abhishekmodi
Product and Topic Expert
Product and Topic Expert
3,216

This blog aims to:

  • Show how easy it is to create a working prototype using Joule AI
  • Create MVP in minutes using Joule AI
  • Explore the generated code
  • Explore some simple use cases

The GitHub links for source code are provided as well to study the code as it is generated by the AI assistant. If any of the below areas sound like a real use case then the project created is a great way to kickstart the dev activity. Again - we want to explore how much of code can be generated right away from the prompt that can serve as working MVP (Minimum Viable Product) as well. 

Let's get started.

Open SAP Build Code - BAS and Press Win+Shift+P or Cmd+Shift+P to access the command pallet -> New Project from Template. Click on the tile - Full-Stack Project.

Screenshot 2024-04-23 at 2.08.01 PM.png

In the subsequent screens, fill the values for project specific details and click on Finish button. Once the template project loads completely, click on the Joule icon to launch the contexts on right hand side panel. Choose SAP Fiori UI -> Create an SAP Fiori Application Directly from your Business Requirements and click on Open Joule button. Follow the below prompts for specific use cases.

1. Use Case - Office Library App

Goal

To maintain the list of all books, journals and magazines within a small office library.

Prompt

"Create an app to maintain list of all books in office library with entities books and authors, where each book is linked to its author."

Output

We can see some famous books have been automatically added as mock data by Joule AI. It has author as separate entity as well, hence there is an association created automatically. 

Here is the source code on git for reference.

Screenshot 2024-04-25 at 7.43.27 PM.pngScreenshot 2024-04-25 at 7.43.43 PM.png

2. Use Case - Incident Tracking App

Goal

To facilitate an app for customers to report incidents for technical issues

Prompt

"Create an app where customers can report incidents. Each incident includes replacement items, and each replacement is linked to a product, which has its own entity"

Output

The mock data generated in this case resembles very closely to real life incidents. This is again a great example of hierarchical data where the AI assistant has created automatically along with relevant association. 

Here is the source code on git for reference. 

Screenshot 2024-04-25 at 7.53.28 PM.pngScreenshot 2024-04-25 at 7.53.42 PM.png

3. Use Case - Payment Tracker App

To provide an app for external users - outside to organization to track their payments against their own invoice numbers (external invoice numbers)

Prompt

"Create an app to track the list of external invoices and payments made against them. Each invoice can have several line items which is linked to a product, which has its own entity."

Output

This is meant to be used by external users such as freight vendors who can login to system to check the status of their invoices. Since this is autogenerated MVP code, it won't be actually connected to the system to pull the statuses however it is a great code to start with. 

Here is the source code on git for reference.

Screenshot 2024-04-25 at 8.04.34 PM.pngScreenshot 2024-04-25 at 8.10.56 PM.png

4. Use Case - Employee Feedback App 

Goal

To create an app for the employees to log complaints and suggestions. 

Prompt

"Create an app to register complaints and suggestions from employee for an office floor"

Output

Here is the source code on git for reference.

Screenshot 2024-04-25 at 8.20.04 PM.pngScreenshot 2024-04-25 at 8.20.23 PM.png

5. Use Case - Survey App

Goal

To survey for a cafeteria in office to get an opinion on overall quality of service.

Prompt

"Create an app to survey the quality of food in office cafeteria. The survey should include questions about quality, serving size, staff friendliness, weight time and overall experience."

Output

Check out the generated source code here.

Screenshot 2024-04-25 at 12.37.43 PM.png

Screenshot 2024-04-25 at 12.37.26 PM.png

Conclusion

Joule AI can help kickstart the MVP creating entities, associations, screens and mock data based on the context or user story provided. It may not provide the full end to end solution and the idea is not to provide full solution to a given use case since the definition varies a lot but to aid the developer to speed up the development activity.

SAP Build Code Joule Artificial Intelligence 

 

 

 

1 Comment