2026 Q1: Advanced Integrations & AI

Row-Level Security, S/4HANA transactional filtering, and AI Digital Assistant improvements.

Sales Area Access Control

Epic: 26Q1-E1
In Progress

Goal: Restrict visibility of transactional data (Quotes, Customers, Locations) based on user assignments in `UserSalesAreaAccess`, ensuring users only see business data they are authorized to access. Configuration data (Sales Areas, Sales Orgs, Plants, etc.) remains fully visible to admins for easier system setup and maintenance.

Business Value:

  • Improved security by restricting transactional data visibility
  • Simplified user experience by showing only relevant customer/quote data
  • Prevention of data entry errors in wrong Sales Areas
  • Faster implementation: Admins can view and configure all Sales Areas without assignment bottlenecks
  • Auto-sync friendly: Synced Sales Areas from S/4 HANA immediately visible to admins

Scope Clarification (26Q1-E8 considerations):

✅ Row-Level Filtering APPLIES to:

  • Quotes (QuoteHeaders, QuoteItems)
  • Customers
  • Locations
  • QuoteTemplates
  • UserConfigurations (for non-admin users)

❌ Row-Level Filtering DOES NOT apply to:

  • SalesAreas (configuration entity)
  • SalesOrganizations (configuration entity)
  • DistributionChannels (configuration entity)
  • Divisions (configuration entity)
  • Plants (configuration entity)
  • DocumentTypes (configuration entity)
  • ConditionTypes (configuration entity)
  • Backend Systems (BackendType - configuration entity)

Rationale:

Configuration entities must be fully visible to administrators to:

1. View and manage auto-synced data from S/4 HANA (Epic 26Q1-E8)

2. Assign Sales Areas to users in UserSalesAreaAccess

3. Configure system without chicken-and-egg access problems

4. Compare and audit configurations across backends

Access to configuration apps is controlled by role-based permissions (@requires) in service definitions, not row-level data filtering.

AI Assistant UX Improvements

Epic: 26Q1-E2
Completed

Goal: Enhance the in-app AI assistant chat for readability, responsiveness, and transparency of LLM reasoning to improve user trust and ensure no messages are missed.

Business Value:

  • Users never miss new messages (auto-scroll to latest)
  • Cleaner chat UI improves scanning speed and reduces cognitive load
  • Optional "Thinking" details build trust and allow audit of AI reasoning
  • Improved security through HTML sanitization prevents XSS attacks

Stories in this Epic:

S/4 HANA Business Partner Integration (25Q4)

Epic: 25Q4-E1
In Progress

Goal: Enable seamless creation and synchronization of Customer and Location master data between SEP and S/4 HANA, eliminating manual data entry and ensuring single source of truth.

Business Value:

  • Reduce data entry time by 80%
  • Eliminate duplicate customer records
  • Ensure real-time data consistency
  • Enable offline-capable sales processes

Stories in this Epic:

SAP ECC Contracts Integration (ECC backend)

Epic: 25Q4-E5
In Progress

Goal: Integrate CPQ with a real SAP ECC backend for Contract creation. Use a Node.js middleware to convert SOAP/XML responses into normalized JSON/OData for the CAP app to consume. Provide a robust mapping for the response payload so ECC contract numbers, statuses and error details are stored correctly.

Business Value:

  • Enable direct contract creation in ECC from CPQ
  • Keep ECC contract references in CPQ accurate and auditable
  • Reduce complexity in CAP services by delegating XML/soap handling to middleware

Stories in this Epic:

General from 25Q3 taken to Q4 (25Q4)

Epic: 25Q4-E0
In Progress

Goal: Implement general enhancements and features requested in Q3 that were deferred to Q4.

Business Value:

  • Improve user experience and satisfaction
  • Enhance system capabilities and flexibility

Stories in this Epic:

Keep improving the Quote Tool (25Q4)

Epic: 25Q4-E3
In Progress

Goal: Enhance the Quote Tool to streamline the quotation process and improve usability for sales representatives.

