cancel
Showing results for 
Search instead for 
Did you mean: 

Integrating Web Dynpro Application in SAP Cloud Portal

robinwennemuth
Explorer
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

robinwennemuth
Explorer

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/d36ea2f36ae443289d9968c7e1f...

Best regards,

Robin

Answers (2)

Answers (2)

AviadRivlin
Employee
Employee
0 Kudos

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

robinwennemuth
Explorer

Hi Aviad,

I had already reported the issue in Dec. 18 Incident 664870 / 2018.

Thanks for your support in advance!

Robin

former_member186852
Contributor
0 Kudos

Hello ,

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

Regards,

Meghal Shah

robinwennemuth
Explorer
0 Kudos

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