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 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:

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:

Image
1
8.89; 71.44
Question mark icon in the shell bar that opens the in-app help
2
4.44; 87.44
Formerly called "carousel". Contains tabs for Help Topics, Guided Tours, Learning, and What's New.
3
48.63; 19.81
Connected to the tile; a question mark that indicates which UI element is going to be explained
4
56.21; 37.69
Text that opens when you select either a tile in the help panel or if you select a hotspot
5
53.86; 69.81
Line that connects a bubble to its tile
6
51.24; 81.81
The part in the help panel that provides a short explanation for the hotspot. Has a one-to-one mapping with a CMS topic

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.

Image
1
23.38; 26.94
UI text
2
56.41; 37.81
In-app help
3
19.88; 94.92
Link to SAP Help Portal
<div> <div></div> <div>(1) UI Text</div> <div>(2) In-App Help (SAP Companion)</div> <div>(3) SAP Help Portal</div> </div> <div> <div></div> <div>Necessary information in the UI.</div> <div>Supplemental information that can be activated in the UI.</div> <div>Holistic information available on a separate site.</div> </div> <div> <div></div> <div>Information user needs immediately.</div> <div> <p>Information that may provide important context for a new or intermediate user</p> <p>Can use to link to help.sap.com content for more in-depth information.</p> </div> <div>Information that is complex, comprehensive, and sufficient to onboard a brand new user.</div> </div> <div> <div></div> <div>Password parameters, storage limits, error resolution.</div> <div>Multiple uses of a feature, uncommon definitions, tips and tricks.</div> <div>Comprehensive task and feature information.</div> </div> <div> <div></div> <div> <p><a href="https%3A%2F%2Fwiki.one.int.sap%2Fwiki%2Fdisplay%2FPSUA%2FUA-060">UA-060 - Product Standard for User Assistance - Wiki@SAP (int.sap)</a></p> <p><a href="https%3A%2F%2Fhelp.sap.com%2Fdocs%2FSNG_FOR_UA%2Fe33c591ae4494a659a3f5f983c9d1161%2F188d673d8c3349ffb9136110e2fe9ed7.html%3Fstate%3DDRAFT">Text on the User Interface – The Basics | SAP Help Portal</a></p> <p><a href="https%3A%2F%2Fexperience.sap.com%2Ffiori-design-web%2Fui-text-guidelines-for-sap-fiori%2F">UI Text Guidelines for SAP Fiori</a></p> </div> <div>Use the SAP BTP guidelines on these pages.</div> <div><a href="https%3A%2F%2Fwiki.one.int.sap%2Fwiki%2Fdisplay%2FPSUA%2FUA-070">UA-070 - Product Standard for User Assistance - Wiki@SAP (int.sap)</a></div> </div>
2
do
false

Recommended

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
dont
false

Not Recommended

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:

Work with your development team to think about these things:

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.

Plan the UA Effort

There are a few resources that will help you get started.

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.

<div> <div>Parameter</div> <div>BTP Value</div> <div>Default Values</div> <div>What it does</div> </div> <div> <div>openImmediately</div> <div> <p>Minimize</p> <p>Let your users decide when they need help.</p> </div> <div>can be set to: full or minimized</div> <div>When set, the help pane opens automatically when the app loads.</div> </div> <div> <div>noHelpMode</div> <div> <p>Don't use the hide option.</p> <p>If you don't have specific content, at a minimum, add a link tile to SAP Help Portal.</p> </div> <div>can be set to: hide button or carousel</div> <div>When no help exists, this controls whether the empty panel opens on the Learning tab or if the help icon is not displayed.</div> </div> <div> <div>showShortDescription</div> <div>True</div> <div>default: true</div> <div> <p>Controls whether the short description for the tile is displayed in the panel.</p> <p>This information helps users quickly preview what's available so they understand where the link takes them.</p> <p>You can add key words to the short description to help users scan your content.</p> </div> </div> <div> <div>showMinimizeButton</div> <div>True</div> <div>default: true</div> <div>Displays a minimize icon for the panel</div> </div> <div> <div>showCloseButton</div> <div>True</div> <div>default: true</div> <div>Displays a close icon for the panel</div> </div> <div> <div>enableTextBasedRecognition</div> <div> <p>False</p> <p>Most apps consider this an option when they want to improve recognition for elements in their UI. If this is set to true, and your UI supports multiple languages, the UA developer has to repeat hotspot assignments for each language.</p> </div> <div>default: true</div> <div>Display text-dependent recognition as an option during hotspot assignment.</div> </div> <div> <div>hotspotDefaults</div> <div>Use the green question mark for hotspot icons.</div> <div></div> <div>Sets the default hotspot icon type for the application.</div> </div> <div> <div>showHelpLogo</div> <div>False</div> <div>default: false</div> <div>Displays the SAP Companion logo and provides a link to the SAP Companion product page.</div> </div> <div> <div>logoSrc</div> <div>Don't include this</div> <div>SAP Enable Now logo.</div> <div>Makes the SAP Companion/Enable Now brand visible with the SAP Enable Now + SAP Companion logo</div> </div> <div> <div>logoUrl</div> <div>Don't include this</div> <div>URL</div> <div>Makes the SAP Companion/Enable Now brand visible. The logo is linked to the SEN product page/help.</div> </div>

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:

Stable ID Indicators

Hotspots should be assigned to stable elements. The indicator for a stable ID is shown during the hotspot assignment as . Indicators such as or mean that the UI element is unstable.

The status indicator also shows language dependencies. Here's a reference for indicators.

<div> <div>Status</div> <div>Indicator</div> <div>Color</div> </div> <div> <div>Stable</div> <div>Excellent</div> <div>Dark Green</div> </div> <div> <div>Unstable</div> <div>Good</div> <div>Light Green</div> </div> <div> <div>Unstable</div> <div>Weak</div> <div>Orange</div> </div> <div> <div>Unstable</div> <div>Language Dependent</div> <div>Blue</div> </div>

See also:

Ensure reliable UI element recognition

Stable UI element recognition - examples

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.