Business Value:

  • Reduce time spent on creating and managing quotes
  • Improve accuracy and consistency of quotes

Stories in this Epic:

Improve the Location App (25Q4)

Epic: 25Q4-E4
In Progress

Goal: Enhance the Location App to provide better mapping and location selection features for sales representatives.

Business Value:

  • Improve the accuracy and efficiency of location selection
  • Provide better visibility of plant locations in relation to customer sites

Stories in this Epic:

SAP ECC Customers and Locations Integration (ECC backend)

Epic: 25Q4-E6
In Progress

Goal: Integrate CPQ with a real SAP ECC backend for BP creation. Use a Node.js middleware to convert SOAP/XML responses into normalized JSON/OData for the CAP app to consume. Provide a robust mapping for the response payload so ECC BP numbers, statuses and error details are stored correctly.

Business Value:

  • Enable direct BP creation in ECC from CPQ
  • Keep ECC BP references in CPQ accurate and auditable
  • Reduce complexity in CAP services by delegating XML/soap handling to middleware

Stories in this Epic:

/ Next Steps

Epic: Notes
In Progress
  • Align on the middleware JSON schema and produce a small example payload for the team
  • Create `docs/25Q4-E5-mapping-spec.md` with the canonical field mapping and examples (owner: integration lead)
  • Add BP handler in `srv/handlers/customerHandlers.js` and `srv/handlers/locationHandlers.js` that calls middleware and maps response to DB
  • Add integration tests under `test/` referencing a middleware stub returning the normalized JSON
  • Estimate: 2–3 dev days to implement mapping + tests, 1 day for E2E validation with middleware stub

S/4 HANA Sandbox Integration & Hybrid Search

Epic: 25Q4-E9
In Progress

Goal: Connect to S/4 HANA Sandbox for read-only access, enable hybrid search (SEP + S/4), and facilitate mass synchronization.

Business Value:

  • Validate data against a real S/4 HANA system (Sandbox).
  • View "Hybrid" search results: see what exists in SEP vs. what exists in S/4.
  • Mass import/sync records from S/4 to SEP.
  • Check pricing conditions against real SAP logic (simulated via Sandbox).

Stories in this Epic:

Log Architecture Epic: Centralized Audit Logging (CDPOS/CDHDR style)

Epic: 25Q4-E10
In Progress

Goal: Implement a centralized, immutable audit log for all critical actions (deletions, redactions, config changes, etc.) in the AI assistant and related modules, modeled after SAP ECC CDPOS/CDHDR.

Business Value:

  • Ensure compliance and traceability for privacy and security actions
  • Enable analytics and reporting on audit events
  • Support future regulatory and business requirements

Stories in this Epic:

Quote Assistant v1 — Context-First Intent Detection & Prompt Routing

Epic: 26Q1
In Progress

Goal: Make the Quote Assistant reliable for follow-up questions by ensuring the NLP intent step always receives the active object context (starting with Quote), removing duplicated/partial context blocks, and introducing a DB-driven NLP prompt chain (cheap → escalate → clarify).

Business Value:

  • Higher answer accuracy for follow-ups
  • Fewer "general query" misroutes when user is working inside a Quote
  • Lower cost by defaulting to cheaper intent LLM and escalating only when needed

Stories in this Epic:

Quote Map Integration

Epic: 26Q1-E2
In Progress

Goal: Enable map visualization in the Quote Object Page to show Ship-To Location, Plant interaction, and allow selecting alternative registered locations for the customer using a visual interface.

Business Value:

  • Visual verification of logistics (Ship-To vs Plant).
  • Simplified selection of alternative ship-to locations for the customer.
  • Reduced errors in location selection.

Stories in this Epic:

Advanced Approval Workflows

Epic: 26Q1-E3
In Progress

Goal: Enhance the approval workflow triggering logic to support more sophisticated business rules beyond simplestic thresholds, utilizing SAP pricing truth.

