Please find other blogs as follows at S/4HANA SQUARE ONE

SAP S/4HANA  SQUARE  ONE

NEW INSTALLATION     PART1 – MP PART2 –  Installation
PART3 –  BP Activation
PART4 – Fiori Activation PART5 – DATA MIGRATION
S/4HANA 2020 fps1 fps0 fps1 fps0 fps1 fps0 fps1 fps0 fps0
S/4HANA 1909 fps2 fps1  fps0  fps2 fps1  fps0 fps2 fps1  fps0 fps2 fps1  fps0 fps0
S/4HANA 1809 fps2  fps1  fps0 fps2  fps1  fps0 fps2  fps1  fps0 fps2  fps1  fps0  
S/4HANA 1709
fps2  fps1  fps0 fps2  fps1  fps0 fps2  fps1  fps0    
UPGRADE   t2 – MP t3 – SIC
t4 – CCM t5 – SUM
S/4HANA 1809+ link link link link
SYSTEM CONVERSION t2 –  RC t3 – MP t4 – SIC
t5 – CCM t6 – SUM 
S/4HANA 1909+ rc2
bsr
link link link prepare
EHP6/mss
S/4HANA 1809
rc2 link link link EHP7/hdb
EHP6/db6
EHP5/ora
EHP6/mss
SAP S/4HANA ON-PREM APPLIANCE INSTALL USING MEDIA ACTIVATE FROM CAL
S/4HANA 1909+ link custom link standard link
SAP S/4HANA CERTIFICATION  
S/4HANA Certification Exams through SAP Certification Hub link

Here is the Video for this blog based on SAP S/4HANA 1909 FPS0 (Not SAP S/4HANA 2020 FPS2 but process is similar):  

The blog is based on SAP Note 3045635 – Composite SAP note: Rapid Activation for SAP Fiori in SAP S/4HANA 2020 FPS02 Please use the blog only as a reference and follow the actual note which may have been updated.

Please find the rough sketch of steps. There are 3 sets of steps that are separated by thick line. Your feedback is welcome on duration estimates. Activate Enterprise Search is kicked off and while it is running, further steps are done.

TIP: For notes applicable to other releases, please check the SAP Note 2902673 – Rapid Activation for SAP Fiori in SAP S/4HANA – Overview

In this blog the text is shown in this COLOR it is for selection and copy/paste

STEP 1: CHECK SAP FIORI UI COMPONENTS

(A) Enter tCode SPAM -> button Package Level, tab (1) Installed Product Versions, Check the below Product versions are installed – (2) SAP S/4HANA 2020 FPS2 or higher and (3) SAP FIORI FOR S/4HANA 2020 FPS2 SAP FIORI FRONT-END SERVER 2020 SPS01.

(B) The S/4HANA system has to be with embedded Fiori deployment as per SAP Note 3045635 – Composite SAP note: Rapid Activation for SAP Fiori in SAP S/4HANA 2020 FPS02

(C) Ensure that SGEN is already completed on the system

(D) Proper ICF/ICM setup including FQDN 

(E) Ensure the system is configured for SSL

icm/server_port_0 = PROT=HTTP,PORT=80$$,PROCTIMEOUT=600,TIMEOUT=600
icm/server_port_1 = PROT=HTTPS,PORT=443$$,PROCTIMEOUT=600,TIMEOUT=600
icm/server_port_2 = PROT=SMTP,PORT=25000,TIMEOUT=180

(F) Suggested memory parameters. The strategy here is to double the memory parameter until runtime errors do not occur any more. You can reset back these memory parameters after activation. You can copy and paste lines into instance profile.

abap/buffersize = 2500000                      # Fiori Rapid Activation  Help Doc

(G) Increase wprun timeout:

rdisp/max_wprun_time = 3600

(H) Please ensure that web dispatcher is setup correctly and working as it will be required before users can use the applications by logging in through the web dispatcher. Follow SAP Note 2740052 – Which paths are necessary to configure Web Dispatcher for Fiori Launchpad scenarios?

(I) Apply the notes below through SNOTE. (notes 2510134, 2686456 and 2813396 cannot be implemented as corrections through SNOTE as of 26 Feb 2021 but this may change later)

SAP Note 2510134 – Fiori Setup: Updates for task lists for Gateway/Fiori configuration
(for Tasklist SAP_GW_FIORI_ERP_ONE_CLNT_SETUP)
SAP Note 2712785 – Fiori Setup: Initial Setup for Fiori Applications S/4             IMPORTANT !
(for Tasklist SAP_FIORI_FOUNDATION_S4)
SAP Note 2686456 – Fiori Setup: Content Activation for SAP Business Roles
(for Tasklist SAP_FIORI_CONTENT_ACTIVATION)
SAP Note 2813396 – Fiori Setup: Content Activation for Business Roles
(for Tasklist SAP_FIORI_FCM_CONTENT_ACTIVATION)

STEP 2: ACTIVATE ENTERPRISE SEARCH

In Work client, enter tCode STC01 – SAP_ESH_INITIAL_SETUP_WRK_CLIENT

TIP: All tasklists in this blog are to be performed in the work client


(A)  Select Models to Create Connectors” -> specify software component for search models:  SAPAPPLH

(B)  Leave default at SAP Use SAP HANA Primary DB Connection : DEFAULT

