Skip to Content

URL to call UI5 view from Web Dynpro

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Apr 11, 2017 at 07:47 AM

    check console if any error there and share.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 11, 2017 at 09:40 AM

    Hi Akhilesh

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

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 11, 2017 at 03:38 PM

    how you use that url in your code?

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 12, 2017 at 06:02 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

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

    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

    Add comment
    10|10000 characters needed characters exceeded