• IDD
  • IDD
  • Skybuffer AI
    • Skybuffer AI Installation and Initial Setup
      • On Business Technology Platform (BTP)
        • Skybuffer AI Installation Guide on BTP
      • On Premise: XSA Runtime and SAP HANA EE
        • Installing SAP HANA Including XS Runtime
        • XS Deployment Process
      • Post Installation User Guide
    • AI Agent
      • AI Agent Configurator
        • Register New AI Agent
        • Intents and Entities Creation
        • Tool Creation and Management
        • Actions
          • Message and Content Actions
            • Structured Messages
            • Adaptive Card
          • Sending Notifications
          • Destination Calls Actions
          • Conversation Flow and Memory Actions
          • Process Data Actions
            • Email Processing Action
            • Email Post-Processing Action
            • File Parsing Action
          • AI Actions
            • Generative AI Action
            • Document Grounding Action
            • Log Insight Action
            • Tools Orchestration Action
        • Translation
        • Scheduling
        • Communication Channels
          • Copy the Existing Channel
          • OpenAiCompatible Channel Setup
          • Tools Activation
          • Destination Assignment
          • Webchat Communication Channel Setup
          • Facebook Messenger Communication Channel Setup
          • Zoom Communication Channel Setup
          • Slack Communication Channel Setup
          • MS Teams Communication Channel Setup
          • Telegram Communication Channel Setup
          • Viber Communication Channel Setup
          • WhatsApp Communication Channel Setup
          • FLP Chat Communication Channel Setup
          • Background Execution Communication Channel Setup
          • MCP Channel
        • Monitor Section
      • Data Source Scenarios Management
      • Business AI Scenarios
      • Document Grounding Hub
      • Destination Management
      • Emails AI Processing Monitor
      • Models Hub
      • Identity Providers
      • Survey Craft
      • Predefined Response Translator
    • AI Connector
      • AI Connector Configurator
      • AI Connector Logs
      • AWS Integration
      • Twilio Integration
    • SAP Backend for Business AI
      • Business AI Scenarios Package Administration
        • Installation Guide
        • Uninstallation Guide
      • Business AI Scenarios Package Maintenance Guide
        • Product License
        • Configuration of Email Sending Mechanism
          • Configuration Settings
          • Setup of Specific Email Sending Control
        • Technical User Setup
          • Central oData Service Authorization Role Maintenance
          • Technical User ID Creation
        • Assigning Business AI Scenarios to ABAP RIK Classes
        • Simplified User Creation Scenario Setup (Without Approval Workflow)
          • Maintain and Assign Reference Users for User Creation Scenario
          • Activate Notification for New User Creation (Optional)
        • User Creation Scenario Setup with Approval Workflow
          • Configure Approval Workflow for User Creation Scenario
          • Set Up Approval Steps for Different User Types Creation
    • Hybrid Chats
      • Hybrid Chats Maintenance Guide
        • Business and Technical Users Setup
          • Create Business and Technical Users
          • Create Business Partners
        • Tenant Configuration
        • Live Pool Management and Configuration
          • Start Live Pool
          • Manage Live Pool
        • System Configuration
          • Configure Status Profile
          • Set Up Technical Messages for Hybrid Chats
        • Hybrid Chats Configuration
        • Hybrid Chats Categorization
          • Categorization Management
          • Categorization Mapping
          • Translate Categories
      • Hybrid Chats User Manual
        • Hybrid Chats
          • HC Archive Mode
          • HC Active Mode
        • HC My Data
          • Edit Personal Data and Profile Picture
          • Default Settings Management
          • Notification and Dialogue Manual Mode Management
          • Quick Replies Management
            • Standard User Mode - Quick Replies
            • Administrator User Mode - Quick Replies
        • HC Analytics
          • HC Analytics
          • Operator Activity Analytics
          • Exit Survey Analytics
        • HC Teams
          • Access HC Teams Application
          • Create New Team
          • Create New Team Member
          • Edit Agent
          • Edit Team Name
    • HOW-TO Guides
      • MS Teams Integration. Single Sign-On
        • Create Azure Bot Service
        • Configure Azure Bot Service and Connect to the AI Agent MS Teams Channel
        • Create Middleware SSO Application
        • Configure Bot Service Application SSO
        • Create Azure AD Enterprise Application for SAP Backend
        • Configure oAuth2 in SAP System
        • Assign Identity Provider in AI Agent Channel Configuration
        • Deploy Your App into Microsoft Teams
        • Managing Application Keys
      • Office 365 Shared Mailboxes (IMAP) Integration
      • SAP AI Core Integration. Ollama Server Setup
      • DGX Spark Server Configuration
      • Skybuffer AI PoC Setup
        • SAP BTP
      • MS SharePoint Integration. Add-in Registration
    • Troubleshooting
      • Edge Browser Access Issue

