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: 
JonathanWieder
Associate
Associate
345

My name is Jonathan Wieder, I am a dual student at SAP SE studying Business Informatics at DHBW Mannheim. During my practical phase in the product management for Enterprise Asset Management – supervised by Raik Kulinna, I worked on a project that aimed to optimize internal product management processes at SAP through the integration of generative AI — and I’m excited to share the outcome with you.

In this blog post, I will take you through the development of a macOS-based prototype that enables product managers to automate text-based tasks — such as rewriting, translating, summarizing, and generating user stories — using Apple Shortcuts and SAP Business AI. The goal was to embed generative AI seamlessly into the daily workflow of product managers while ensuring SAP’s high compliance standards for AI usage.

rewrite2.gif

 

Motivation

At SAP, product managers work in a dynamic international environment, balancing tasks such as defining user stories, developing personas, and tailoring communication for diverse stakeholders. While generative AI holds significant promise for accelerating these activities, strict internal data and compliance policies prohibit the use of external AI tools.

To address this challenge, SAP AI Launchpad turned out to be the ideal solution. It offers secure, OAuth2-authenticated access to internal large language models (LLMs), including OpenAI’s GPT-4o, ensuring compliance with internal data protection standards. The solution had to be fast, seamlessly integrable into macOS workflows, and fully compliant with SAP’s internal security requirements—making SAP AI Launchpad the best fit for the job.

 

ComponentTechnology
InterfaceApple Shortcuts (macOS context menu)
AuthenticationOAuth2 Client Credentials Flow
AI EngineSAP AI Launchpad with e.g. GPT-4o
Script LayerJavaScript for Automation (Apple JXA)
Tested Use CasesRewrite, Translate, Summarize, Persona & User Story Generation

 

Core Capabilities: What Can the Shortcut Do?

Each functionality is triggered via macOS context menu on selected text:

  •   ✍️ Rewrite in Professional Tone: Choose between Internal, Business, or Customer-facing voice.
  •   🌍 Translate Text: Translate text into English, German, or configure other languages.
  •   Grammar Correction: Proofread for spelling and grammar.
  •   🧑‍💼 Generate Personas: Use bullet points to create structured personas.
  •   📋 Create User Stories: Transform bullet points into user stories for agile product management.
  •   🧠 Smart Summary: Summarize long text into 3–5 concise sentences.
  •   🧪 Custom Prompt: Enter your own instruction to experiment with the AI.

proof-read2.gif

 

Each request is authenticated via OAuth2 and sent to the SAP AI Launchpad via HTTP POST, with responses returned and optionally inserted back into the original app context.

 

Code Example: Calling SAP AI Launchpad API via JavaScript and CURL

var aiRequestBody = {
  "model": "gpt-4o",
  "messages": [{ "role": "user", "content": prompt }]
};
var aiCommand = `
  curl -s -X POST \\
    -H "Content-Type: application/json" \\
    -H "Authorization: Bearer ${accessToken}" \\
    -d '${JSON.stringify(aiRequestBody)}' \\
    '${aiUrl}'
`;
var aiResponse = app.doShellScript(aiCommand);

 

Deep Integration into Apple macOS

The AI shortcut can be accessed via the context menu. This menu is By right-clicking on a text, the context menu opens, where all shortcuts within the service submenu are displayed. Apple provides a native way to handle menu input and pass text between steps.

Example Workflow:

  1. Right-click → “SAP Text Assistant”
  2. Choose action (e.g. “Translate”)
  3. Paste or confirm input text
  4. View AI response and insert result

The distribution of shortcuts is also simple:  via sharing of a link or through an exported file.

Results & Evaluation

The prototype was validated against seven user stories defined via a Value Proposition Canvas. All functional requirements were fully met. The solution:

  • Is deeply embedded into existing macOS workflows
  • Uses compliant internal AI based on SAP business AI
  • Enables real-time text assistance
  • Is modular and expandable for future needs

vpc_ai_text_assistant_engl.png 

 

Summary

This project demonstrates how product managers at SAP can benefit from embedded generative AI without leaving their tools or violating AI policies. Using Apple Shortcuts and SAP AI Launchpad, a lightweight yet powerful assistant can support everyday work from writing user stories to translating documentation.