Skip to Content
0

URL to call UI5 view from Web Dynpro

Apr 11, 2017 at 07:00 AM

163

avatar image

Hi

In the FLP I have existing Web Dynpro app from which I want to call a specific view of a UI5 app passing parameters.

The UI5 app can be reached directly in the FLP and below is the URL to the specific view I want to use.

http://mdcsapdevci1r.ecis.police.uk:8081/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=200&sap-language=EN#OvertimeApp-create&/shift/54702,2016-10-03

Using this link in the Web Dynpro method will load the app/view but not the associated data. I've tried several variations but so far without any success.

Any ideas as to how I can achieve this?

Thanks

Jon.

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

5 Answers

Akhilesh Upadhyay Apr 11, 2017 at 07:47 AM
0

check console if any error there and share.

Share
10 |10000 characters needed characters left characters exceeded
Jon May Apr 11, 2017 at 09:40 AM
0

Hi Akhilesh

Nothing in the console apart from the regular Component-preload.js 404 Not found.

Share
10 |10000 characters needed characters left characters exceeded
Jun Wu Apr 11, 2017 at 03:38 PM
0

how you use that url in your code?

Share
10 |10000 characters needed characters left characters exceeded
Jon May Apr 12, 2017 at 06:02 AM
0

Hi Jun

The URL is to be used in a Web Dynpro application. The Web Dynpro screen has a LinkToAction UI element. This action calls a method which will set the parameters and concatenate them into the URL. It then calls the following.

call method lo_window_manager->create_external_window
exporting
url = 'http://mdcsapdevci1r.ecis.police.uk:8081/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=200&sap-language=EN#OvertimeApp-create&/shift/&claimantId=00054702&claimDate=2016-10-03'
receiving
window = lo_window.

lo_window->open( ).

Thanks

Jon

Show 1 Share
10 |10000 characters needed characters left characters exceeded

if you put the url in browser, does it work?

0
avatar image
Former Member Apr 12, 2017 at 11:38 AM
0

Hi Jon,

curious to see if this works.

As in this we are not sure that all js and other resources loaded correctly (routing and all).

Also your base if webdynpro app so root of application matters here.(not a problem if all libs are reffered from http url's)

Thanks,

Den

Share
10 |10000 characters needed characters left characters exceeded