Execute task and select Background, the job will run for 1.5 Hours or more (New Installation on S/4HANA with approved hardware and Software Component SAPAPPLH only before data migration).

If you get error – Internal session terminated with a runtime error PXA_NO_FREE_SPACE (see ST22) please refer Note 2149849 – Runtime error PXA_NO_FREE_SPACE on ESH software component update which refers Note 147568 – PXA_NO_FREE_SPACE
Ensure  PXA value in SAP profile abap/buffersize is enhanced, e.g. to 2.500.000 kB (Documentation)

TIP: While the Activate Enterprise Search task list is in progress in background you can do the activities form STEP 3 – 8 in parallel. The Fiori Content Activation task list should be done after the enterprise search is completed.

After task completion, the screen should look like this:

STEP 3: INSTALL DEPENDENT NOTES

Please install the Notes as below in Client 000:

  1. Note 1322182 – Memory consumption of ABAP Shared Objects
    In tCode RZ11 check profile parameter abap/shared_objects_size_MB.  I have this value set to 512. Keep in mind that if you get runtime error SYSTEM_NO_SHM_MEMORY or unhandled exception of type CX_SHM_OUT_OF_MEMORY you will have to increase this parameter. Alternatively you can set the automatic memory parameter PHYS_MEMSIZE.

STEP 4: INITIALLY FILL CUSTOMER TABLES

Enter tCode SU25, Make sure Step 1 “Initially fill the Customer Tables” has been at least executed two times. If date/time entry for this step is empty, click on the step and press execute (with default settings). Ref Note 440231 – SU25 | FAQ: Upgrade postprocessing for Profile Generator


Click on Execute
You should get application help dialog message that it will take several hours and log below. If not execute the same procedure second time and get the numbers as below.

Execute the same procedure second time and get the numbers as below.

STEP 5: ACTIVATE SAP S/4HANA EMBEDDED ANALYTICS

Ensure logical client is assigned to target client in SCC4

Execute manual steps as per Note 2289865 – Configuration steps for S/4HANA Analytics as shown below in work Client 100.

  1. Prerequisites: Check function module tCode SE16 table RSADMINA field BWMANDT in table RSADMINA isn’t filled.

    If above is not set, use tCode SE37  RS_MANDT_UNIQUE_SET to set value of I_MANDT = 100

    After above command is executed please check the value of BWMANDT in SE16 table RSADMINA
  2. In Client 100, Execute task list STC01 SAP_BW_SETUP_INITIAL_S4HANA.
  3. In the first step confirm that you have read the SAP Note 2303900 – Latest Information about BW Setup in S/4HANA Systems
  4. In the step Set/Check BW Client enter the BW Client number, and in the step Install essential BW Content checkmark on Force Installation. The task list will run for less than 15 minutes.

  5. Please do remaining optional steps as per the note for Hierarchies – 0YEA_QUA_MON_DAY0YEA_MON_DAY & 0WEEK_DAY
  6. Configuration of Design Studio Template
    Activate the following services
    /sap/bw/ina
    /sap/bw/Mime

STEP 6: ACTIVATE GATEWAY & FIORI ONE CLIENT SETUP

Check that note is applied as per STEP 1 –  SAP Note 2510134 – Fiori Setup: Updates for task lists for Gateway/Fiori configuration

enter tCode STC01 – SAP_GW_FIORI_ERP_ONE_CLNT_SETUP

After task completion which takes about 20 seconds, the screen should look like this

STEP 7: RUN FIORI FOUNDATION TASKLIST

Check that Note is applied as per STEP 1 – SAP Note 2712785 – Fiori Setup: Initial Setup for Fiori Applications S/4

In Work Client, enter tCode STC01 – SAP_FIORI_FOUNDATION_S4
This task list activates (1) ICF Nodes (2) ODATA Services required for WebGUI and other generic Fiori launchpad features, (3) Initializes classic UI technologies, (4) Generates working SAP Fiori launchpad user & admin roles including composite roles.

Please run this task in Foreground so its easy to handle if error occurs in nest screen. For the task Set Fiori 3 as default theme – by default sap_belize theme is activated. To switch to Fiori 3 theme go to change mode and open the task UI to set the overwrite flag and save. The difference between the two themes is below:


In case you get error as below, the error may be due to generation not finished. After few minutes, go back and reexecute the task. After tasks are completed, the screen should look like below.

Enable Analysis Path Framework (APF) apps, by adding a missing authorization via transaction PFCG edit role Z_FLP_USER – change button, Authorizations tab, Change Authorization Data button,  (1) Click Manually, (2) Add Auth Object /UIF/LREP . Edit -> /UIF/ROLE = select using checkmark APFUSER and  Save (3) Generate and go back.

Similarly add below to Admin profile Z_FLP_ADMIN – Add Auth Object /UIF/LREP -> Edit  /UIF/ROLE = select using checkmark APFADMIN and Save. Generate and go back.

STEP 8: VALIDATION

Add role Z_FIORI_FOUNDATION_ADMIN and role Z_FLP_ADMIN to a test user.

Test using tcode /UI2/FLP or directly via url: https://vhcals4hci.dummy.nodomain:44300/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html 

You should get screen below:
Click on the (1) Icon on top right and select (2) App Finder, you should get screen below

STEP 9: PREPARE LIST OF BUSINESS ROLES

