Preparing SAP Fiori Apps

Objective

After completing this lesson, you will be able to prepare SAP Fiori Apps

Task List SAP_FIORI_FOUNDATION_S4

Screenshot of Task List SAP_FIORI_FOUNDATION_S4

The purposes of task list SAP_FIORI_FOUNDATION_S4 are as follows:

  • Activates ICF services and SAP Gateway services required for SAP GUI for HTML and other generic SAP Fiori launchpad features
  • Initializes classic UI technologies (SAP GUI for HTML and WebDynpro ABAP applications)
  • Generates working SAP Fiori launchpad user and admin roles, including composite roles

Caution

Apply the latest version of SAP Note 2712785 before executing task list SAP_FIORI_FOUNDATION_S4.

Some selected tasks of task list SAP_FIORI_FOUNDATION_S4 are explained in more detail in the following sections.

Figures shows Tasks: Activate Miscellaneous ICF Services

Task Activate HTTP services for SAP GUI for HTML (WEBGUI) activates the following ICF services:

  • /sap/public/bc/ur
  • /sap/public/bc/icons
  • /sap/public/bc/icons_rtl
  • /sap/public/bc/webicons
  • /sap/public/bc/pictograms
  • /sap/public/bc/webdynpro/*
  • /sap/bc/gui/sap/its/webgui
  • /sap/bc/gui/sap/its/typeahead
  • /sap/public/bc/its/mimes
  • /sap/bc/apc/sap/webgui_services
  • /sap/public/myssocntl

Task Activate HTTP services for WebClient UI Framework (WCF) activates the following ICF services:

  • /sap/bc/bsp/sap/bsp_dlc_frcmp
  • /sap/bc/bsp/sap/bsp_wd_base
  • /sap/bc/bsp/sap/bspwd_basics
  • /sap/bc/bsp/sap/crm_ui_frame
  • /sap/bc/bsp/sap/crm_ui_start
  • /sap/bc/bsp/sap/crm_ui_sysmsg
  • /sap/bc/bsp/sap/crm_thtmlb_util
  • /sap/bc/bsp/sap/thtmlb_styles
  • /sap/bc/bsp/sap/thtmlb_scripts
  • /sap/bc/bsp/sap/wcf_jquery
  • /sap/webcuif/uif_callback
  • /sap/webcuif/uif_export_tab

Task Activate HTTP services for SAP NW Business Client (NWBC) activates the following ICF services:

  • /sap/bc/nwbc/*
  • /sap/bc/ui2/nwbc/nwbc_api

Task Activate HTTP services for SAP Smart Business Modeler Apps activates the following ICF services:

  • /sap/bc/bsp/sap/sbrt_appss1
  • /sap/bc/bsp/sap/sb_apps_assocs1
  • /sap/bc/bsp/sap/sb_apps_dds1
  • /sap/bc/bsp/sap/sb_apps_evals1
  • /sap/bc/bsp/sap/sb_apps_kpis1
  • /sap/bc/bsp/sap/sb_apps_libs1
  • /sap/bc/bsp/sap/sb_apps_tiles1
  • /sap/bc/bsp/sap/sb_apps_wss1
  • /sap/bc/bsp/sap/ssbtileslibs1
  • /sap/bc/bsp/sap/ssbtiless1
  • /sap/bc/bsp/sap/analyticsdts1
  • /sap/bc/ui5_ui5/sap/sbrt_appss1
  • /sap/bc/ui5_ui5/sap/sb_apps_assocs1
  • /sap/bc/ui5_ui5/sap/sb_apps_dds1
  • /sap/bc/ui5_ui5/sap/sb_apps_evals1
  • /sap/bc/ui5_ui5/sap/sb_apps_kpis1
  • /sap/bc/ui5_ui5/sap/sb_apps_libs1
  • /sap/bc/ui5_ui5/sap/sb_apps_tiles1
  • /sap/bc/ui5_ui5/sap/sb_apps_wss1
  • /sap/bc/ui5_ui5/sap/ssbtileslibs1
  • /sap/bc/ui5_ui5/sap/ssbtiless1
  • /sap/bc/ui5_ui5/sap/analyticsdts1

Task Activate HTTP services for Fiori (Other) activates the following ICF services:

  • /sap/bc/webdynpro/sap/SUI_TM_MM_APP
  • /sap/bw/ina
  • /sap/bw/ina/GetServerInfo
  • /sap/bw/ina/GetResponse
  • /sap/bw/Mime
  • /sap/bc/bsp/sap/sakp_genui_a_s1
  • /sap/public/bc/uics/whitelist
  • /sap/public/bc/icf/systemloginjs
Screenshot from system: Task: Map System Aliases

Task Assign System Alias to S/4 System Alias creates the following aliases in the system:

  • System Alias Mapping (/UI2/V_ALIASMAP): create entries for selected sources from /UI2/V_SYSTEMALIAS (naming pattern NW and S4*); the Target System Alias is maintained empty to map to the local system
  • Customer System Alias (/UI2/VC_SYSALIAS): creates the alias FIORI
Screenshot from system: Task: Replicate Back-End Catalogs

Task Replicate backend catalog for System Aliases creates a background job to execute report /UI2/GET_APP_DESCR_REMOTE_ALL. For details, see the lesson Configuring Classic Applications, section Back-End Catalogs.

Screenshot from system: Tasks: Create Miscellaneous System Aliases

The tasks Create SAP System Aliases 'S4FIN/S4SD', Create SAP System Alias 'FIORI_MENU' and Create SAP System Alias 'LOCAL_TGW' create the given system aliases (if they do not already exist).

  • System aliases S4FIN and S4SD are required for Designer Studio apps.
  • System alias FIORI_MENU is used for the registration of SAP Gateway services /UI2/EASY_ACCESS_MENU and /UI2/USER_MENU in a later configuration step – to access the SAP Easy Access menu.
  • System alias LOCAL_TGW is used for the registration of SAP Gateway service TASKPROCESSING in a later configuration step – relevant for the My Inbox app.
Screenshot from system: Tasks: Configure FLP

A number of tasks configure the SAP Fiori launchpad (FLP) in client-specific mode (maintenance using transaction /UI2/FLP_CUS_CONF). Some settings are listed below; for details, always refer to the task-specific help texts and execution logs.

Task Configure FLP for SAP Easy Access Menu sets the following client-specific FLP configuration settings:

  • APPFINDER_EASYACCESSMENU_SAPMENU = true
  • APPFINDER_EASYACCESSMENU_USERMENU = true
  • FLP_EAM_ALIASES = FIORI_MENU

Task Configure FLP for Navigation (/UI2/FLP_CUS_CONF) sets the following client-specific FLP configuration settings:

  • NAVIGATION_GUI_INPLACE = true
  • NAVIGATION_GUI_STATEFUL_CONTAINER = true
  • NAVIGATION_WDA_INPLACE = true
  • NAVIGATION_HOMETARGET = origin_page

Task Configure FLP for Notification (/UI2/FLP_CUS_CONF) sets the following client-specific FLP configuration settings:

  • NOTIFICATIONS = true
  • NOTIFICATIONS_UI = true

Task Configure FLP for UI5 Apps (/UI2/FLP_CUS_CONF) sets the following client-specific FLP configuration settings:

TIME_ZONE_FROM_SERVER_IN_UI5 = true

Task Activate and Configure FLP for Spaces and Pages (/UI2/FLP_CUS_CONF) sets the following client-specific FLP configuration settings:

  • SPACES = true (if confirmed, see note below)
  • SPACES_CUSTOM_HOME = true
  • SPACES_CUSTOM_HOME_COMPONENT_ID = ux.eng.s4producthomes1
  • SPACES_ENABLE_USER = true
  • SPACES_MYHOME = true
  • UI5_INSIGHTS = true

Note

Without parametrization, the execution of task list SAP_FIORI_FOUNDATION_S4 stops at task Activate and Configure FLP for Spaces and Pages (/UI2/FLP_CUS_CONF) – as of SAP S/4HANA 2023 FPS02. For details, see SAP Note 3324574.

Figures shows you the registeration of SAP Gateway Services for SAP S/4HANA

Task Activate Gateway OData Services Foundation (/IWFND/MAINT_SERVICE) registers the following SAP Gateway services:

  • SMART_BUSINESS_RUNTIME_SRV (processing mode co-deployed)
  • SMART_BUSINESS_DESIGNTIME_SRV (processing mode co-deployed)
  • ESH_SEARCH_SRV (processing mode co-deployed)
  • RSAO_ODATA_SRV (processing mode co-deployed)
  • /UI2/EASY_ACCESS_MENU (processing mode routing-based with alias FIORI_MENU)
  • /UI2/USER_MENU (processing mode routing-based with alias FIORI_MENU)

Note

The registration of SAP Gateway service ESH_SEARCH_SRV causes SAP Fiori search requests to be processed using the OData protocol. If this service is not registered, the SAP proprietary Information Access (InA) protocol is used for search requests.
Screenshot from system: Task: Generate SAP Fiori Foundation Roles

The task Generate Fiori Foundation Roles performs the following:

  • It copies SAP role SAP_FLP_ADMIN into the customer's name-space <Prefix>_FLP_ADMIN
  • It creates a composite role <Prefix>_FLP_ADMIN containing role <Prefix>_FLP_ADMIN
  • It copies SAP role SAP_FLP_USER into the customer's namespace <Prefix>_FLP_USER
  • It creates a composite role <Prefix>_FIORI_FOUNDATION_USER containing role <Prefix>_FLP_USER

Prepare SAP Fiori Apps using Task List SAP_FIORI_FOUNDATION_S4

Business Example

In this exercise, you will perform the required steps to prepare SAP Fiori apps.

Note

In this exercise, when an object name or value contains ##, replace ## with the number your trainer assigned to you.

Task 1: Analyze Task List SAP_FIORI_FOUNDATION_S4

Steps

  1. In your SAP S/4HANA system, generate a task run for task list SAP_FIORI_FOUNDATION_S4 (transaction STC01).

    Caution

    Do not execute the task list yet.
    1. Log on to your SAP system using the train-## user.

    2. Enter transaction STC01.

    3. In the Task List field, select SAP_FIORI_FOUNDATION_S4 and choose Generate Task List Run (F8).

    4. Do not yet execute this task list but do keep this SAP GUI window open.

  2. Read the help for task Activate HTTP services for SAP GUI for HTML (WEBGUI). In a new SAP GUI window, analyze the activation status of some of the listed ICF services.

    1. Choose the Help icon for the task with description Activate HTTP services for SAP GUI for HTML (WEBGUI).

    2. According to the help, this task activates the following ICF services:

      • /sap/public/bc/ur
      • /sap/public/bc/icons
      • /sap/public/bc/icons_rtl
      • /sap/public/bc/webicons
      • /sap/public/bc/pictograms
      • /sap/public/bc/webdynpro/*
      • /sap/bc/gui/sap/its/webgui
      • /sap/bc/gui/sap/its/typeahead
      • /sap/public/bc/its/mimes
      • /sap/bc/apc/sap/webgui_services
      • /sap/public/myssocntl
    3. In a new SAP GUI window, enter transaction SICF.

    4. Choose Execute (F8).

    5. Navigate to some of the listed ICF services (for example /sap/bc/gui/sap/its/webgui) and note their activation status.

      ICF services colored black are active; ICF services colored gray or blue are inactive.

  3. Read the help for task Assign System Alias to S/4 System Alias. In a new SAP GUI window, open the maintenance view for the system alias mapping.

    1. Choose the Help icon for the task with the description Assign System Alias to S/4 System Alias.

    2. According to the help, this task creates system alias mappings (maintenance view /UI2/V_ALIASMAP).

    3. In a new SAP GUI window, start transaction SM30.

    4. As Table/View, enter /UI2/V_ALIASMAP and choose Display.

    5. Note the output: only one entry should exist, mapping source system alias FIORI to target system alias FIORI_FLP.

  4. Read the help for task Replicate backend catalog for System Aliases. In a new SAP GUI window, start the SAP Fiori launchpad content manager and search for catalogs with search pattern _BE_.

    1. Choose the Help icon for the task with the description Replicate backend catalog for System Aliases.

    2. According to the help, this task schedules a background job with program /UI2/GET_APP_DESCR_REMOTE_ALL to replicate back-end catalogs.

    3. In a new SAP GUI window, enter transaction /UI2/FLPCM_CUST.

      Note

      You may have to wait some minutes until the SAP Fiori launchpad content manager is ready to use.
    4. Ensure that the tab Catalogs is selected.

    5. Enter the search term _BE_ and choose Go.

    6. Note the number of available catalogs.

  5. Read the help for tasks Create SAP System Alias 'FIORI_MENU' and Create SAP System Alias 'LOCAL_TGW'. In a new SAP GUI window, open the list of SAP system aliases.

    1. Choose the Help icon for the tasks with the description Create SAP System Alias 'FIORI_MENU' and Create SAP System Alias 'LOCAL_TGW'.

    2. According to the help, these tasks create the following SAP system aliases:

      • FIORI_MENU
      • LOCAL_TGW
    3. In a new SAP GUI window, enter transaction /IWFND/ROUTING.

    4. Note which SAP system aliases are available.

  6. Read the help for task Set Fiori 3 as default theme (/UI2/NWBC_CFG_SAP). In a new SAP GUI window, open the NWBC configuration.

    1. Choose the Help icon for the task with description Set Fiori 3 as default theme (/UI2/NWBC_CFG_SAP).

    2. According to the help, this task creates an entry SAP_FLP in the NWBC configuration.

    3. In a new SAP GUI window, start transaction /UI2/NWBC_CFG_SAP.

    4. Note which configuration settings are available.

Task 2: Execute Task List SAP_FIORI_FOUNDATION_S4

Steps

  1. In your SAP S/4HANA system, execute task list SAP_FIORI_FOUNDATION_S4 (transaction STC01) in background mode with the following parametrization:

    Select the task Activate and Configure FLP for Spaces and Pages (/UI2/FLP_CUS_CONF) and ensure the following settings:

    FieldValue
    SPACEStrue
    Overwrite existing setting (client)Select this option.

    Caution

    Make sure not to hold further locks before starting the execution; you may use transaction SM12 to list locks.
    1. Return to the SAP GUI window with the prepared task list run for task list SAP_FIORI_FOUNDATION_S4.

    2. Select Change Parameters for the task with description Activate and Configure FLP for Spaces and Pages (/UI2/FLP_CUS_CONF).

    3. On the Edit Variants screen, locate section Target setting for client (/UI2/FLP_CUS_CONF). Ensure that for SPACES, true is selected. Select the Overwrite existing setting (client) option. Save this variant and select Back (F3).

    4. Keep all other settings unchanged and choose Start/Resume Task List Run in Background (F9).

    5. You may choose Auto (Set Auto Refresh Timer) to auto-refresh the task list run. Do not change the 60 seconds interval.

      Expect a runtime of about 15 minutes.
  2. After the task list is executed, analyze the activation status of some of the following ICF services:

    • /sap/public/bc/ur
    • /sap/public/bc/icons
    • /sap/public/bc/icons_rtl
    • /sap/public/bc/webicons
    • /sap/public/bc/pictograms
    • /sap/public/bc/webdynpro/*
    • /sap/bc/gui/sap/its/webgui
    • /sap/bc/gui/sap/its/typeahead
    • /sap/public/bc/its/mimes
    • /sap/bc/apc/sap/webgui_services
    • /sap/public/myssocntl
    1. Enter transaction SICF.

    2. Choose Execute (F8).

    3. Navigate to some of the listed ICF services (for example, /sap/bc/gui/sap/its/webgui) and note their activation status.

  3. Open the maintenance view for the system alias mapping.

    1. Enter transaction SM30.

    2. In the Table/View field, enter /UI2/V_ALIASMAP and choose Display.

    3. Note the system alias mapping entries.

  4. Start the SAP Fiori launchpad content manager and search for catalogs with search pattern _BE_.

    1. Enter transaction /UI2/FLPCM_CUST.

    2. Ensure that the tab Catalogs is selected.

    3. Enter the search term _BE_ and choose Go.

    4. Note the number of available catalogs.

  5. Open the list of SAP system aliases.

    1. Start transaction /IWFND/ROUTING.

    2. Note the added SAP system aliases.

  6. Open the NWBC configuration.

    1. Enter transaction /UI2/NWBC_CFG_SAP.

    2. Note the entry SAP_FLP.

Log in to track your progress & complete quizzes