4 weeks ago
Hello ,
I have an application developed using restful abap where I have few address fields on the object page.
My requirement is to have custom action and by selecting, it should validate the address and give the user a popup with suggested or corrected address.
Since its not possible to have a popup with RAP itself, I created this custom action button using the guided development in SAP BAS. That created function call which is located in controller.js.
Question is: is there a way I can call my RAP method from controller.js to validate the address when user clicks on the button?
Appreciate your response
You could use the invokeActions method from the extenstionAPI. See next link from SAP Help:
https://sapui5.hana.ondemand.com/sdk/#/topic/bd2994b69ef542998becbc69ab093f7e
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
10 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.