From Fiori app reference library identify relevant business roles for activation. We will select all roles for the sandbox but you can restrict to only the required roles.

Select All apps for SAP S/4HANAby Back-End ProductSAP S/4HANA

IMPORTANT TIP: In case you want to select all the Roles for certain scope items activated like BKP, 1Z3, 3QD, 1GA…. etc then click on the filter icon shown above and select the Scope Items.

(A) Select all (or alternatively you can select the roles you need), (B) Aggregate, (C) SAP S/4HANA 2020 FPS2, (D) Down Arrow, (E) Download

Click on Export list of Business Roles (478 roles for SAP S/4HANA 2020 FPS2 currently) and save the list as csv file. The number of roles may be different as new roles may be added or old ones deprecated.

Split the list of roles into lists with number of roles limit around 100. Also prepare separate list for roles with presteps. So you must have at least 4-5 lists of roles that you want to use for next step considering you want to activate all roles.

TIP: In case you have selected below roles, you may find it convenient to remove the below roles and activate them separately as they need some pre-steps.

ROLE COMMENT
SAP_FND_BCR_MANAGER_T
SAP_HCMFAB_BCR_EMPLOYEE_T
SAP_HCMFAB_BCR_MANAGER_T
SAP_MDG_BCR_APPROVER_T
SAP_MDG_BCR_REQUESTOR_T
RESOLUTION: Activate using task list SAP_FIORI_FCM_CONTENT_ACTIVATION
SAP_FLP_ADMIN
SAP_HR_BCR_EMPLOYEE_T
SAP_HR_BCR_MANAGER_T
SAP_INTNW_BASIS_TCR_T
These roles are not available in S/4HANA although they are output from Fiori App Library and this will be fixed later.
SAP_BR_PA_REPRESENTATIVE Service: NPA_BILLINGEXCPTN_SRV 1 failed  / ICF Node: not available
RESOLUTION: Please do not use this role
SAP_BR_MASTER_DATA_IOG Service: UPS_MNG_HIERARCHY 1 failed / ICF Node: not available
RESOLUTION: Activate Business Function  OIL_UOM_UPST_CI_4 (BF)
SAP_BR_BILLING_CLERK_IOG
SAP_BR_BILLING_SPECIALIST_ISU
SAP_BR_BUSINESS_ANALYST_IOG
SAP_BR_DEFERMENT_ANALYST_IOG
SAP_BR_FC_ANALYST_PROD_IOG
SAP_BR_FIELD_OPERATOR_IOG
SAP_BR_FORECAST_MANAGER_IOG
SAP_BR_FORECAST_SPECIALIST_IOG
SAP_BR_HYDROCARBON_ANALYST_IOG
SAP_BR_SHIPPING_SPECIALIST_IOG
SAP_BR_SUPPLYCHAIN_MANAGER_IOG
SAP_BR_TERMINAL_OPERATOR_IOG
SAP_BR_TRANSP_SCHDLR_IOG

skipped – Business Function/Switch is not enabled

SAP_BR_MASTER_DATA_IOGService: UPS_MNG_HIERARCHY 1 failed / ICF Node: not available
RESOLUTION: Activate Business Function as per SAP Note 3045635 – Composite SAP note: Rapid Activation for SAP Fiori in SAP S/4HANA 2020 FPS02

 

SAP_BR_OPERATION_CLERK_ACM
SAP_BR_SETTLEMENT_CLERK_ACM
SAP_BR_TRADER_ACM
Service: ACM_CNTRCTSNP 1 failed / ICF Node: not available
RESOLUTION: Activate affected OData Services manually (via transaction /IWFND/MAINT_SERVICE).

TIP: In case you get typical error message like – Service: C_SRVCCONTRFINQUERY_2_CDS 1 failed / ICF Node: not available. For detailed analysis activate failed service manually with transaction /IWFND/MAINT_SERVICE, please follow steps as below:

Enter tCode /n/IWFND/MAINT_SERVICE

Enter (1) Technical Service Name as C_SRVCCONTRFIN*, (2) Checkmark on Co-Deployed, (3) Click on Get Services, (4) Select the service C_SRVCCONTRFINQUERY_2_CDS and then click on (5) Add Selected Services

Click on Local Object.

TIP: You should prepare your own list of roles. I have prepared a list of roles for S/4HANA releases that is shared in the link.  There are 4 files for roles that were downloaded from Fiori App Library – the fourth list contains the 1 roles that require presteps.If you get error one time rerun the same list second time. All these lists are available also in a spreadsheet S4HANA2020FPS2_FioriRapidActivation_BusinessRoles.xls

As per the files from the link as shown below, the Master list excel file contains all the roles. These roles are split into 4 text files. You can select roles from text file S4HANA2020FPS2_FioriRapidActivation_BusinessRoles_List1.txt and activate the these 150 roles. The you can take the second file and activate the 155 roles. After that you can select the file 3 with 159 roles. The 4th file contains 17 roles, out of these first 5 roles can be activated through task list SAP_FIORI_FCM_CONTENT_ACTIVATION. Some roles we are awaiting solution.

Here is the time it took for my activation. This may need time for second re-run as you may get error on first run and timing will be updated later.

FILE #_OF_ROLES FIRST RUN
List1 149 1hr20min
List2 150 1hr40min
List3 151 2hr20min
List4_withPreStep (in parallel with List3, excluding time for BF activation ) 19 20min
TOTAL... 469. 5hrs 40min