Business Value:

  • Risk Management: Ensures high-value and low-margin deals get appropriate review.
  • Compliance: Enforces rules on specific discount products/conditions.
  • Profitability: Protects deal margins by flagging deals that drop below profitability targets.
  • Efficiency: Automates the "need for approval" determination based on definitive SAP pricing data.

Stories in this Epic:

Deal Tool Evolution (Quote → Deal)

Epic: 26Q1-E4
In Progress

Goal: Evolve the Quote tool into a comprehensive Deal tool by adding support for Return to Vendor (RTV) and Complaints processes, enabling complete deal lifecycle management with different product types and ERP integration.

Business Value:

  • Complete Deal Visibility: Single tool to manage all aspects of a deal including base sales, returns, and complaints
  • Process Automation: Automated creation of Return Orders and Credit Memo Requests in ERP
  • Financial Accuracy: Comprehensive deal totalization (Contract Net - Returns - Complaints)
  • Audit Trail: Complete tracking of all deal components in one place

Stories in this Epic:

Tatru Offline Mode - Mobile App

Epic: 26Q1-E5
In Progress

Goal: Build a React Native mobile app (using Expo Go) that replicates core Tatru functionality with offline-first architecture, local database sync, and edge AI capabilities for sales reps working in remote areas without reliable internet.

Business Value:

  • Field Sales Enablement: Reps can work in remote locations without internet
  • Productivity: No downtime waiting for connectivity
  • Data Availability: Complete customer/product/location data on device
  • Modern UX: Native mobile experience vs. mobile browser
  • Innovation: Edge AI for document scanning and data lookup

Stories in this Epic:

Documentation in Fiori Apps

Epic: 26Q1-E6
In Progress

Goal: Provide in-app contextual documentation for Fiori applications, accessible via a Documentation Assistant or dedicated UI component, to help users understand app features and configurations without leaving the application.

Business Value:

  • Self-Service: Users find answers without contacting support
  • Faster Onboarding: New users learn app features in context
  • Reduced Support Tickets: Common questions answered immediately
  • Always Up-to-Date: Documentation linked directly to app version

Stories in this Epic:

Markdown to HTML Documentation Conversion

Epic: 26Q1-E7
In Progress

Goal: Convert existing Markdown documentation files to clean, Joomla-compatible HTML format for publication on the Tatru website, enabling better documentation distribution and potentially supporting in-app documentation rendering.

Business Value:

  • Public Documentation: Knowledge base accessible to all users via website
  • Professional Presentation: Consistent styling and branding on Tatru site
  • Content Reuse: Same HTML can power in-app popovers (Epic E6)
  • SEO Benefits: HTML documentation indexed by search engines
  • Easy Maintenance: Automated conversion reduces manual HTML editing

Stories in this Epic:

S/4 HANA Auto-Configuration via APIs

Epic: 26Q1-E8
In Progress

Goal: Automatically synchronize and configure the CPQ system based on the customer's S/4 HANA configuration by leveraging SAP S/4 HANA Cloud APIs to retrieve organizational structures, master data, and pricing configuration.

Business Value:

  • Dramatically reduce implementation time by eliminating manual configuration entry and reducing setup from weeks to hours
  • Lower Total Cost of Ownership (TCO) through automated synchronization reducing maintenance effort by 60-80%
  • Reduce project risk by ensuring configuration accuracy and eliminating human data entry errors
  • Accelerate project go-live by automating configuration tasks, allowing teams to start productive work immediately
  • Ensure configuration consistency between S/4 HANA and CPQ, preventing mismatches and support issues
  • Enable easier upgrades and changes as S/4 configuration changes automatically flow to CPQ
  • Reduce support costs by maintaining a single source of truth in S/4 HANA

Strategic Impact:

  • Start projects running immediately with pre-configured systems
  • Enable rapid deployment for new customers and business units
  • Reduce dependency on expensive consultants for initial configuration
  • Allow business users to self-serve configuration updates
  • Support multi-tenant scenarios with automatic tenant-specific configuration

Stories in this Epic: