Skip to Content
avatar image
Former Member

Execute any action from SAP Ui5 / Fiori application ?

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Feb 03, 2017 at 02:11 PM

    do u know how to call odata service?

    just call it. what is stopping u ?

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 03, 2017 at 02:13 PM

    google function import gateway

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 03, 2017 at 04:24 PM

    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})
    Add comment
    10|10000 characters needed characters exceeded