on 02-03-2017 1:23 PM
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
do u know how to call odata service?
just call it. what is stopping u ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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})
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
google function import gateway
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.