• 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
    • 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
            • Send Email Action
            • Upload File to Document Grounding
          • AI Actions
            • Generative AI Action
            • Document Grounding Action
            • Log Insight Action
            • Tools Orchestration Action
        • Translation
        • Scheduling
        • Communication Channels
          • Tools Activation
          • Destination Assignment
          • Copy the Existing Channel
          • 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
          • OpenAiCompatible Channel Setup
          • MCP Channel
        • Monitor Section
      • Business AI Scenarios
      • Document Grounding Hub
      • ABAP Code Intelligence
      • Destination Management
      • Vectorized Data Sources
      • Data Source Management
        • Data Source Configuration
        • Authorization Administration
          • Organizational Authorization for Data Sources
          • Proposing Organizational Mappings
      • 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
      • MCP Server
        • MCP Server Configuration in ABAP System
        • MCP Tools 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
        • Language settings and RTL Support
        • 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
      • Exchange On-Premises Shared Mailbox Integration
      • 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
      • Job Scheduler Services Creation
    • Troubleshooting
      • Edge Browser Access Issue

Proposing Organizational Mappings

6 views 0

Proposing Organizational Mappings

Using report /SKYBFR/YAI_DSN_ORG_PROPOSE to find and maintain organizational mappings

Report `/SKYBFR/YAI_DSN_ORG_PROPOSE` finds the organizational fields in your nominated data sources and proposes the mappings needed by *Organizational Authorization for Data Sources*.

It never activates anything. Every mapping it writes is inactive, so no data is filtered until you activate it yourself.

Why not just type the mappings by hand

Because organizational fields are hard to spot reliably, and missing one means that dimension is left unrestricted on that data source.

VBAK has 152 fields. Five of them carry an organizational unit, and one is easy to get wrong in each direction:

Field Check table Dimension
BUKRS_VF T001 Company code
VKORG TVKO Sales organization
GSBER TGSB Business area
GSKST TGSB Business area, from cost center
KOKRS TKA01 Controlling area

The company code field is called BUKRS_VF, so looking for a field named BUKRS finds nothing. Meanwhile PA0001 has a field called WERKS which is the personnel area, not the plant — so looking for a field named WERKS finds the wrong thing.

The report therefore matches on the dictionary check table of each field, never on its name. That is a definite relationship rather than a guess.

Running the report

Selection screen

Nominated data source — restrict to particular data sources, or leave empty to examine all of them.

Mode — three options, of which the first is the default:

Mode What happens
Display only Nothing is written. You see the proposals and can leave.
Change, save by double-click Nothing is written on start. You choose rows to save from the list.
Change, save all unambiguous Every unambiguous proposal is saved immediately, then the list appears.

In both change modes you can still save individual rows from the list. Ambiguous proposals are never saved automatically in any mode — see *Resolving ambiguous proposals*.

Transport request

The mapping table is a customizing table, so its entries belong in a transport request. The first time the report saves something in a session it asks you to choose or create a customizing request. Subsequent saves in the same session go to the same request without asking again.

If you cancel the request dialog, nothing is written. The report will not change customizing that cannot be transported.

Reading the result list

The list shows the mapping table’s own columns, so you are looking at exactly what would be written:

Data source · Dimension · Field name · Strategy · Lookup table · Lookup fields · Active

followed by three columns that explain the proposal:

Column Meaning
Status What will happen to this row, or what already has
Check table The dictionary check table that produced the match
Field description The field’s own dictionary description

The lookup columns and Active are always empty. That is informative: the report only proposes Direct mappings, and those are exactly the fields a Derive mapping would need filled in by hand.

Status values

Status Meaning
Proposed Not yet in the mapping table. Can be saved.
Mapping already maintained This dimension is already mapped for this data source. Nothing to do.
Ambiguous, double-click one to keep Two or more fields compete for this dimension. You choose.
Written as inactive Saved during this run.

Resolving ambiguous proposals

A dimension can be mapped to exactly one field per data source. Where two fields of the same data source point at the same check table, the report cannot know which one you mean.

VBAK is the standard example: both GSBER and GSKST point at TGSB, so both are proposed for the business area dimension. GSBER is the business area of the document; GSKST is the business area derived from the cost center. Only one of them should drive the authorization filter.

To resolve it:

  1. Choose a change mode on the selection screen.
  2. Double-click the row you want to keep.
  3. Confirm the dialog.

The row is saved as inactive, and the competing row changes to *Mapping already maintained*, showing that the choice has been made and the alternative is no longer available.

The report never picks for you. Writing an arbitrary one of the two and silently discarding the other is precisely the outcome this behaviour exists to prevent.

What the report cannot find

Two kinds of organizational field are invisible to check-table matching, and both must be added by hand in SM30.

Fields with no check table. VBAK-KOSTL is a cost center, but the field carries no check table, so nothing links it to the cost center dimension. It will not appear in the proposal list.

Derive mappings. Nothing in the dictionary states that a plant leads to a company code, so a mapping that needs translation through a lookup table cannot be proposed. Add these manually.

Treat the proposal list as a strong starting point, not a complete inventory. After running the report, review each data source you intend to restrict and ask whether it carries an organizational unit the report did not find.

After running the report

The proposals are saved but inactive, so nothing is filtered yet. Continue with the setup sequence in *Organizational Authorization for Data Sources*:

  1. Complete any Derive mappings and add any fields the report could not find.
  2. Grant the corresponding authorization objects in the roles that need them.
  3. Activate one data source for one user group and verify the results.
  4. Widen gradually.

Granting the roles before activating is important. A user with no authorization for a mapped dimension is refused outright once the mapping is active.

Messages

Message Meaning
No organizational fields found for the selected data sources Either the data sources carry no matching field, or none are nominated in the selected range.
*n* proposals written as inactive Saved successfully and recorded in the transport request.
Nothing to write, all proposals are maintained or ambiguous Nothing was eligible for automatic saving. Resolve ambiguous rows individually.
Display only. Set a change mode on the selection screen to save You double-clicked a row while in display mode.
This row is already maintained The dimension is already mapped for this data source.
No transport request assigned, nothing was written The request dialog was cancelled, or the request could not accept the entries.
Two rows share a dimension, only one can be written Reached only in the bulk mode when the data is inconsistent. Resolve individually.
Proposals could not be written The database update failed. Check SLG1 and your authorization for the table.

Was this helpful?

Yes  No
Related Articles
  • Send Email Action
  • Organizational Authorization for Data Sources
  • Authorization Administration
  • Data Source Management
  • ABAP Code Intelligence
  • Language settings and RTL Support
Copyright 2022 Skybuffer.com. All Rights Reserved.