Skip to Content
-1

Execute any action from SAP Ui5 / Fiori application ?

Feb 03, 2017 at 01:23 PM

111

avatar image

Hi Experts,

I am working on one scenario where I need to execute any action in back end on click on any button from front end (SAP Ui5 / Fiori App).

For example - Approve / Reject / Release buttons are available in front end and on click I need to take some action in back end.

I have completed rest of the application and not able to find the place where I can write this logic. I am confuse about the method from oData service which can be useful in this scenario.

Please suggest me how to execute a specific method from oData service on click event of those buttons.

-Thanks in Advance

Ketan

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Jun Wu Feb 03, 2017 at 02:11 PM
1

do u know how to call odata service?

just call it. what is stopping u ?

Share
10 |10000 characters needed characters left characters exceeded
Jun Wu Feb 03, 2017 at 02:13 PM
0

google function import gateway

Share
10 |10000 characters needed characters left characters exceeded
Radek Chudziak Feb 03, 2017 at 04:24 PM
0

Create a function import in gateway for approve and reject and then call it from the front end e.g:

oModel.callFunction("/ApprovePO",{method:"GET", urlParameters:{"id":"300000"}, success:fnSuccess, error: fnError})
Share
10 |10000 characters needed characters left characters exceeded