cancel
Showing results for 
Search instead for 
Did you mean: 

Launching BTP Cloud Foundry app from on-premise Fiori launchpad giving 404 error

ankurbabu1
Explorer
0 Kudos

Hi Fiori Experts,

I have a scenario where I am trying to run a Fiori/Custom UI5 (Multitarget Application with a Launchpad Module) app deployed on SCP/BTP Cloud Foundry from (S/4HANA) On-Premise Fiori launchpad. Basically, I configured all the steps as per the below document:

https://help.sap.com/viewer/a7b390faab1140c087b8926571e942b7/202009.001/en-US/d1992916cf0d4687aeed19...

When I click on the tile configured for this app in On-Premise FLP, I am getting 404 Not Found error. For example, my app on BTP can be accessed by URL:

https://xxx-demoproject-approuter.cfapps.eu99.hana.ondemand.com/cp.portal/site#Deploy-display?sap-ui...

(Somehow, I also cannot access the app directly without "/cp.portal/site" in the url which basically add it to a launchpad)

Entry in SM59 transaction "Technical Settings" for this configuration during "Configure the ABAP system by establishing connections" step:

Host: xxx-demoproject-approuter.cfapps.eu99.hana.ondemand.com
Port: Empty
Path Prefix: Empty

If I check the response of app in flp console, the URL which flp is trying to access is something like:

https://<server>:<port>/cp.portal/ui5appruntime.html?sap-ui-app-id=demo.HTML5Module&sap-startup-para...

which is returning 404 Error.

Can someone help me in understanding what I might be doing wrong here?

Any help is appreciated.

Best regards,

Ankur

Accepted Solutions (0)

Answers (2)

Answers (2)

sanjoy0308
Active Participant
0 Kudos

Hi ankurbabu ,

I hope you fixed this already.

I am getting some doubts in this similar problem area. I created RFC Destination ending with _HTTPS and kept host as the development url, then it is working. From on-premise launchpad I am able to open dev cloud launchpad in new tab. Now my question is how to make this dynamic, suppose I transport to Acceptance environment and it points to acceptance cloud url?

Thanks.

Sanjoy

ankurbabu
Explorer
0 Kudos

Hi sanjoysaha0308,

Unfortunately it is still not working for me, good to hear that it works for you.

In RFC destination host url, how did you provide the entry. Did you enter the url of BTP Fiori Launchpad site (without semantic object and action) or the complete url of app (with semantic object and action). Can you please provide the example?

Also, in target mapping configuration of on-premise fiori launchpad designer, in System Alias field, did you maintain the complete destination name, like xxx_https or just xxx (without https)?

Best regards,

Ankur

sanjoy0308
Active Participant
0 Kudos

Hi ankurbabu,

In RFC destination, I just add approuter url ending with .hana.ondemand.com.

In system alias, I mentioned xxx_HTTPS (with https)

Kind Regards,

Sanjoy

gregorw
Active Contributor
0 Kudos

I don't think that a launchpad module would work. The help.sap.com link that you've provided talks about theSAP BTP Portal service. I would suggest you check 2974154 - Integrating SAP Cloud Platform Extension Apps into the Launchpad on ABAP Platform (Beta) -... and maybe raise an incident with SAP Support. As a workaround I would suggest to create a URL tile that opens your Multi-Target Launchpad Module app in a new tab.

ankurbabu1
Explorer
0 Kudos

Hi gregorw ,

Thank for your reply. If you look at the first line in Overview of help.sap.com link, it is mentioned that:

"To integrate SAP Cloud Platform extension apps into a launchpad on the ABAP platform, you need to develop a launchpad module to expose these apps."

List of limitations also does not consider this point. Also, we don't want to open it in a new tab, that is not an expected scenario.

Anyways, I will open an OSS for the issue. Any other help is also appreciated here.