Skip to Content
Author's profile photo Former Member

Integrate SAPUI5/SAP Fiori Application in SAP Gui Dynpro

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,


Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      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

      Author's profile photo Michael Appleby
      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

      Author's profile photo Former Member
      Former Member

      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?

      Author's profile photo Michael Appleby
      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

      Author's profile photo Former Member
      Former Member
      Author's profile photo Gustavo Gil
      Gustavo Gil

      Hi Michael! Please, Do you have a Tutorial about this?



      Author's profile photo Former Member
      Former Member

      How to handle exit commands from SAPUI5-apps included in a SAP Gui Dynpro?