STEP 10: ACTIVATE FIORI CONTENT

TIP: Before scheduling Content Activation task list ensure that task list for Activate Enterprise Search from STEP 2 is completed.

Check that note is applied as per STEP 1 – SAP Note 2686456 – Fiori Setup: Content Activation for SAP Business Roles

In Work Client, enter tCode STC01 – SAP_FIORI_CONTENT_ACTIVATION

The 480 roles in SAP S4HANA 2020 as you see below have many country specific roles like SAP_BR_AA_ACCOUNTANT_JP , etc. There are 12 roles just with *_JP. So don’t try to activate all roles as they are country specific and industry specific. We strongly recommend to customers to do a conscious decision about the role scope to be activated.

In the first task, (A) checkmark first task, (B) Click on Parameter and paste the list into the box that pops up, click on OK (Continue) at the bottom of the Define Business Roles” dialog window, and then click on (C) execute.


After clicking OK for the first task, if there are errors as below, please remove the roles that have no SAP Business Role and move the others into list that requires presteps and handle them separately.

Please see below for triggering activation of 100 roles:

Please note that there are 5 roles which are to be activated using task list STC01 – SAP_FIORI_FCM_CONTENT_ACTIVATION

TIP NO 1: Run the task list above in background (use menu option). While the task list is running, please check dumps in ST22 in separate session.

TIP NO 2: If all ODATA/SICF are activated for the first time, each group of  about 150 roles takes about one hour +. But if you get an error and then you reactivate the same list it should be done in few minutes. If some ODATA services are already activated the time required should be reduced accordingly.

TIP NO 3: TIME SAVING TECHNIQUE – Once you have the list of roles, you can split the roles into multiple lists like say if you have 200 roles, split them into 2 sets of 100 roles. You can then create 2 separate sessions and run the task list. Keeping the number of roles in these 2 sessions unequal will help to know the session, like keep 98 roles in first session and 102 helps to distinguish them. I had to increase the parameter abap/shared_objects_size_MB = 512 to 768 to run parallel session. Alternatively you can set the automatic memory parameter PHYS_MEMSIZE.

TIP NO 4: After activating a role like for example SAP_BR_AP_MANAGER, if the ODATA/SICF are already activated, the delta role SAP_BR_AP_MANAGER_US takes much shorter time as some services are already activated. So as a result your subsequent lists will take lesser time than earlier ones.

TIP NO 5: If you get error first time, please try with same list second time and some errors may go away. Like the below list of errors reduced to no errors for second run. One of the reasons for this is – the service activation is a generation and can finish successfully later on after the logs show error. So on retry the activation finished successfully.

TIP NO 6: For the subsequent activation run, if you get error Not enough shared memory exists, you can clear the shared memry in tCode SHMM. If you dont have access to SHMM or if there is possibility of impacting other users and processes, easiest way is to logout and login. If this does not work, double the parameter abap/shared_objects_size_MB = 512 as per Note 2766677 – Not enough shared objects memory exists, will require SAP bounce.

At the end of activation you should see result as below:

STEP 11: POST ACTIVATION

Please ensure that web dispatcher is setup correctly and working as it will be required before users can use the applications by logging in through the web dispatcher.

TIP: As a Post Activation step you can revert back Memory Parameters that were temporarily increased for activation.

COMPONENT FOR INCIDENTS:

You can open OSS messages using component BC-INS-TC-CNT
Please mention the SAP Fiori UI software components

LANDSCAPE CONSIDERATIONS:

There is a transport capability added to the Fiori launchpad content manager task list SAP_FIORI_FCM_CONTENT_ACTIVATION

Please refer the blog for more information: SAP Fiori for SAP S/4HANA – New Rapid Content Activation on S/4HANA 1909, 1809 & 1709 – Part 4 – Customize & Transport

You can also refer the Fiori Launchpad Content Manager as per SAP Help Portal below: https://help.sap.com/viewer/d4650bf68a9f4f67a1fda673f09926a9/latest/en-US/c2f3f66fc2e04f3ea5ede6bcd4d087ec.html 

OTHER REFERENCES:

For a more detailed description of all tasks please refer to the excellent blogs

Fiori for S/4HANA – New Rapid Content Activation on S/4HANA 1809 & 1709 – Part 1 – Overview
Fiori for S/4HANA – New Rapid Content Activation on S/4HANA 1809 & 1709 – Part 2 – Prerequisites & Foundation
Fiori for S/4HANA – New Rapid Content Activation on S/4HANA 1809 & 1709 – Part 3 Scope & Execute Content Activation
Fiori for S/4HANA – New Rapid Content Activation on S/4HANA 1809 & 1709 – Part 4 – Customize & Transport

SAP Fiori for SAP S/4HANA – SAP Fiori Rapid Activation: Transport from Development to Production systems
SAP Fiori for SAP S/4HANA – Transition from Standalone to Embedded Deployment in SAP S/4HANA

UI Technology Guide

Note 2902673 – Rapid Activation for SAP Fiori in SAP S/4HANA – Overview    <=Contains all release specific notes

Thank you. Hope you enjoyed the blog !

Mahesh Sardesai
Product Expert – S/4HANA Solutions

Brought to you by the SAP S/4HANA Regional Implementation Group

 Please find other blogs as follows at S/4HANA SQUARE ONE

