Skip to Content

Hy everybody,

i’m currently working alot with sapui5 and SAP Fiori applications, NW Gateway Services and so on. I was wondering, if it is possible to integrate a SAPUI5/SAPFIORI Application into a SAP Gui Dynpro and how it would behave. I’ve wrote a little program with a dynpro on it, and it works pretty well.

These are the steps required:

– Create Program

– Create Dynpro

– Create Dynpros PBO/PAI Modules

– Create Dynpro Status

– Handle Exit Command (and additional sy-ucomm’s from Dynpro Status) in PAI Module(s).

– Add Custom Container on the created Dynpro (In Attribute Window set rezise flags (vertically&horizontally)

– Instantiate Custom Container in PBO Module (cl_gui_custom_container)

– Instantiate HTML Control in PBO Module with Custom Container as parent. (cl_gui_html_viewer )

– Call Method show_url of HTML Control (Pass URL to the SAPUI5/SAP Fiori Application)

Enjoy the SAPUI5/SAP Fiori Application running in your SAP Gui

sapui5 in sapgui.png

I didn’t test all functionality. But as far as i checked it, everything was working pretty fine.

What could it be useful for:

– Provide SAPUI5 Functionality within SAP Gui.

For productive solutions i would check if every functionality is fully working.

Have a nice day.

Best regards,

Michael

To report this post you need to login first.

6 Comments

You must be Logged on to comment or reply to a post.

  1. M a r t i n

    Hi Michael,

    I am trying to find out, how to handle the exit commands of SAPUI5 applications in PAI-Modules. How did you do that?

    Greetings, Martin

    (0) 
    1. Michael Appleby

      Please create a new Discussion marked as a Question.  Comments to a Blog (or Document) is not the right vehicle for asking questions as the results are not easily searchable.  Once your issue is solved, a Discussion with the solution (and marked with Correct Answer) makes the results visible to others experiencing a similar problem.  If a blog or document is related, put in a link.

      NOTE: Getting the link is easy enough for both the author and Blog.  Simply MouseOver the item, Right Click, and select Copy Shortcut.  Paste it into your Discussion.  You can also click on the url after pasting.  Click on the A to expand the options and select T (on the right) to Auto-Title the url.

      Thanks, Mike (Moderator)

      SAP Technology RIG

      (0) 
      1. M a r t i n

        But Michael Albrecht, the author of the article, solved exactly my question. If I create a new discussion, how will the author of this article see my discussion?

        (0) 
        1. Michael Appleby

          Hi Martin,

          Put a link to his SCN ID as in the NOTE above.  He will receive a notification from however his settings are configured.  Michael also monitors virtually all the posts in this community so he would see it anyway.  But the link makes it very visible that you would like him to respond.  Also by creating a Discussion, you may receive the answer from one of the other many experts who post here.

          Regards, Mike (Moderator)

          SAP Technology RIG

          (0) 

Leave a Reply