cancel
Showing results for 
Search instead for 
Did you mean: 

How the workflow works in custom fiori like UI5 approval app?

Former Member
0 Kudos

Hi Experts,

I have some questions Regarding SAP UI5 custom app, can you please share your ideas.


     My requirement is to create approval process (2 level approval) in Plant maintenance (EAM), i have searched for standard fiori app it is not available in standard fiori apps so i have to create a custom app for the above functionality...


Now my question are

  1. I have to create a custom fiori app or UI5 app, which means i have to create SAP FIORI like UI5 app or is there any separate predefined Templates for creating CUSTOM FIORI apps, if available where can i get those Templates ?
  2. Instead of creating Custom app can i use PO approval or Approve Leave Request app for my requirement, if yes what about oData service i have to create a custom oData service or can i change those Standard oData service?
  3. When displaying the data to a manager according to manager(using login id) what are the approvals are triggered for that particular manager should only display other managers data should not display, how can i approach this scenario can you please initiate & elaborate ?   
  4. For approval process how the Workflow triggers (i have to code anything in controller part to trigger workflow or it will trigger workflow directly when i updates table field status from NEW to Approve or Reject), is there any separate Workflow for FIORI or i have to use SAP Business Workflow only ?



Thank you Everyone for your answers and suggestions.


Thanks & Regards,

Santhosh Reddy.

Accepted Solutions (1)

Accepted Solutions (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos
Former Member
0 Kudos

Hi Masa,

Thanks for your suggestion, while using Fiori Approve Requests App we have to create our own oData service or SAP providing any oData service if yes we can enhance or customize those oData service?

Regards,

Santhosh.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Santhosh,

There are several ways for implementing solution based on requirements. Please visit .

How to Guide: SAP Fiori - Adding a Custom Workflow Scenario to the SAP Fiori Approve Requests in 6 S...

is easy one.


Regards,

Masa

Former Member
0 Kudos

Hi Masa,

Thanks for your Reply its useful for me, i will come again with my queries while implementing hope you will be help.

Regards,

Santhosh

Answers (2)

Answers (2)

0 Kudos

Hi, masayuki.sekihara,

While clicking on document , I am getting Page not found... 😞

Link is not opening the page

https://answers.sap.com/docs/DOC-47625 and then to open document http://scn.sap.com/docs/DOC-53177. Open Wiki page.

It is giving error page not found. View this SAP How-to Guide while

kedarT
Active Contributor
0 Kudos

Hi Santhosh,

I hope below links shall help you in creating UI5 application:

SAPUI5 SDK - Demo Kit

With regards to Workflow, you need to read data from appropriate tables to get the task id for current users and get the data via oData  service into your application and bind the same to corresponding controls.

On the Approval/Rejection, you would call the oData service back to trigger appropriate workflow events to complete the approval process.

Mail with your contact details, can guide you with the development.

Former Member
0 Kudos

Hi Kedar,

I tried this already and this is for UI development i need an idea in developing oData service, if there is any thing related to workflow scenario(how the oData service work) that will be helpful and my question is can i leverage on fiori standard approval apps like po approval or leave request approval for my requirement, if yes what about oData service

Regards,

Santhosh

kedarT
Active Contributor