SAP S/4HANA  SQUARE  ONE

NEW INSTALLATION     PART1 – MP PART2 –  Installation
PART3 –  BP Activation
PART4 – Fiori Activation PART5 – DATA MIGRATION
S/4HANA 2020 fps1 fps0 fps1 fps0 fps1 fps0 fps1 fps0 fps0
S/4HANA 1909 fps2 fps1  fps0  fps2 fps1  fps0 fps2 fps1  fps0 fps2 fps1  fps0 fps0
S/4HANA 1809 fps2  fps1  fps0 fps2  fps1  fps0 fps2  fps1  fps0 fps2  fps1  fps0  
S/4HANA 1709
fps2  fps1  fps0 fps2  fps1  fps0 fps2  fps1  fps0    
UPGRADE   t2 – MP t3 – SIC
t4 – CCM t5 – SUM
S/4HANA 1809+ link link link link
SYSTEM CONVERSION t2 –  RC t3 – MP t4 – SIC
t5 – CCM t6 – SUM 
S/4HANA 1909+ rc2
bsr
link link link prepare
EHP6/mss
S/4HANA 1809
rc2 link link link EHP7/hdb
EHP6/db6
EHP5/ora
EHP6/mss
SAP S/4HANA ON-PREM APPLIANCE INSTALL USING MEDIA ACTIVATE FROM CAL
S/4HANA 1909+ link custom link standard link
SAP S/4HANA CERTIFICATION  
S/4HANA Certification Exams through SAP Certification Hub link

Here is the Video for this blog based on SAP S/4HANA 1909 FPS0 (Not SAP S/4HANA 2020 FPS2 but process is similar):  

The blog is based on SAP Note 3045635 – Composite SAP note: Rapid Activation for SAP Fiori in SAP S/4HANA 2020 FPS02 Please use the blog only as a reference and follow the actual note which may have been updated.

Please find the rough sketch of steps. There are 3 sets of steps that are separated by thick line. Your feedback is welcome on duration estimates. Activate Enterprise Search is kicked off and while it is running, further steps are done.

TIP: For notes applicable to other releases, please check the SAP Note 2902673 – Rapid Activation for SAP Fiori in SAP S/4HANA – Overview

In this blog the text is shown in this COLOR it is for selection and copy/paste

STEP 1: CHECK SAP FIORI UI COMPONENTS

(A) Enter tCode SPAM -> button Package Level, tab (1) Installed Product Versions, Check the below Product versions are installed – (2) SAP S/4HANA 2020 FPS2 or higher and (3) SAP FIORI FOR S/4HANA 2020 FPS2 SAP FIORI FRONT-END SERVER 2020 SPS01.

(B) The S/4HANA system has to be with embedded Fiori deployment as per SAP Note 3045635 – Composite SAP note: Rapid Activation for SAP Fiori in SAP S/4HANA 2020 FPS02

(C) Ensure that SGEN is already completed on the system

(D) Proper ICF/ICM setup including FQDN 

(E) Ensure the system is configured for SSL

icm/server_port_0 = PROT=HTTP,PORT=80$$,PROCTIMEOUT=600,TIMEOUT=600
icm/server_port_1 = PROT=HTTPS,PORT=443$$,PROCTIMEOUT=600,TIMEOUT=600
icm/server_port_2 = PROT=SMTP,PORT=25000,TIMEOUT=180

(F) Suggested memory parameters. The strategy here is to double the memory parameter until runtime errors do not occur any more. You can reset back these memory parameters after activation. You can copy and paste lines into instance profile.

abap/buffersize = 2500000                      # Fiori Rapid Activation  Help Doc

(G) Increase wprun timeout:

rdisp/max_wprun_time = 3600

(H) Please ensure that web dispatcher is setup correctly and working as it will be required before users can use the applications by logging in through the web dispatcher. Follow SAP Note 2740052 – Which paths are necessary to configure Web Dispatcher for Fiori Launchpad scenarios?

(I) Apply the notes below through SNOTE. (notes 2510134, 2686456 and 2813396 cannot be implemented as corrections through SNOTE as of 26 Feb 2021 but this may change later)

SAP Note 2510134 – Fiori Setup: Updates for task lists for Gateway/Fiori configuration
(for Tasklist SAP_GW_FIORI_ERP_ONE_CLNT_SETUP)
SAP Note 2712785 – Fiori Setup: Initial Setup for Fiori Applications S/4             IMPORTANT !
(for Tasklist SAP_FIORI_FOUNDATION_S4)
SAP Note 2686456 – Fiori Setup: Content Activation for SAP Business Roles
(for Tasklist SAP_FIORI_CONTENT_ACTIVATION)
SAP Note 2813396 – Fiori Setup: Content Activation for Business Roles
(for Tasklist SAP_FIORI_FCM_CONTENT_ACTIVATION)

STEP 2: ACTIVATE ENTERPRISE SEARCH

In Work client, enter tCode STC01 – SAP_ESH_INITIAL_SETUP_WRK_CLIENT

TIP: All tasklists in this blog are to be performed in the work client


(A)  Select Models to Create Connectors” -> specify software component for search models:  SAPAPPLH

(B)  Leave default at SAP Use SAP HANA Primary DB Connection : DEFAULT

