Get Started
Deliverables / SAP Companion
This guide is for UAs who are creating SAP Companion projects to support BTP products and services. When you follow this guidance, you help us create a consistent in-app help experience for our customers.
SAP Companion is mandatory for all SAP BTP cloud applications. If your product or service includes an SAP application, then make sure to configure SAP Companion.
User Journeys for UAs
Here are some ways that you can use these guidelines:
- I want to create a new project. See Get Started>Plan the Development Effort and Plan the UA Effort.
- I want to find technical requirements for a project. See Get Started>Plan the Development Effort.
- I want to add static help content. See Static Help.
- I want to add a guided tour. See Guided Tours.
- I want to see the minimum requirements for BTP for SAP Companion content. See Static Help>Minimum Requirements for BTP.
- I want to find new features coming for SAP Companion. See Resources>Improvements.
- I want to find the tracking spreadsheet to see the progress of my project and other projects in BTP. See Resources>UA Community.
- I want to find the Teams channel for the BTP SAP Community. See Resources>UA Community.
Overview
SAP Companion is SAP's in-app help framework for user assistance in web-based applications. It provides access to embedded help content. We currently provide two forms of in-app help:
- Static Help: Descriptive explanations of specific screen elements directly in the application.
- Guided Tours: Step-by-step process assistance with useful instructions and information for each step.
When to Use SAP Companion
In-app help content should complement other forms of assistance, like UI text and SAP Help Portal content. Each type of assistance works together to provider users with a harmonious, contextual, and holistic user experience, with relevant information made available where appropriate.
Use SAP Companion if you want to give additional, context-specific information, such as:
- The meaning of a specific UI element
- A guided process with information for each step
- Best practices for the user
- Useful links
Don't use SAP Companion if the UI element is self-explanatory, such as:
- Save button
- Delete button
- Edit button
- Add to Favorites button
In-App Help and Built-In Support
If your UI has both Built-In Support and SAP Companion, you must make sure that both tools work together.
Keep these things in mind:
- Built-In Support has a headset icon in the UI shell bar. This embedded tool focuses on the product support experience and provides information on that process. Don't put help links and learning links inside the Built-In Support panel.
- In-App help has a question mark icon in the UI shell bar. This embedded tool focuses on providing help content directly in the UI from each relevant UI page.
Work with your development team to think about these things:
- The Built-In Support search feature pushes customers out to the SAP Help Portal. This conflicts with SAP Companion because the static help is available inside the UI.
- More guidance to come...
Plan the Development Effort
Before you start creating content for SAP Companion, you have to work with your development team to add the framework to your UI. Here are some helpful tips.
- Determine if your content is going to be part of a standalone project or part of a bigger SAP Companion project. Here's a list of the projects where many UAs are working together in one SAP Companion framework. Make sure you choose the latest version of that page to see the most up-to-date list.
- To help your development team estimate their effort, share this link with them. The email template inside this help topic is your first connection with the SAP Companion development team that supports you and your dev team during your project.
- Make sure you know the technical requirements! You'll go through this information with your development team.
- Give your development team the integration steps to follow.
Plan the UA Effort
There are a few resources that will help you get started.
- Look over the general SAP guidelines as defined in Working with SAP Companion Content.
- Use the checklist for creating content to help you get started.
- Use these best practices to find BTP-specific guidelines and help us provide a consistent in-app help experience.
- If you are writing SAP Companion content that appears inside the SAP BTP cockpit, then you are part of a bigger SAP Companion project. You need to complete these setup instructions so that your content is integrated properly.
- If you want to know more about SAP Companion tool onboarding, check out Welcome (cloud.sap). This is a nice overview from the SAP Companion team.
- If you want to see an overview of how to set up the project in the CCMS, refer to SAP Companion in Continuous Delivery.
Configuration Settings
Here's a list of configuration settings that should apply to your project. Keeping these consistent in our in-app help gives customers a better experience in BTP products and services.
Ask your development team to use these settings in the initialization script when first setting up SAP Companion. If they have any questions about this, they can reach out to the SAP Companion development team contact.
Stable IDs
Before assigning hotspots, align with your developers to provide stable IDs for each UI element where in-app help is needed. Creating stable IDs is a time-consuming process for development so make sure the hotspot aligns with recommendations on when to include SAP Companion.
Why do we need stable UI elements?
Essential SAP Companion features like Guided Tours and Hotspots require reliable recognition of UI elements. SAP Companion analyzes the UI elements and their attributes and recognizes UI elements that have the potential to be a hotspot. If UI elements and their attributes are unstable, hotspots can disappear, features like Guided Tours won't work, and help topics won't be displayed.
How to ensure stable IDs?
To make a UI element stable, a dedicated attribute must be added to it in the code. This attribute ensures recognition. The best practice is to add a unique attribute named to the element. This attribute is specifically used by the SAP Companion.
UI Elements that need to be stable are:
- Buttons
- Table headers
- Field labels
- Dropdown menus
Stable ID Indicators
Hotspots should be only assigned to stable elements. The indicator for a stable ID is shown during the hotspot assignment as Excellent. Indicators such as Good or Weak mean that the UI element is unstable.
The status indicator also shows language dependencies. Here's a reference for indicators.
See also:
Content Security Policy
If you use images, icons, or videos, check with your developers if they have a content security policy in place. If yes, your content is not displayed, and an exception rule is required for help.sap.com.
DITA Elements
Refer to the Infrastructure Guide section on Elements for SAP Companion.