AI Input Assistance

Discover / Frameworks / SAP Fiori Elements / AI Features

Intro

AI input assistance eases data entry for a new or existing object by recommending values for the input fields, based on previous input or business data. The intelligent suggestions are displayed as recommended values in the input fields for users to accept or to reject.

After the user rejects a recommended value, the AI input assistance doesn’t recommend it again until the user ends the “object session,” by saving and closing the object. Instead, it recommends other available values.

All values rejected in one object session become available for recommendation again in the next session after the user reopens the closed object or opens another object to create or edit it.

AI input assistance is available in applications developed with SAP Fiori elements for OData V4.

A screenshot of a computer AI-generated content may be incorrect.

Input field with grouped recommendations and autocomplete suggestions

When to Use

Do

Use the AI input assistance in workflows where the user enters data in input fields on the object page:

  • To streamline repetitive or common actions, for example, creating many objects of the same type
  • To enhance and speed up the user’s workflow
  • When previously entered data is available to propose with intelligent recommendations for input fields

Don't

Don’t use the AI input assistance:

  • When the user’s intent is unpredictable
  • To provide recommendations unrelated to AI
information

Input assistance isn't available for the following fields:

  • Fields without value help (except those with a dropdown list)
  • Fields with multiple values
  • Custom fields
  • Fields that have more than one key field in their value help entity. For example, if the field "Plant" has two key fields, namely "PlantID" and ''RegionID", to uniquely identify a given plant, the field "Plant" must be excluded from providing recommendations.

Anatomy

The AI input assistance extends the following components and properties to enable new AI-specific interactions:

Input Field

  1. Label
  2. AI-recommended value is displayed in placeholder text
  3. Input field in the information value state

Anatomy of the input field

Grouped Recommendations and Suggestions

  1. Message strip at the top of the select dropdown displays a message to inform the user of the AI recommendations
  2. Group header “Recommendations” followed by the AI-recommended values in the dropdown
  3. Group header “Other” followed by the remaining items in the dropdown

A screenshot of a computer AI-generated content may be incorrect.

Anatomy of the input field control with grouped recommendations and suggestions

Unaccepted Recommendations Message Box

Anatomy of the ‘Unaccepted Recommendations’ dialog

  1. Information icon and header
  2. Label of each input field with the value of the unaccepted recommendation
  3. Footer with buttons for accepting the recommendations, ignoring them, or continuing to edit the object by closing the dialog without acting on the recommendations

Behavior & Interaction

Recommendations are displayed in empty input fields on an object page in both create and edit modes.

The display of additional recommendations or new recommended values are triggered when the user:

The user can accept or reject the recommendations:

After the user rejects a recommended value, the AI input assistance doesn’t recommend it again until the user ends the “object session,” by saving and closing the object. Instead, it recommends other values, if available.

All values rejected in one object session become available for recommendation in the next session after the user reopens the closed object or opens another one to create or edit it.

Accepting or Rejecting Recommendations in the Input Field

Input field with recommendations

A. The input field displays the recommended value in the information value state and placeholder text. Only one recommended value is visible in the field, although there may be others.

B. The user selects the input field, and the dropdown menu is displayed with a message strip that highlights the recommended value or values.

C. The input field displays the selected value in a regular state.

Accepting or Rejecting Recommendations in the “Unaccepted Recommendations” Dialog

The Unaccepted Recommendations dialog is displayed after the user selects the create or save action, before acting on all the recommendations for each input field.

In the dialog, the user selects the actions to apply to all the unaccepted recommendations or the action to continue editing the object.

Unaccepted Recommendations Dialog

<div> <div>Button</div> <div>Result</div> </div> <div> <div> <p><em>Accept and Create</em></p> <p><em>Accept and Save</em></p> </div> <div> <p>All AI input assistance recommendations are accepted for the corresponding input fields.</p> <p>If all the required fields have values, the object is also created or saved.</p> <p>If not, the create or save action is blocked. An error is displayed in the message popover.</p> </div> </div> <div> <div> <p><em>Reject and Create</em></p> <p><em>Reject and Save</em></p> </div> <div> <p>All AI input assistance recommendations are rejected from the corresponding input fields.</p> <p>If all the required fields have values, the object is created or saved.</p> <p>If not, the create or save action is blocked. An error is displayed in the message popover.</p> </div> </div> <div> <div><em>Continue Editing</em></div> <div>All unaccepted recommendations remain on the object page.</div> </div>

Elements and Controls

Implementation

Elements and Controls

Implementation

Visual Design