Execute task and select Background, the job will run for 1.5 Hours or more (New Installation on S/4HANA with approved hardware and Software Component SAPAPPLH only before data migration).

If you get error – Internal session terminated with a runtime error PXA_NO_FREE_SPACE (see ST22) please refer Note 2149849 – Runtime error PXA_NO_FREE_SPACE on ESH software component update which refers Note 147568 – PXA_NO_FREE_SPACE
Ensure  PXA value in SAP profile abap/buffersize is enhanced, e.g. to 2.500.000 kB (Documentation)

TIP: While the Activate Enterprise Search task list is in progress in background you can do the activities form STEP 3 – 8 in parallel. The Fiori Content Activation task list should be done after the enterprise search is completed.

After task completion, the screen should look like this:

STEP 3: INSTALL DEPENDENT NOTES

Please install the Notes as below in Client 000:

  1. Note 1322182 – Memory consumption of ABAP Shared Objects
    In tCode RZ11 check profile parameter abap/shared_objects_size_MB.  I have this value set to 512. Keep in mind that if you get runtime error SYSTEM_NO_SHM_MEMORY or unhandled exception of type CX_SHM_OUT_OF_MEMORY you will have to increase this parameter. Alternatively you can set the automatic memory parameter PHYS_MEMSIZE.

STEP 4: INITIALLY FILL CUSTOMER TABLES

Enter tCode SU25, Make sure Step 1 “Initially fill the Customer Tables” has been at least executed two times. If date/time entry for this step is empty, click on the step and press execute (with default settings). Ref Note 440231 – SU25 | FAQ: Upgrade postprocessing for Profile Generator


Click on Execute
You should get application help dialog message that it will take several hours and log below. If not execute the same procedure second time and get the numbers as below.

Execute the same procedure second time and get the numbers as below.

STEP 5: ACTIVATE SAP S/4HANA EMBEDDED ANALYTICS

Ensure logical client is assigned to target client in SCC4

Execute manual steps as per Note 2289865 – Configuration steps for S/4HANA Analytics as shown below in work Client 100.

  1. Prerequisites: Check function module tCode SE16 table RSADMINA field BWMANDT in table RSADMINA isn’t filled.

    If above is not set, use tCode SE37  RS_MANDT_UNIQUE_SET to set value of I_MANDT = 100

    After above command is executed please check the value of BWMANDT in SE16 table RSADMINA
  2. In Client 100, Execute task list STC01 SAP_BW_SETUP_INITIAL_S4HANA.
  3. In the first step confirm that you have read the SAP Note 2303900 – Latest Information about BW Setup in S/4HANA Systems
  4. In the step Set/Check BW Client enter the BW Client number, and in the step Install essential BW Content checkmark on Force Installation. The task list will run for less than 15 minutes.

  5. Please do remaining optional steps as per the note for Hierarchies – 0YEA_QUA_MON_DAY0YEA_MON_DAY & 0WEEK_DAY
  6. Configuration of Design Studio Template
    Activate the following services
    /sap/bw/ina
    /sap/bw/Mime

STEP 6: ACTIVATE GATEWAY & FIORI ONE CLIENT SETUP

Check that note is applied as per STEP 1 –  SAP Note 2510134 – Fiori Setup: Updates for task lists for Gateway/Fiori configuration

enter tCode STC01 – SAP_GW_FIORI_ERP_ONE_CLNT_SETUP

After task completion which takes about 20 seconds, the screen should look like this

STEP 7: RUN FIORI FOUNDATION TASKLIST

Check that Note is applied as per STEP 1 – SAP Note 2712785 – Fiori Setup: Initial Setup for Fiori Applications S/4

In Work Client, enter tCode STC01 – SAP_FIORI_FOUNDATION_S4
This task list activates (1) ICF Nodes (2) ODATA Services required for WebGUI and other generic Fiori launchpad features, (3) Initializes classic UI technologies, (4) Generates working SAP Fiori launchpad user & admin roles including composite roles.

Please run this task in Foreground so its easy to handle if error occurs in nest screen. For the task Set Fiori 3 as default theme – by default sap_belize theme is activated. To switch to Fiori 3 theme go to change mode and open the task UI to set the overwrite flag and save. The difference between the two themes is below:


In case you get error as below, the error may be due to generation not finished. After few minutes, go back and reexecute the task. After tasks are completed, the screen should look like below.

Enable Analysis Path Framework (APF) apps, by adding a missing authorization via transaction PFCG edit role Z_FLP_USER – change button, Authorizations tab, Change Authorization Data button,  (1) Click Manually, (2) Add Auth Object /UIF/LREP . Edit -> /UIF/ROLE = select using checkmark APFUSER and  Save (3) Generate and go back.

Similarly add below to Admin profile Z_FLP_ADMIN – Add Auth Object /UIF/LREP -> Edit  /UIF/ROLE = select using checkmark APFADMIN and Save. Generate and go back.

STEP 8: VALIDATION

Add role Z_FIORI_FOUNDATION_ADMIN and role Z_FLP_ADMIN to a test user.

Test using tcode /UI2/FLP or directly via url: https://vhcals4hci.dummy.nodomain:44300/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html 

You should get screen below:
Click on the (1) Icon on top right and select (2) App Finder, you should get screen below

STEP 9: PREPARE LIST OF BUSINESS ROLES

From Fiori app reference library identify relevant business roles for activation. We will select all roles for the sandbox but you can restrict to only the required roles.

