Thursday, January 30, 2025

Fiori Infrastructure and Related Basis Activities

Fiori Infrastructure and Related Basis Activities

Introduction

SAP Fiori is a modern, role-based UX solution designed to provide a seamless and intuitive experience across various devices. Implementing Fiori in an enterprise landscape requires a well-planned infrastructure setup and effective Basis administration. This article covers key aspects of Fiori infrastructure, including Web Dispatcher setup in an embedded architecture, Web Dispatcher upgrade, and Fiori server sizing considerations.


1. Fiori Infrastructure Overview

Fiori infrastructure involves multiple layers and components, including:

  • Frontend Server (FES): Hosts SAP Fiori applications and acts as a gateway for users.

  • Backend Server (BES): Houses business logic and data services.

  • SAP Gateway (ODATA Services): Facilitates communication between frontend and backend.

  • SAP Web Dispatcher: Acts as a reverse proxy to route traffic efficiently.

  • SAP Cloud Connector (if applicable): Used for hybrid cloud scenarios.

Two main deployment approaches exist:

  • Embedded Deployment: FES and BES are on the same system (e.g., S/4HANA system).

  • Hub Deployment: FES is on a separate system, connecting to multiple BES.


2. Web Dispatcher Setup in Embedded Architecture

SAP Web Dispatcher plays a crucial role in Fiori's embedded architecture by load balancing and routing incoming HTTP(S) requests.

2.1 Prerequisites

  • Ensure Web Dispatcher is installed on a dedicated server or as part of the SAP landscape.

  • Obtain SSL/TLS certificates for secure communication.

  • Maintain an appropriate network firewall configuration.

2.2 Configuration Steps

  1. Install SAP Web Dispatcher

    • Download from SAP Software Download Center.

    • Install using sapwebdisp executable.

  2. Modify Profile Parameters (sapwebdisp.pfl)

    • Define backend target systems:

      wdisp/system_0 = SID=EBS, EXTSRV=http://backendhost:8000, SRCSRV=*  wdisp/system_1 = SID=FES, EXTSRV=http://fiorihost:443, SRCSRV=*
    • Enable SSL if required:

      ssl/server_pse=webdisp.pse
    • Define URL filtering to restrict direct backend access.

  3. Start and Validate Web Dispatcher


3. Web Dispatcher Upgrade

Regular upgrades ensure security, performance, and compatibility with newer SAP releases.

3.1 Pre-Upgrade Activities

  • Check current Web Dispatcher version:

    sapwebdisp -version
  • Review SAP Note recommendations.

  • Backup sapwebdisp.pfl and SSL certificates.

3.2 Upgrade Process

  1. Download Latest Version from SAP Support Portal.

  2. Stop Web Dispatcher:

    sapwebdisp -stop
  3. Replace Executables:

    cp NEW_VERSION/sapwebdisp /usr/sap/SAPWebDisp
  4. Restart Web Dispatcher:

    sapwebdisp -start
  5. Verify Functionality:

    • Ensure logs show successful startup (dev_webdisp).

    • Test URL routing and load balancing.


4. Fiori Server Sizing for Embedded Setup

Proper sizing ensures performance and scalability of the embedded Fiori landscape.

4.1 Key Factors Affecting Sizing

  • Number of Concurrent Users: Active Fiori users in peak hours.

  • Type of Fiori Apps: Transactional, Analytical, or Fact Sheets.

  • SAPS Requirement: CPU processing capacity (SAP Application Performance Standard).

  • Memory Consumption: Based on HANA DB footprint.

4.2 SAP Recommendations

CPU and Memory Sizing (Baseline for Embedded Fiori on S/4HANA)

UsersCPU CoresMemory (GB)
100432
500864
100016128

HANA Database Sizing

  • Rule of Thumb:

    • 3GB per 100 active users.

    • Additional 1GB for every 50GB of transaction data.

Storage Considerations

  • SSD-based storage for faster response.

  • 50GB free space for logs and updates.

4.3 Performance Optimization

  • Implement Caching and Compression via Web Dispatcher.

  • Optimize OData Services to minimize backend load.

  • Enable Lazy Loading in UI5 apps.

  • Utilize CDS Views for efficient data retrieval.


Conclusion

A well-designed SAP Fiori infrastructure with optimized Web Dispatcher and proper server sizing ensures a robust, scalable, and high-performance environment. Regular upgrades and proactive monitoring further enhance the user experience and system stability. By following the best practices outlined in this guide, organizations can maximize the benefits of SAP Fiori in an embedded setup.

No comments:

Post a Comment

Fiori Development - Style

Okay, here is a rewritten version incorporating the detailed information about developing preformatted layout reports, including a Table of ...