Skip to Content

Integrating Web Dynpro Application in SAP Cloud Portal

Hey Experts,

I try to integrate an existing Web Dynpro Application into a SAP Cloud Portal of a SCP Trial Account during a Proof of Concept for a customer.

There are two great Blogs on this, describing how to integrate into

FLP: https://blogs.sap.com/2016/11/27/launch-classical-uis-from-hana-cloud-portal/

Portal Site: https://blogs.sap.com/2018/02/10/how-to-add-an-embedded-abap-webdynpro-in-freestyle-portal/

While we got the Fiori Launchpad Scenario running (besides inspecting there is a bug within the Cloud Connector *) , the Cloud Portal Freestyle Scenario does not, and a really strange behaviour occurs.

Steps:

  • Creating App Descriptor in Backend using Mass Maintenance Tool for Web Dynpro Applications
  • Create Destination to Backend System, e.g. ERP_Backend, pointing to lets say "https://dak.company.int:8000" (Internal Network Address)
  • Creating App within the Freestyle Portal Site, pointing to Destination ERP_Backend in System Alias Field as required

  • Assigned the App to a Menu Item

But when I start the App the Browser states that the IP Address of the Server was not found. When I open F12, there is a request directly pointing to the Backend Server, which from my point of view should never ever occur. This is an external Portal Site, and the Backend Servers shall be hidden from any Frontend.

When perform the same Configuration steps for a classic Launchpad, the Scenario works fine (even if a desired Error message is shown below):

Is there anything else which I should consider when setting up this scenario?

Thanks,

Robin

*) Cloud Connector Bug:

The Header Parameter "host" is not set correctly while forwarding the Web Dynpro request to the Backend System. If the Virtual Hostname (e.g. DAK) differs from the actual Hostname (dak.company.com), a Runtime Error in the Backend CX_FQDN occurs. So we changed the Virtual Hostname and set it identically to the Internal Hostname - after this modification the scenario worked.

imgscn.png (72.5 kB)
imgscn2.png (71.3 kB)
imgscn3.png (113.1 kB)
imgscn4.png (27.3 kB)
imgscn5.png (40.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    Jan 21 at 09:54 AM

    Hey,

    If someone encounters the same issue:

    I assume that this scenario is only working if the Destination is set to Authentication with Principal Propagation. In my first tests this worked as expected - the request is now routed through an SCP Destination and not directly to the Backend system. I suggested SAP to update their Help Info on this here: https://help.sap.com/viewer/8422cb487c2146999a2a7dab9cc85cf7/Cloud/en-US/d36ea2f36ae443289d9968c7e1f9b87f.html

    Best regards,

    Robin

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 30, 2018 at 06:44 PM

    Hello ,

    Please expose the full path /sap/bc/ui2/nwbc or make sure you have exposed the /sap/bc subpath also.

    Regards,

    Meghal Shah

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Meghal,

      in the Cloud Connector the full path is exposed ("/").

      As we can see in the Fiori Launchpad Example, the Web Dynpro Application is launched correctly - but not if running in the Cloud Portal Runtime Environment.

      Thanks,

      Robin

  • Jan 01 at 07:53 AM

    I suggest to open an OSS message (feel free to post here the message number and I will try to route it to the right component).

    Aviad

    Add comment
    10|10000 characters needed characters exceeded