Data Source Scenarios Management

13 views 0

Data Source Scenarios Management is an application that enables SAP data sources to be used in AI Agent conversations. It supports the configuration of system destinations, discovery of available data sources, management of their replication for Retrieval-Augmented Generation (RAG), and assignment of selected sources to AI Agents.

When properly configured, structured business data from SAP systems can be securely discovered, optionally replicated, and made available to AI Agents at runtime.

Overview of the Process

The overall process consists of the following steps:

  1. Register SAP data sources
  2. Create a destination with data source discovery enabled
  3. Discover available data sources
  4. Manage discovered data sources and replication settings
  5. Assign data sources to AI Agents

Data Source Scenarios Management

Before data sources can be discovered, they must be registered in the SAP system.

To enable data source discovery:

  • Data sources must be registered in table /SKYBFR/YAICDSNM
  • Only registered data sources can be discovered by the system

Destination Management

Step 1: Open Destination Management

Navigate to the AI Agent group and open the Destination Management application.

Step 2: Create a New Destination

Click the Add (+) button to create a new destination.

Provide the required connection and authentication details.

Enable Data Source Discovery for the destination.

Save the destination.

Once the destination is created:

  • The system automatically runs data source discovery.
  • The destination overview displays: last Run timestamp and number of discovered data sources
  • A manual refresh option is available to trigger discovery again.

From the destination overview, you can navigate directly to the Data Source Management application using the redirection button.

Step 3. Registering Data Sources for Discovery

This section describes how to register existing SAP data sources so that they can be discovered and later used by AI agents via a configured destination.
The registration process does not create new data sources; it only makes existing objects available for discovery.

Prerequisites

  1. The data source to be registered already exists and is active in the SAP system
  2. The user has authorization for: Transaction SM30 and maintenance access to table /SKYBFR/YAICDSNM
  3. A destination is configured for Data Source discovery.

Procedure

Execute transaction SM30.

Enter table name /SKYBFR/YAICDSNM and choose Maintain.

Choose New Entries.

Enter the required information:

Object Name: Technical name of the existing object (for example, a CDS view or service name).
Description: Short functional description of the data source.

Save the entry.

Result

  • If the specified data source exists in the system, it is discovered on the configured destination.
  • The data source becomes available for the later use by AI agents.
  • If the data source does not exist, it is not discovered.

Data Source Management Application

Step 4. Open Data Source Management Application

To manage discovered data sources, navigate to the AI Agent group and open the Data Source Management application.

Main Page Overview

The main page displays all discovered data sources across destinations and includes the following elements:

1. Destination Name
Displays the destination along with the number of data sources discovered for it.

2. Run Data Source Discovery
Manually triggers data source discovery for the selected destination.

3. Switch Destination
Allows switching between different configured destinations.

4. Search, Filter, and Sort Area
Enables searching, filtering, and sorting of data sources.

5. Adding datasources to AI Agent

6. Data Source List
Each data source entry shows:

  • Name
  • Type (Table, CDS, View, Other)
  • Description
  • Replication status (On / Off)
  • Option to directly assign the data source to an AI Agent

Step 5. Data Source Details View

Selecting a data source opens the Data Source Details view, which provides detailed technical and replication information.

1. List of Data Sources

2. General Information

Type: (Table, CDS, View, Other)

Description: data source description for SAP system

Replication status (enabled or disabled)

Add to AI Agent: option to add data source to the selected AI Agent

3. Replication Configuration

The replication section allows configuring and monitoring data replication for the selected data source.

Replication is required for data sources that should be stored and used by Retrieval-Augmented Generation (RAG).

Enabling Replication

To enable replication:

Switch the Replication toggle to On and select the Replication Type:

  • Full Replication– the complete data set is replicated
  • Delta Replication– only changed data is replicated (if supported by the data source)

Full Replication

Full replication synchronizes the entire data set from the source system during each replication run. No change detection is applied.

Type: Specifies the replication mode for the data source

Frequency: Defines how often replication is executed.

Last Replication Run: Displays the timestamp of the most recent replication execution.