Select All apps for SAP S/4HANAby Back-End ProductSAP S/4HANA

IMPORTANT TIP: In case you want to select all the Roles for certain scope items activated like BKP, 1Z3, 3QD, 1GA…. etc then click on the filter icon shown above and select the Scope Items.

(A) Select all (or alternatively you can select the roles you need), (B) Aggregate, (C) SAP S/4HANA 2020 FPS2, (D) Down Arrow, (E) Download

Click on Export list of Business Roles (478 roles for SAP S/4HANA 2020 FPS2 currently) and save the list as csv file. The number of roles may be different as new roles may be added or old ones deprecated.

Split the list of roles into lists with number of roles limit around 100. Also prepare separate list for roles with presteps. So you must have at least 4-5 lists of roles that you want to use for next step considering you want to activate all roles.

TIP: In case you have selected below roles, you may find it convenient to remove the below roles and activate them separately as they need some pre-steps.

ROLE COMMENT
SAP_FND_BCR_MANAGER_T
SAP_HCMFAB_BCR_EMPLOYEE_T
SAP_HCMFAB_BCR_MANAGER_T
SAP_MDG_BCR_APPROVER_T
SAP_MDG_BCR_REQUESTOR_T
RESOLUTION: Activate using task list SAP_FIORI_FCM_CONTENT_ACTIVATION
SAP_FLP_ADMIN
SAP_HR_BCR_EMPLOYEE_T
SAP_HR_BCR_MANAGER_T
SAP_INTNW_BASIS_TCR_T
These roles are not available in S/4HANA although they are output from Fiori App Library and this will be fixed later.
SAP_BR_PA_REPRESENTATIVE Service: NPA_BILLINGEXCPTN_SRV 1 failed  / ICF Node: not available
RESOLUTION: Please do not use this role
SAP_BR_MASTER_DATA_IOG Service: UPS_MNG_HIERARCHY 1 failed / ICF Node: not available
RESOLUTION: Activate Business Function  OIL_UOM_UPST_CI_4 (BF)
SAP_BR_BILLING_CLERK_IOG
SAP_BR_BILLING_SPECIALIST_ISU
SAP_BR_BUSINESS_ANALYST_IOG
SAP_BR_DEFERMENT_ANALYST_IOG
SAP_BR_FC_ANALYST_PROD_IOG
SAP_BR_FIELD_OPERATOR_IOG
SAP_BR_FORECAST_MANAGER_IOG
SAP_BR_FORECAST_SPECIALIST_IOG
SAP_BR_HYDROCARBON_ANALYST_IOG
SAP_BR_SHIPPING_SPECIALIST_IOG
SAP_BR_SUPPLYCHAIN_MANAGER_IOG
SAP_BR_TERMINAL_OPERATOR_IOG
SAP_BR_TRANSP_SCHDLR_IOG

skipped – Business Function/Switch is not enabled

SAP_BR_MASTER_DATA_IOGService: UPS_MNG_HIERARCHY 1 failed / ICF Node: not available
RESOLUTION: Activate Business Function as per SAP Note 3045635 – Composite SAP note: Rapid Activation for SAP Fiori in SAP S/4HANA 2020 FPS02

 

SAP_BR_OPERATION_CLERK_ACM
SAP_BR_SETTLEMENT_CLERK_ACM
SAP_BR_TRADER_ACM
Service: ACM_CNTRCTSNP 1 failed / ICF Node: not available
RESOLUTION: Activate affected OData Services manually (via transaction /IWFND/MAINT_SERVICE).

TIP: In case you get typical error message like – Service: C_SRVCCONTRFINQUERY_2_CDS 1 failed / ICF Node: not available. For detailed analysis activate failed service manually with transaction /IWFND/MAINT_SERVICE, please follow steps as below:

Enter tCode /n/IWFND/MAINT_SERVICE

Enter (1) Technical Service Name as C_SRVCCONTRFIN*, (2) Checkmark on Co-Deployed, (3) Click on Get Services, (4) Select the service C_SRVCCONTRFINQUERY_2_CDS and then click on (5) Add Selected Services

Click on Local Object.

TIP: You should prepare your own list of roles. I have prepared a list of roles for S/4HANA releases that is shared in the link.  There are 4 files for roles that were downloaded from Fiori App Library – the fourth list contains the 1 roles that require presteps.If you get error one time rerun the same list second time. All these lists are available also in a spreadsheet S4HANA2020FPS2_FioriRapidActivation_BusinessRoles.xls

As per the files from the link as shown below, the Master list excel file contains all the roles. These roles are split into 4 text files. You can select roles from text file S4HANA2020FPS2_FioriRapidActivation_BusinessRoles_List1.txt and activate the these 150 roles. The you can take the second file and activate the 155 roles. After that you can select the file 3 with 159 roles. The 4th file contains 17 roles, out of these first 5 roles can be activated through task list SAP_FIORI_FCM_CONTENT_ACTIVATION. Some roles we are awaiting solution.

Here is the time it took for my activation. This may need time for second re-run as you may get error on first run and timing will be updated later.

FILE #_OF_ROLES FIRST RUN
List1 149 1hr20min
List2 150 1hr40min
List3 151 2hr20min
List4_withPreStep (in parallel with List3, excluding time for BF activation ) 19 20min
TOTAL... 469. 5hrs 40min

