WARNING: Please note this procedure is only for activation of SANDBOX environment in EMBEDDED Frontend installation to quickly activate and DISCOVER the different Fiori apps. For Production landscape please follow the detailed procedure without rapid content activation. You may achieve upto 90% of the needed objects and remaining may have to handle manually.
Please find other blogs as follows:
S/4HANA SQUARE ONE
|NEW INSTALLATION||PART1 – MP||PART2 – Installation
||PART3 – BP Activation
||PART4 – Fiori Activation|
|S/4HANA 1809||fps2 fps1 fps0||fps2 fps1 fps0||fps2 fps1 fps0||fps2 fps1 fps0|
||fps2 fps1 fps0||fps2 fps1 fps0||fps2 fps1 fps0|
||fps2 fps0||fps2 fps0||fps2 fps1 fps0
|S/4HANA 1511||fps2 fps1|
|S/4HANA Certification Exams through SAP Certification Hub||link|
This blog is based on SAP Note 2777142 – Composite SAP note: Rapid Activation for Fiori in S/4HANA 1809 FPS01 ver 1 please click on Show Changes to see what has changed since the log was updated. Use the blog only as a reference and follow the actual note which may have been updated. The same note applies for S/4HANA 1809 FPS2
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: Note 2777142 is only meant for S/4HANA 1809 FPS1 and higher. For rapid activation of S/4HANA 1809 FPS0 please use note 2704570. For S/4HANA 1709 FP1 use note 2695653 For S/4HANA 1909 use note 2834415
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) Check SAP Fiori UI software components installed
- UIBAS001 400 SP00 or higher
Enter tCode SPAM -> button Package Level
- SAP FIORI FOR SAP S/4HANA 1809 FPS00 or higher
Tab Installed Product Versions
(B) Ensure that SGEN is already completed on the system
(C) Proper ICF/ICM setup including FQDN
(D) 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
(E) 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.
(F) Increase wprun timeout:
rdisp/max_wprun_time = 3600
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) Set TREX Destination or SAP HANA DB Connection” -> Make sure “Use SAP HANA Primary DB Connection” is ticked and Save(B) Select Models to Create Connectors” -> specify software component for search models: SAPAPPLH
(C) The first task has manual steps to be performed to click on icon in Status column.
Execute task and select Background, the job will run for 60 mins.
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)
After task completion, the screen should look like this:
STEP 3: INSTALL DEPENDENT NOTES
Please install the Notes as below in Client 000:
- 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.
- Note 2766677 Not enough shared memory exists
Already adjusted as above (1)
- Apply Note 2728091 – Subfield access with a negative length is not allowed
This Note cannot be implemented, please ignore this note.
- Apply Note 2733638 – Access to development object prevented by system configuration
Apply using SNOTE.
- Apply Note 2775043 – Web Dynpro WDA_FCLM_BAM_REVIEW_REPORT service not available
This note cannot be implemented in SNOTE. Perform manual steps:
Enter tCode SE80 => package (1) FCLM_BAM (2)=> Web Dynpro => FPM application WDA_FCLM_BAM_REVIEW_REPORT (3)
Choose Menu option Goto ->HTTP Service Maintenance (4) . You will get dialog – ICF node does not exist, the system issues the query: “ICF node for service “…” does not exist. Do you want to create it?” Answer Yes (5)
- Apply Note 2712785 – Fiori Setup: Initial Setup for S/4 Fiori Applications
Apply using SNOTE, this note has manual steps to execute report NOTE_2712785
- Apply Note 2686456 – Fiori Setup: Content Activation for Business Roles
Apply using SNOTE, this note has manual steps to run report NOTE_2686456 and then NOTE_2686456_POST
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 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
Execute manual steps as per Note 2289865 – Configuration steps for S/4HANA Analytics as shown below in work Client 100
- 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
- In Client 100, Execute task list STC01 SAP_BW_SETUP_INITIAL_S4HANA.
In the first step confirm that you have read the note, 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.
- The following steps are done by the task list above. They are noted here for reference and you can check steps A) to F)
A) Set parameter “without Java” for DDIC user to prevent activation of Java content at next step (which must be performed with DDIC user)
a. User parameter RSWAD_DEV_MDVERSION = ‘072‘
b. User parameter RSWAD_SKIP_JAVA = ‘X‘
B) Activate technical content using the DDIC user. tCode RSTCO_ADMIN, Start Installation
You will get a message that job BI_TCO_ACTIVATION for activation of the technical BI Content is scheduled. Please monitor the job below:
I got errors below and ignored them.
C) Deactivate BW statistics via tCode SE38 SAP_RSADMIN_MAINTAIN adding object RSDDSTAT_GLOBAL_OFF with VALUE = X in INSERT mode
D) Generate packages for OData services using tCode SE38 EQ_RS_AUTOSETUP (execute without check mode enabled)
E) Activate BI_ALL using tCode SE37 RSEC_GENERATE_BI_ALL
F) Validate the correct setup via tCode RSD5. Select “All InfoObjects”
You should see a long list below:
- Please do remaining optional steps as per the note for Hierarchies – 0YEA_QUA_MON_DAY, 0YEA_MON_DAY & 0WEEK_DAY
- Configuration of Design Studio Template
Activate the following services
STEP 6: ACTIVATE GATEWAY & FIORI ONE CLIENT SETUP
enter tCode STC01 – SAP_GW_FIORI_ERP_ONE_CLNT_SETUP
After task completion which takes about 15 seconds, the screen should look like this
STEP 7: RUN FIORI FOUNDATION TASKLIST
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.
In about 6 mins you will get error as below.
Please find errors below. Uncheck the task Replicate backend catalog for system aliases and execute to continue:
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_UI2_USER_700 – (1) Click Manually, (2) Add Auth Object /UIF/LREP . Edit -> /UIF/ROLE -> select using checkmark APFUSER and Save
(3) Generate and go back.
Add user to role, click on User Compare and save.
Do the same for profile Z_UI2_USER_750
Similarly add below to Admin profile Z_UI2_ADMIN_700 – Add Auth Object /UIF/LREP -> Edit /UIF/ROLE -> select using checkmark APFADMIN and Save
Do the same for profile Z_UI2_ADMIN_750
STEP 8: VALIDATION
Add role Z_FIORI_FOUNDATION_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 Icon on top left,
Click on App finder, click on SAP Menu, you should get the menu tree as 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 SAP Fiori apps for SAP S/4HANA, by Back-End Product, SAP S/4HANA
(A) Select all (or alternatively you can select the roles you need), (B) Aggregate, (C) SAP S/4HANA 1809 FPS2, (D) Down Arrow, (E) Download
Click on Export list of Business Roles (244 roles for 1809FPS2 currently) and save the list as csv file.
Please remove the roles from below list as these roles do not contain Fiori Content:
TIP: You may find it convenient to remove the below roles and activate them separately after you perform pre-steps as mentioned for each in Note 2777142. The tCodes to run fixes are also mentioned. Some Business Functions activation maybe a time consuming task.
SAP_BR_OPERATION_CLERK_ACM – SU24 – Auth issue
SAP_BR_BILLING_SPECIALIST_ISU – SFW5 – Activate Business Function
These roles also need fix and cause errors:
SAP_BR_SETTLEMENT_CLERK_ACM – SU24 – Auth issue
Split the list of roles into lists with number of roles less than 100 roles. 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: 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 2 files for roles that were downloaded from Fiori App Library – These 2 lists include only the roles that do not have any issues. If you get error one time rerun the same list second time. There is one list for the roles that need presteps. And there are 2 more files with lists for roles that are available in SAP instance. All these lists are available also in a spreadsheet S4HANA1809FPS2_FioriRapidActivation_BusinessRoles.xls
STEP 10: ACTIVATE FIORI CONTENT
(A) tCode SU24, filter by transaction /ACCGO/SIT_COCKPIT, search for /ACCGO/UI, (1) Change, (2) select /ACCGO/UI, (3) Object, (4) Remove Authorization Object, Save and re-add.
(B) tCode SE38, ABLM_MODIFY_ITEMS, TYPE: METH, NAME: GET_LAST_MODIFIED
MAIN OBJECT: CL_SM_INTEGRATION_MPC, (Disable test mode, tick Allow Entry for Internal Usage)
You can do the SFW5 switch activation as mentioned in the note as well if you need the related roles.
In Work Client, enter tCode STC01 – SAP_FIORI_CONTENT_ACTIVATION
The 408 roles 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 there are roles for other countries that you may not need.
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:
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 100 roles takes about an 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.
TIP NO 4: After activating a role like 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.
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
If you need roles below, please do the required Post activation steps. I will provide more details as I work on these roles.
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
The procedure for rapid activation is only applicable for the Sandbox. It is not to be used for Production Systems.
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
Note 2695653 – Composite SAP note: Rapid Activation for Fiori in S/4HANA 1709 <= for FPS1
Note 2704570 – Composite SAP note: Rapid Activation for Fiori in S/4HANA 1809 <= for FPS0 only
Note 2777142 – Composite SAP note: Rapid Activation for Fiori in S/4HANA 1809 FPS01
Thank you. Hope you enjoyed the blog !
Product Expert – S/4HANA