Visual SAP with plantUML #6 Use Case Diagrams

A Use Case Diagram shows:

  • Actors (people or systems)

  • Use cases (what they do)

  • Connections between them

It’s a high-level functional map of responsibilities — perfect for explaining who triggers what and what’s available to whom.


📌 When to Use Use Case Diagrams

Use CaseWhy It Helps
Explaining user rolesShows clearly who can do what
Fiori app access planningMaps apps to business users
BTP / UI5 app scopeVisualizes functions & actors
Business process overviewBridges business and IT
Security / Authorization designStarting point for role concept

🧩 Use Case Diagram Notation (PlantUML)

ElementSyntaxMeaning
Actoractor "User"A role (person or system)
Use caseusecase "Do Something"A task or function
ConnectionUser --> "Do Something"Actor is involved in the use case
Groupingpackage or rectangleLogical grouping of use cases
Aliasusecase "Create Order" as UC1Optional short names for layout

✅ Example: Sales Process Roles

pl
CopyEdit
@startuml
title Use Case Diagram — Sales Roles and Functions

actor "Sales Rep"
actor "Warehouse Clerk"
actor "Customer (External)" as Customer

usecase "Create Sales Order"
usecase "View Order Status"
usecase "Post Goods Issue"
usecase "Check Stock Availability"

"Sales Rep" --> "Create Sales Order"
"Sales Rep" --> "Check Stock Availability"
"Warehouse Clerk" --> "Post Goods Issue"
Customer --> "View Order Status"

@enduml

💡 You now clearly see:

  • Who does what

  • Which use cases are internal vs external

  • No deep logic, just role-to-action mapping


🔧 Another Example: Fiori App Scope

plantuml
CopyEdit
@startuml
title Use Case Diagram — Fiori App Access

actor "Purchasing Agent"
actor "Finance Clerk"

usecase "Manage Purchase Orders"
usecase "Display Supplier Info"
usecase "Approve Invoice"

"Purchasing Agent" --> "Manage Purchase Orders"
"Purchasing Agent" --> "Display Supplier Info"
"Finance Clerk" --> "Approve Invoice"

@enduml

This can feed directly into Fiori catalog design or role concepts.


🧠 Pro Tips

✅ Always define actors by role, not names

✅ Keep use case names functional: "Approve Invoice", not "ZFIAPP01"

✅ Use to align early with business stakeholders

✅ Great for kickoff, access planning, functional documentation


✅ Summary

Use case diagrams help you answer the core question:

Who does what?

Use them to:

  • Explain roles

  • Show system boundaries

  • Align business and technical stakeholders

  • Start from function before diving into process


Next up:

👉 Visual SAP #7 — C4 Model for SAP: Explain Architecture Without Overthinking

We’ll introduce the C4 model (Context + Container) and how to use it to explain your SAP system architecture in clear layers.

0
Subscribe to my newsletter

Read articles from Dzmitryi Kharlanau directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Dzmitryi Kharlanau
Dzmitryi Kharlanau

SAP Logistics Consultant with 10+ years of experience in SAP SD, SAP MM, SAP LE, and SAP IS-Automotive. Skilled in SAP system support, integration, and process improvements. Achievements ✔️ Delivered custom logistics solutions, overseeing the entire process from concept to go-live. ✔️ Achieved SLA compliance in JIT environments, managing tasks from requirements to release independently. ✔️ Resolved complex issues swiftly, minimizing downtime and optimizing efficiency. Interests: Motivated to work with 🔧 S/4HANA SD, MM, BTP, and ABAP, taking responsibility for end-to-end solutions.