# SAP BTP UX Design Reference ## Overview SAP BTP applications require consistent, compliant user experiences using the SAP Fiori design language. Three main approaches are recommended for UI development. ## User Experience Dimensions ### Five Usability Factors | Factor | Description | |--------|-------------| | Effectiveness | Accomplishing intended tasks | | Efficiency | Minimizing effort required | | Ease of learning | Intuitiveness for new users | | Error tolerance | Handling mistakes gracefully | | Satisfaction | Positive user perception | ### Consistency Consistency contributes to ease of learning and efficiency. Follow SAP Fiori Design Guidelines to maintain alignment with standard SAP applications. ## UI Development Approaches ### 1. SAP Fiori Elements **Description**: Framework on top of SAPUI5 with predefined templates based on OData services **Best For**: Standard business applications #### Floorplans | Floorplan | Use Case | |-----------|----------| | List Report | Data browsing with filters | | Object Page | Detail view with sections | | Overview Page | KPIs and quick actions | | Worklist | Task-oriented lists | | Analytical List Page | Analytics with filters | #### Building Blocks Reusable UI components: - Data visualization - Form entry - Value helps - Tables - Charts #### Benefits - Rapid development - Consistent UX - Automatic compliance - Responsive design ### 2. Flexible Programming Model **Description**: Extend SAP Fiori Elements with custom logic **Best For**: Applications needing selective customization #### Extension Points - Custom columns - Custom actions - Custom sections - Custom fragments #### Custom Pages Leverage Fiori Elements base with: - Building blocks - Routing - State management ### 3. Freestyle SAPUI5 **Description**: Full UI control using SAPUI5 framework **Best For**: Highly customized interfaces **Considerations**: - Greater development effort - Manual compliance implementation - Full flexibility ## SAP Fiori Tools | Tool | Purpose | |------|---------| | Application Wizard | Generate Fiori apps from templates | | Service Modeler | Design OData services visually | | Page Editor | Configure Fiori Elements pages | | XML Editor | Edit view definitions | | Guided Development | Step-by-step feature addition | ## Compliance Standards ### Automatic Inheritance > **Note**: Automatic compliance applies specifically when using **SAP Fiori Elements** with recommended patterns, **OData V4** services with proper annotations, and **internationalization (i18n)** setup. Custom or Freestyle SAPUI5 applications require manual compliance verification. **Prerequisites for automatic compliance:** 1. Use SAP Fiori Elements floorplans 2. Expose OData V4 services with proper UI annotations 3. Enable internationalization (i18n) for all user-facing text 4. Follow SAP Fiori design guidelines for customizations | Standard | Coverage | Requirement | |----------|----------|-------------| | Accessibility (WCAG 2.2) | Automatic | Fiori Elements + proper labels | | SAP Fiori Design Guidelines | Automatic | Standard floorplans | | Responsive Design | Automatic | Fiori Elements controls | | Performance Optimization | Automatic | OData V4 batching | | Security Protections | Automatic | XSUAA + CSRF tokens | ### Accessibility Requirements ```xml