Skip to Content

Table of contents

1.0 Introduction to SAP Fiori

2.0 Architecture

3.0 Approve Purchase Contracts

4.0 Configuration

4.1 Pre requisite

4.2 Activate OData & UI Service in Frontend

4.3 Configuration in Backend

5.0 Demo in Fiori launchpad

6.0 SAP Help & References

1.0  Introduction to SAP Fiori

SAP Fiori is a collection of apps with a simple and rich UI experience for frequently used SAP business functions (Ex: Approve Purchase order), these apps can be accessed via HTML5 supported clients like desktop browser, Ipad etc.

Apps can be controlled through SAP Fiori Launchpad which is the central entry hub to all SAP Fiori apps, which can be governed through authorization

Launchpad is flexible and can be adapted to your needs.

2.0  Architecture

Two deployment options are available, depending upon your landscape you can choose the method which suits better.

  1. Central hub deployment of SAP NetWeaver gateway

In this deployment method a separate server will be used as gateway. We will be using this method for our example


pic1.PNG


     2. Embedded deployment of SAP NetWeaver gateway

        In this deployment method gateway is installed directly in backend server.

pic2.PNG

3.0  Approve Purchase Contracts

Using this app we can approve purchase contracts. For using this app we need to have contract release strategy setup along with workflow in Backend ERP server.

Currently Fiori supports following item categories:

  • Service (internal item category: 9)
  • Standard (internal item category: 0)
  • Material Group (internal item category: 8)



4.0  Configuration

Before we start configuration make sure user id is present in both Backend (ECC) and Frontend (Gateway) server

4.1     Pre requisite

For the app, the following software components must be available in your system landscape

Server

Component

Technical Name of Software Component

Support Package Level

Back-end server

Back-end component

SRA001 1.0

04

Front-end server

Front-end component

UIX01EAP 100

03

4.2 Activate OData & UI Service in Frontend

Take Basis help for getting below services activated

1) Check whether OData Services: sra001_pcapproval is active or not

/wp-content/uploads/2014/09/pic3_548226.png

2) Check whether UI5 Application: MM_PC_APV is active or not.

Run transaction SICF on the front-end server. Press F8.

Path > default_ host> sap>  bc > ui5_ui5> sap> MM_PC_APV 

/wp-content/uploads/2014/09/pic4_548227.png

3. Assign below role to user in Frontend server

          SAP_MM_BCR_Buyer_X1



4.3     Configuration in Backend

     1. Assign below role to user

           Role :SAP_MM_PC_APV_APP


  

     2. Configure Contract release strategy

     IMG Path> MM> Purchasing> Contract > Release procedure for contracts> Define Release Procedure> Release strategy


     I am not going to cover Configuration of release strategy part in detail. You can refer to below link for configuration help.

     http://wiki.scn.sap.com/wiki/display/ERPSCM/RELEASE+PROCEDURE

/wp-content/uploads/2014/09/pic5_548231.png

After Release strategy setup, we have to configure workflow.


     3. Assign Relcode to workflow

     IMG Path> MM> Purchasing> Contract > Release procedure for contracts> Define Release Procedure> Workflow

     Select the object type user (US) and enter the user id that can approve purchasing contracts

/wp-content/uploads/2014/09/pic6_548232.png

     4. Set up a connection between the release strategy and Workflow

        IMG Path> MM> Purchasing> Contract > Release procedure for contracts> Define Release Procedure> Release codes

/wp-content/uploads/2014/09/pic7_548233.png

     5. Go to Tcode PFTC

          Select Task type > Workflow template and Enter Task 20000079 (sap standard workflow template for contract release) & Click on maintain    

/wp-content/uploads/2014/09/pic8_548234.png

Go to triggering events Tab, select Line where object type is BUS2014 and activate binding

/wp-content/uploads/2014/09/pic9_548235.png

     6. Go to Tcode SWDD.

          Enter WS20000079 in Workflow and press enter

/wp-content/uploads/2014/09/pic10_548236.png

     From Navigation Area under steps  select ReleaseOf Contract.

     (i)On right Side Pane , enter Task TS20000172(Release of contract) under control tab &Click on  define Binding Automatically.

     (ii) Under Agents, Enter 20000029(Person responsible for contract release) & Click on  define Binding Automatically.

/wp-content/uploads/2014/09/pic11_548238.png

     (iii) Under Task properties click   Agent assignment

           And Assign User id of Person who is going to release contract as shown below.

/wp-content/uploads/2014/09/pic12_548239.png

     7. Assign Task ID in customization

      IMG Path> MM> Purchasing> Contract > Release procedure for contracts> Approve Purchase contracts App> Specify workflow task id for Approve           Purchase contracts App

/wp-content/uploads/2014/09/pic13_548240.png

Now create contract in Backend.

/wp-content/uploads/2014/09/pic14_548241.png

Go to Tcode SBWP and check whether Contracts is displaying in user inbox for approval. With this step we can confirm that our all required backend settings were in place.

/wp-content/uploads/2014/09/pic15_548242.png

5.0  Demo in Fiori

Now all backend settings are completed. Lets go to Fiori Launchpad through Web Browser

Usually URL looks something like this, you need to replace Server and Port details with your server details

http://<yourserver>:<YourPort>/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=001&sap-language=EN

/wp-content/uploads/2014/09/pic16_548253.png

Select Approve Purchase Contracts Tile.

/wp-content/uploads/2014/09/3_548537.png

We can see our Contract  list in Fiori : Approve Purchase contracts tile


/wp-content/uploads/2014/09/1_548539.png



Click on /wp-content/uploads/2014/09/pic23_548378.jpg  in Item(s) to see more details

/wp-content/uploads/2014/09/pic19_548371.png



Click On Approve Button

/wp-content/uploads/2014/09/pic20_548375.png

we have successfully approved contract from  Fiori 


/wp-content/uploads/2014/09/2_548540.png

6.0  SAP Help & References

App Implementation Guide

http://help.sap.com/fiori_bs2013/helpdata/en/39/763c52b74f1b13e10000000a44176d/content.htm?frameset=/en/ad/f955526735087de10000000a445394/frameset.htm&current_toc=/en/ba/954353a531e647e10000000a441470/plain.htm&node_id=228&show_children=true#jump245

Troubleshoot Guide

http://scn.sap.com/community/mobile/blog/2013/11/13/sap-fiori-ll11–consultants-should-know-about-odata-troubleshooting

Usefull Sap notes

1937863

2028544



This is my First SCN document. please suggest if any changes to be done.,Hope you find it useful.


Regards,

Satheesh Varma




To report this post you need to login first.

8 Comments

You must be Logged on to comment or reply to a post.

Leave a Reply