STEP 10: ACTIVATE FIORI CONTENT

TIP: Before scheduling Content Activation task list ensure that task list for Activate Enterprise Search from STEP 2 is completed.

Check that note is applied as per STEP 1 – SAP Note 2686456 – Fiori Setup: Content Activation for SAP Business Roles

In Work Client, enter tCode STC01 – SAP_FIORI_CONTENT_ACTIVATION

The 480 roles in SAP S4HANA 2020 as you see below have many country specific roles like SAP_BR_AA_ACCOUNTANT_JP , etc. There are 12 roles just with *_JP. So don’t try to activate all roles as they are country specific and industry specific. We strongly recommend to customers to do a conscious decision about the role scope to be activated.

In the first task, (A) checkmark first task, (B) Click on Parameter and paste the list into the box that pops up, click on OK (Continue) at the bottom of the Define Business Roles” dialog window, and then click on (C) execute.


After clicking OK for the first task, if there are errors as below, please remove the roles that have no SAP Business Role and move the others into list that requires presteps and handle them separately.

Please see below for triggering activation of 100 roles:

Please note that there are 5 roles which are to be activated using task list STC01 – SAP_FIORI_FCM_CONTENT_ACTIVATION

TIP NO 1: Run the task list above in background (use menu option). While the task list is running, please check dumps in ST22 in separate session.

TIP NO 2: If all ODATA/SICF are activated for the first time, each group of  about 150 roles takes about one hour +. But if you get an error and then you reactivate the same list it should be done in few minutes. If some ODATA services are already activated the time required should be reduced accordingly.

TIP NO 3: TIME SAVING TECHNIQUE – Once you have the list of roles, you can split the roles into multiple lists like say if you have 200 roles, split them into 2 sets of 100 roles. You can then create 2 separate sessions and run the task list. Keeping the number of roles in these 2 sessions unequal will help to know the session, like keep 98 roles in first session and 102 helps to distinguish them. I had to increase the parameter abap/shared_objects_size_MB = 512 to 768 to run parallel session. Alternatively you can set the automatic memory parameter PHYS_MEMSIZE.

TIP NO 4: After activating a role like for example SAP_BR_AP_MANAGER, if the ODATA/SICF are already activated, the delta role SAP_BR_AP_MANAGER_US takes much shorter time as some services are already activated. So as a result your subsequent lists will take lesser time than earlier ones.

TIP NO 5: If you get error first time, please try with same list second time and some errors may go away. Like the below list of errors reduced to no errors for second run. One of the reasons for this is – the service activation is a generation and can finish successfully later on after the logs show error. So on retry the activation finished successfully.

TIP NO 6: For the subsequent activation run, if you get error Not enough shared memory exists, you can clear the shared memry in tCode SHMM. If you dont have access to SHMM or if there is possibility of impacting other users and processes, easiest way is to logout and login. If this does not work, double the parameter abap/shared_objects_size_MB = 512 as per Note 2766677 – Not enough shared objects memory exists, will require SAP bounce.

At the end of activation you should see result as below:

STEP 11: POST ACTIVATION

Please ensure that web dispatcher is setup correctly and working as it will be required before users can use the applications by logging in through the web dispatcher.

TIP: As a Post Activation step you can revert back Memory Parameters that were temporarily increased for activation.

COMPONENT FOR INCIDENTS:

You can open OSS messages using component BC-INS-TC-CNT
Please mention the SAP Fiori UI software components

LANDSCAPE CONSIDERATIONS:

There is a transport capability added to the Fiori launchpad content manager task list SAP_FIORI_FCM_CONTENT_ACTIVATION

Please refer the blog for more information: SAP Fiori for SAP S/4HANA – New Rapid Content Activation on S/4HANA 1909, 1809 & 1709 – Part 4 – Customize & Transport

You can also refer the Fiori Launchpad Content Manager as per SAP Help Portal below: https://help.sap.com/viewer/d4650bf68a9f4f67a1fda673f09926a9/latest/en-US/c2f3f66fc2e04f3ea5ede6bcd4d087ec.html 

OTHER REFERENCES:

For a more detailed description of all tasks please refer to the excellent blogs

Fiori for S/4HANA – New Rapid Content Activation on S/4HANA 1809 & 1709 – Part 1 – Overview
Fiori for S/4HANA – New Rapid Content Activation on S/4HANA 1809 & 1709 – Part 2 – Prerequisites & Foundation
Fiori for S/4HANA – New Rapid Content Activation on S/4HANA 1809 & 1709 – Part 3 Scope & Execute Content Activation
Fiori for S/4HANA – New Rapid Content Activation on S/4HANA 1809 & 1709 – Part 4 – Customize & Transport

SAP Fiori for SAP S/4HANA – SAP Fiori Rapid Activation: Transport from Development to Production systems
SAP Fiori for SAP S/4HANA – Transition from Standalone to Embedded Deployment in SAP S/4HANA

UI Technology Guide

Note 2902673 – Rapid Activation for SAP Fiori in SAP S/4HANA – Overview    <=Contains all release specific notes

Thank you. Hope you enjoyed the blog !

Mahesh Sardesai
Product Expert – S/4HANA Solutions

Brought to you by the SAP S/4HANA Regional Implementation Group

 

Randa Khaled

Randa Khaled

Author Since: November 19, 2020

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x