Fiori: technical installation and configuration of one app from A – Z
Now that the Fiori apps are included within the SAP software, I wanted to know (as a SAP technical basis consultant) what the steps and the effort would be to get one app up-and-running.
Although there is a lot of Fiori documentation available, I had trouble to get an overview of the technical steps to get one Fiori app working.
I realize that the below steps only apply to the system I installed (with the specific release and patch level) and the app I choose (because each app has specific after care), but it will gave me an idea what technical steps are needed and where I found the documentation and software.
The app I configured was: MyContacts.
Installation
As I said, this is for me only a way to get hands-on experience with Fiori.
To keep the costs low I choose a system setup with 1 combined frontend and backend system.
So just to be clear: normally you choose a system setup with a separate frontend server (with Gateway) and backend system (with SAP ERP for example).
I have installed SAP ECC 6.0 Ehp7 and I used the integrated Gateway which comes already out of the box when you install this system.
Just for your information I installed this SAP ECC system on AWS on a m3.large server.
The installation came automatically with the following patch level:
SAP_BASIS_740_0005
SAP_ABA_740_0005
SAP_GWFND_740_0005
SAP_UI_740_0006
And the installation of SAP ECC 6.0 Ehp7 came with kernel version 741
Patches and add-ons
To get the basis of the system up-to-date I installed the following patches via SPAM:
- SAP_GWFND patch 6
- SAP_UI patch 7 and 8
And I installed the FIORI ERP APPLICATIONS X2 1.0 as add-ons via transaction SAINT.
The software you can download from http://service.sap.com/support > Software download > Installation and upgrades > A-Z index > F > SAP Fiori > SAP Fiori for Suite > FIORI ERP APPLICATIONS X2
When you go there you will see 5 downloadable objects:
But out of these 5, I only had to install the 2 UI add-ons via SAINT.
The 3 GBX are not needed as they are already in the system (included in the EA-APPL).
When you try to install these GBX you get the message:
So now we have the basic installation and patching done
The patch level in SPAM looks like:
We can start with the configuration part.
Configuration general
Activate services
Activate the following services (under default_host>sap) via transaction SICF:
opu > utils > initial_logon
opu > odata > ui2
public > bc > ui5_ui5
public > bc > ui2
public > opu > resources
public> myssocntl
bc > ui2 > start_up
bc > ui5_ui5 > ui2 > launchpage
bc > ui5_ui5 > ui2 > tilechips
bc > ui5_ui5 > ui2 > ushell
bc > ui5_ui5 > sap > arsrvc_lpd_c
bc > ui5_ui5 > sap > arsrvc_sm
bc > ui5_ui5 > sap > arsrvc_spb_admn
bc > ui5_ui5 > sap > arsrvc_suite_pb
bc > ui5_ui5 > sap > arsrvc_upb_admn
bc > ui5_ui5 > sap > ar_srvc_launch
bc > ui5_ui5 > sap > ar_srvc_news
Create a trusted RFC between Gateway and Backend system.
As I said, to keep the costs low I have a combined frontend and backend system setup.
So I only created in transaction SM59 an RFC connection to itself.
It should have the nameconvention: <SID>CLNT<CLIENT>.
And in the Logon & Security tab it should use the current user.
In case you use a separate frontend and backend system, you have to create a trusted RFC connection.
So on each system create an RFC destination to the other system and make it trusting via transaction SMT1.
Creating the SAP System Alias for Applications
SAP Transaction SPRO > SAP NetWeaver > Gateway > Odata Channel > Configuration > Connection Settings > SAP NetWeaver Gateway to SAP System > Manage SAP System Aliases
Here we have to create a new entry.
I created the entry with the name ERP. Use the RFC destination that was created in the previous step.
Activation of SAP NetWeaver Gateway
SAP Transaction SPRO > SAP NetWeaver > Gateway > Odata Channel > Configuration > Connection Settings > Activate or Deactivate SAP NetWeaver Gateway
Here we have to choose “Activate”.
Add Gateway and UI5 Services
SAP transaction /IWFND/MAINT_SERVICE
Choose Add Service.
Maintain local in System Alias field and choose Enter.
A list of services now appear who are not yet activated:
Now we select the services that need to be activated.
In this case we will do: LAUNCHPAD
Enter the Package the object shall be assigned to. In case the objects are not transported select Local Object (this is what I did).
Choose Enter.
Confirm the information message that the metadata was loaded successfully.
Perform the same steps that you just did for LAUNCHPAD, but now for:
- PAGEBUILDER_SERVICE_V_0_1
- PAGE_BUILDER_CONF
- PAGE_BUILDER_CUST
- PAGE_BUILDER_PERS
- QUICKVIEW
- TRANSPORT
- INTEROP
Configuration Fiori app specific
The app I configured was MyContact.
The configuration for the specific configuration can be found in the SAP Help.
First I activated the related service in transaction SICF.
I searched for *mycontact* and activated it:
Second I activated the specific app with transaction /IWFND/MAINT_SERVICE
We see that MyContact has no system alias assigned yet:
Add a system alias.
Only fill in the Service Doc Identifier: in this case search for “SD_MYCONTACTS”
And use the created alias “ERP” (which is an RFC to this system itself, because the Gateway and backend system are one and the same)
The result:
We can already test this service to see of we get an error by clicking on the “Call Browser”-button in the left corner window.
I got the message “This XML file does not appear to have any style information associated with it. The document tree is shown below.”
So no error is shown.
FYI: Gateway errors can be show via transaction /IWFND/ERROR_LOG
Authorizations
I created a user TESTFIORI.
End users must have authorization object S_RFCACL assigned to them before they can use a trusted connection.
In transaction PFCG I filled in the following roles:
- SAP_SD_MYCONT_APP
- SAP_SD_BCR_FIELDSALESREP
For both roles I did the following:
- Go into change mode (we need the “Authorizations”-tab and “Users”-tab to be green)
- Goto “Authorizations”-tab and Change autorisation data. Save and Generate the authorizations (normally a functional authorization colleague will perform this action for you)
- Goto “Users”-tab and add your TESTFIORI user to the list of users. After this perform a User Comparison > Complete comparison
Both tabs should be green now.
We also need to add some basic Fiori authorizations.
I decided to add them to the SAP_SD_MYCONT_APP as this user already has this role (not so nice maybe, but this is just used as a demo).
So on in transaction PFCG authorization tab of SAP_SD_MYCONT_APP go to Change Authorization Data under the Maintain Authorization Data and Generate Profiles section.
Select Edit > “Insert authorization(s) > From template…”
I choose the following two (one by one):
- /IWFND/RT_GW_USER
- /IWBEP/RT_MGW_USR
After this again Save and Generate.
Testing
First I want in the Launchpad designer to create a specific group for this app.
Start the Fiori Launchpad Designer via:
http://<hostname>:<port>/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html
First time we start we see not much:
Create a new catalog by clicking on the + sign in the left corner.
And create also a new Group by going to the Group tab and click on the + sign.
Now add an app in this newly created group:
Click on the + sign and add MyContacts:
The result:
Now we have to go back to SAP transaction PFCG and add this newly created group to the user TESTFIORI.
We edit the role SAP_SD_MYCONT_APP which this user TESTFIORI already has.
Goto “Menu”-tab and in the button-bar change the “Transaction”-button so that it becomes the “Group”-button.
Choose the group we created in the Designer:
Now start the Fiori Launchpad
http://<hostname>:<port>/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html
and logon with the newly created user.
There are more apps shown but this is because they came along also with the patches I installed.
When I click on the MyContacts app:
There is no data in the system as I newly installed it, but for me this was what I wanted to see: an app in the Fiori Launchpad 🙂 .
And it also works form my smart phone:
Troubleshooting
During the installation and configuration I ran into a number of issues.
They can be prevented when you perform the steps in the above order.
To prevent some basic mistakes, remember that there is a need for:
- Patching Gateway and SAP_UI
- General configuration & authorization for basic Fiori
- App specific configuration & authorization
- Opening the ICM server port of the SAP system in firewall (if you want to access it via public Internet via your mobile device)
Troubleshooting tips:
- SU53 to see what autorization you miss
- /IWFND/ERROR_LOG to see the application logs
- dev_icm to see the errors in the ICM trace
Summary of the effort
My technical effort was:
- Setup AWS system + download software = 1 day
- Installation ECC system + patching = 2 days
- Configuration general + Fiori app specific = 2 day
- Testing and documentation = 1 day
Of course this was just a simple test with a combined frontend / backend system and only one app.
But also with this limited setup for myself I got a feeling for the steps that a technical basis consultant needs to perform.
It is also possible to deploy a complete preconfigured Fiori solution on AWS via the CAL (Cloud Appliance Library).
The steps for this are described in my next blog.
Best regards,
Marco
Hi M. Stitselaar,
I installed SAP Fiori With your Document
We are in SAP ERP 6 EHP 7
I add following using SPAM
I have some problem in it
Can you guide me
First.
bc > ui5_ui5 > ui2 > ushell (Ushell is missing) it re name to ushell_gwa)
all other service are active
Second
/IWFND/MAINT_SERVICE in this I can't find SD_MYCONTACT
How to activate it in Back end Service
third
/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html
gives blank page
how to get create catlog icon
Can you guide me as it is Embedded Deployment
Regards
Sunil Roy
I
Hi Sunil,
Im sorry I do not have all the answers. I also have to search if I run into technical issues myself 🙂 .
Point 1: I suggest you active the ushell_gwa.
But please always check the SAP help what services to activate.
It is changes very rapidly and also changes per App that you want to run.
Point 2: SAP does not support My Contacs anymore :
Point 3: The first time I started it , it was also blank.
After a restart of the SAP system it was solved and I could create a new catalog by clicking on the + sign in the left corner.
Regards,
Marco
Hello Everyone,
I once did the FIORI configuration keep ECC (Backend + Frontend) and it got well.
I would like to know , keeping my ECC (Backend) and Portal (frontend) , can we go ahead and do the configuration ?
If yes, anybody has guide ?
Thanks a lot for your help.
Regards
Raju Bhattacharjee
Hello Marco,
Very blog and needful info. Can you please let me know is it possible to installa fiori add-on on SAP ERP6.0Ehp6 ides system with SAP NW 7.31 Gateway system environment?
Thanks,
Chandrababu
Hi Marco,
Excellent post, vast documentation and still I am unclear about basic step.
Now, with your post, i am proceeding to configure for one PoC.
Its mentioned in few docs, that SAPUIFT is needed for sap fiori but no where I can see in your post.
It would be great if you you throw some light on this.
Hi Venkata,
No I did not install the SAP Fioru APP Implementation Foundation. This was not needed in my example as I already started with a relative new SAP installation.
Regards, Marco
Hi Marco,
I have a question. I have added odata service GBAPP_POAPPROVAL in my Dev system, as a local object.
Now that we are ready to proceed with QA system, how do we go about transporting the service?
Thanks in advance for your help.
Local objects cannot be transported. Why did you use a local object?
Hi Dear Stitselaar,
We have a EHP2 CRM 7.0 and we want to use fiori. Can we apply the above configuration for our CRM system because your example configuration is ERP system.
Best Regards
Hi Fazil, the basic principles are the same, but of course the notes/patches/help pages are different.
Regards, Marco
Hi Marco,
great work! Nice explanation.
I was wondering if WEBCUIF 474 is required to run Fiori application in a Netweaver 7.4 installation.
According to your article it is not required, right?
I wonder why there is a 474 version of it in this case that is only available as upgrade.
Thank you,
best regards,
Sandor
Hello Marco,
Good Job, Nice Explanation..
I am little bit confused Related to Gateway service, ECC 6.0 EHP7 newly implemented in my Landscape can we use Firoi app withany any gateway system
SAP recommended to have gateway on different server , All Fiori sales order will support if we install on Same Box
Let me know your comments.
Thanks,
Rahul Yedapally
Hi Rahul,
You need a Netweaver Gateway but it can be a central standalone or a embedded gateway.
The embedded gateway has reduced costs, but the central standalone gateway has advantages, like:
- you can place this in a DMZ network for security reasons
- if you need to patch the Gateway, it is not effecting your backend SAP system
Regards, Marco
Dear stitselaar,
Thanks ..
Needs the clarification on below points
1. Customer is looking only SAP Fiori principal App Implementation ( Approve Purchase Orders)
Ecc 6.0 EHP7 - Backend system / sybase database
GBAPP 002 600 (Back-end component of app)
Nw 7.4 - Frontend system / sybase database
UIX01EAP 100 (Front-end component)
IW_PGW 100- SP06 (Workflow Related Component)
SAP_GWFND 740 008 (Gateway)
In-order to get principal app working do we need any other components install on front-end / backend
2.For this principal App , do we need web-dispatcher ?
3.Before we start the configuration like activation of services and few configurations in front end , do we need to implement any central note corrections
Thanks,
Rahul
Hi Rahul,
the usage of web dispatcher does not depend on the application itself.
It is a load balancer tool and a security component that can be placed in DMZ.
Best regards,
Sandor
Thanks very useful for begineers
supper!!
Thanks Marco!!! Great effort and nicely explained too.
Keep sharing.. !!! Keep learning.. !!! 🙂
Hi M. Stitselaar,
Fantastic Blog.
Thanks Alot. 😉
Best Regards,
Pavan Golesar
Great Effort to organized in detailed way.
Regds,
Rakesh
See updates to RIN 2183947 - Smart Business for SoH
Hi,
Great article..
Thanks. 🙂
Thanks Marco
Hi Marco -
Simple and Very neat!!
I do have an another clarification - If I am keeping the netweaver gateway (Front end system) as a separate landscape and not the embedded one means, the users which I am creating in Netweaver gateway instance - Will count as an additional user license?
Thanks
Vijay
For the licensing thread - Which I asked earlier, this will be helpful
https://scn.sap.com/thread/3382451
Regards
VJ
Hello Marco,
Excellent explanation and very helpful for me.
Thank you,
Ramesh Yadav
Hello Marco,
Thanks for the explanation.
I've a doubt about the Smart Business Data. Help.sap says that the Fiori launchpad must to be configured, and after that what package I should must to include into frontend/backend server?
Thanks for advance.
Regards,
Please create a new Discussion marked as a Question.
Regards, Mike (Moderator)
SAP Technology RIG
nice article
good one
Hi Marco
Excellent blog. I really appreciate your effort.
Hi & Thanks Marco!!!
Great work and effort for compilation this information, its invaluable!.
Best Regards,
E.H.
Very clear each step, very helpful to do it for one self
wonderful article.thank you
Hi Tanmeya,
Unless you are asking for clarification/correction of some part of the Document, please create a new Discussion marked as a Question. The Comments section of a Blog (or Document) is not the right vehicle for asking questions as the results are not easily searchable. Once your issue is solved, a Discussion with the solution (and marked with Correct Answer) makes the results visible to others experiencing a similar problem. If a blog or document is related, put in a link. Read the Getting Started documents (link at the top right) including the Rules of Engagement.
NOTE: Getting the link is easy enough for both the author and Blog. Simply MouseOver the item, Right Click, and select Copy Shortcut. Paste it into your Discussion. You can also click on the url after pasting. Click on the A to expand the options and select T (on the right) to Auto-Title the url.
Thanks, Mike (Moderator)
SAP Technology RIG
Helpful document..!!
Thank you., Great effort. Thanks for sharing
Hi Marco,
Excellent blog, Thanks for sharing!
Regards,
Raj
Hi Marcus and fellow Colleagues Good day.. My company is ready to implement some modules of sap fiori functionality i.e View Pay sheets.Compile Leave requests,Travel Approval and Clothing orders on HR We are running an hr system on our backend (oracle 11) that runs on the ffg SAP_ABA - SAPKA73116 SAP_APPL - SAPKH60615 SAP_HR - SAPKE60498 Running ehp6 for for erp 6.0 and sap netweaver ehp3 for 7.0 I have read the ffg notes on all the documentation that you guys provide.. Very detail.. 2170223 - General Information: FIORI UI Infrastructure Components Q3/2015, Q4/2015 and Q1/2016 2219596 - SAP Fiori front-end server 2.0 - General Information 2200415 - Release of Fiori Product Versions for SAP UI Addon 2.0 / SAP_UI 7.50 I am going the way of a new install Netweaver 7.5 abap front -end system with oracle 12.. which will connect to my backend ( can it be abap only or must it be java as well) On top of this I will install my sap fiori front end server 2.0 install by means of the add-ons ( gateway and all) Thereafter all my sp's and patches Thereafter I will install my add-ons on my backend hr system for the fiori apps Appreciate any confirmation on this please as I need to know is this the correct implementation route Appreciate any Help
Unless you are asking for clarification/correction of some part of the Document, please create a new Discussion marked as a Question. The Comments section of a Blog (or Document) is not the right vehicle for asking questions as the results are not easily searchable. Once your issue is solved, a Discussion with the solution (and marked with Correct Answer) makes the results visible to others experiencing a similar problem. If a blog or document is related, put in a link. Read the Getting Started documents (link at the top right) including the Rules of Engagement.
NOTE: Getting the link is easy enough for both the author and Blog. Simply MouseOver the item, Right Click, and select Copy Shortcut. Paste it into your Discussion. You can also click on the url after pasting. Click on the A to expand the options and select T (on the right) to Auto-Title the url.
Thanks, Mike (Moderator)
SAP Technology RIG
This is not the place for asking questions. Open a new Discussion for your Question.
Regards, Mike (Moderator)
SAP Technology RIG
Thank you, nice blog.
Regards,
MReddY.
THANKS Marco - Great!
Thank you
it's much useful
Hello Marco,
thanks a lot for your uselful document.
I follow steps, but in my catalog, I can not see any My Contacts!
Can you suggets me why I can not see it?
Regards
Sin
Thanks Marco, a good end-to-end document.
Thanks Marco
It was explained so good and completely!
Hi Marco,
Excellent blog. It will be better if u explain one app with separate frontend and backend servers.
Thanks Marco, nice blog !
Thank you for using this best information..really its very useful to beginners..
MPSC Clerk Typist Result
Very usefull
Thanks @m.stitselaar ,
Very useful document .
Hi Marco,
I was trying to search about Fiori implementation docs and this is very useful. I am also trying to setup my own system in AWS for hands on experience. My question is how can we get an SAP license to install any additional components for our own system in SAINT.