Run Replication button: triggers replication manually for the selected data source.

Edit button: Allows changing replication settings such as type and frequency.

View Replication Logs: Opens a list of replication runs with status and execution details.

Delta Replication

Delta replication enables incremental data transfer by detecting changes since the last replication run.

Prerequisites

  • Delta replication is only available for data sources that expose a suitable date field.
  • The date field must represent the last change timestamp of the record.

Without a date field, incremental change detection is not possible.

Preparing Data Sources for Delta Replication

If delta replication is required, ensure that the data source exposes an appropriate date field:

  • Tables: Create a new Data Source that includes or joins a relevant date column.
  • Views: Extend or adjust the view to expose a date field suitable for change tracking.
  • CDS Views: Add or expose a date field or parameter that reflects the last modification timestamp.

NOTE: The selected date field must indicate the last update or change of the data record.
Fields representing creation date only are not suitable for delta replication.

Delta Field Selection

When configuring delta replication, select one or more Date Fields that will be used for delta detection.
Ensure that the selected fields accurately reflect changes made to the underlying data.

Reinitialize Delta

After delta replication is configured, the Reinitialize Delta option becomes available.

Reinitializing delta:

  • Resets delta tracking for the data source
  • Causes all data to be fully replicated again during the next replication run

This option is typically used after:

  • Structural changes to the data source
  • Corrections to delta field configuration
  • Data inconsistencies

View Replication Logs: Opens a list of replication runs with status and execution details.

4. Fields Information

The Fields section displays detailed metadata about the structure of the data source.
For each discovered field, the following information is shown in a table:

  • Field
  • Data Element
  • Domain
  • ABAP Type
  • Length / Decimals
  • Short Text
  • Medium Text
  • Long Text
  • Key
  • Lowercase
  • Sign

This information helps assess the structure and suitability of the data source for AI Agent usage.

5. Parameters (CDS Data Sources)

If the selected data source is a parameterized CDS view, a Parameters section is displayed in the details view.

The parameters table shows the following information:

  • Parameter
  • Data Element
  • Type
  • ABAP Type
  • Length / Decimals

If a data source does not define parameters, this section is not displayed.

Step 5. Searching, Filtering and Sorting

You can search, sort and filter this data using the following buttons:

and decide which filds should be visible:

Step 5. Assigning Data Sources to AI Agents

From both the Data Source Management list and the Data Source Details view, data sources can be directly assigned to AI Agents.

On the main application view you can select more than one data source and add them to AI Agent.

You can also enter data source details view and add it directly from there:

Step 6. Managing Input and Output Structures on the Tool Level

This section describes how Data Sources and Business Tools are executed by the AI Agent, how data is passed into the tool, how results are returned, and how outputs are stored for later use.

Data Sources and Business Tools follow a common execution model when used by an AI Agent:

  • Input data is passed to the tool
  • The tool is executed
  • Output data is returned in a structured format
  • The result is stored in the AI Agent’s memory and can be reused

While creating new tool select type: datatsource or business and you will be able to establish necessary input and output structures.

Input Structure
Describes the data required to run the tool.

  • For Business Tools, input values are provided by the AI Agent or previous steps. You must provide the input json structure to enable Business tool to be used by MCP server or A2A interface.
  • For Data Sources, input fields are automatically populated based on metadata (for example, table parameters, views, or filters). No manual input mapping is required for metadata-driven data sources.

Output Structure
Defines the format of the data returned by the tool after execution.

  • Data Sources return structured data from tables, views, or queries.
  • Business Tools return execution results, such as document numbers, statuses, or messages.
    The output structure must match the expected schema to ensure proper downstream usage.

Target Memory Parameter
Specifies where the tool output is stored in the AI Agent’s memory.
Stored results can be:

  • Reused by subsequent tools or skills
  • Referenced in prompts and logic
  • Included in responses to the user

Each tool execution can write to a dedicated memory parameter to avoid data conflicts.

NOTES:

  • Data Sources are typically metadata-driven and read-only
  • Business Tools require explicit input and output definitions
  • Correct memory configuration is required for multi-step AI Agent scenarios

Tool view with the information in which tools input and outpot structures are maintained:

Was this helpful?

Yes  No
Related Articles
  • Sending Notifications
  • DGX Spark Server Configuration
  • Process Data Actions
  • OpenAiCompatible Channel Setup
  • Email Post-Processing Action
  • MCP Channel
Copyright 2022 Skybuffer.com. All Rights Reserved.