cancel
Showing results for 
Search instead for 
Did you mean: 

Call browser based on ABAP RAP Action

abdul_hakim
Active Contributor
0 Kudos

Hello

I need to call browser for eg. http://www.sap.com when the user clicks the action button created from ABAP RAP. I do not want this to be done from SAPUI5 based development. Please let know if this is possible. I have tried calling CALL_BROWSER FM and it did not work.

 

Regards,

Abdul Hakim

View Entire Topic
MioYasutake
Active Contributor

@abdul_hakim 

Instead of using actions, how about specifying the @UI.v1.DataFieldWithUrl annotation in the LineItem?

https://sapui5.hana.ondemand.com/sdk/#/topic/d782acf8bfd74107ad6a04f0361c5f62.html

ABAP CDS example:

@UI.<lineItem/fieldGroup>: [{ type: #WITH_URL, url: 'URL' }]
URL;

 

abdul_hakim
Active Contributor
0 Kudos
I need the URL link at the header level and not at the list report item level. This can be achieved through Fiori element extension but i wanted to know if it is possible call WebPage directly by calling Action button from RAP.
amanasap
Discoverer
0 Kudos
Hi, were you able to achieve this, I have a similar requirement.