cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Fiori App Opens in New Window

Juliuspereira
Active Contributor
0 Kudos

Hi,

This is my first attempt with a custom app after deploying standard apps. Here is the issue I am facing. We have an app which is in the namespace /sap/bc/ui5_ui5/symsoft/ but not in sap/bc/ui5_ui5/sap/ (not sure if this matters but I thoguht of mentioning it anyway)

When we try to open this app from the Fiori Launchpad, it opens successfully but in a new window. In the launchpad designer, the app has the following details.

I then changed it to Semantic Object based navigation. (I created the semantic object in /n/UI2/SEMOBJ)

However the app does not open now. It seems like its trying to open in the same window of the launchpad (which is good) but then gives an error. "Could not open app. Please try again later."

I also tried with Parameters, but in vain.

The target mapping for reference is:

I think this has something to do with the app not being in the sap namespace (sap/bc/ui5_ui5/sap/) but is in its own namespace (/sap/bc/ui5_ui5/symsoft/) but I could be totally wrong.

Can someone help me with what I am doing wrong or missing here?

Thank you.

Julius

Accepted Solutions (1)

Accepted Solutions (1)

maheshpalavalli
Active Contributor

Hi Julius,

You don't need to use LPD CUST anymore, just check the blog below and use the target mapping and select the transaction as fiori and provide the information there 🙂

https://blogs.sap.com/2016/06/09/sap-fiori-launchpad-simplification-of-target-mapping-maintenance/

https://sapyard.com/how-to-deploy-ui5-app-without-lpd_cust/

Update: correct answer is in the comment below:
https://answers.sap.com/questions/12837167/custom-fiori-app-opens-in-new-window.html?childToView=128...

All the best and Thanks

Mahesh

Juliuspereira
Active Contributor
0 Kudos

Hi Mahesh,

I have not used LPD_CUST. Is there anything specific that caught your eye which may infer that I used the LPD_CUST?

Thank you.

Julius

maheshpalavalli
Active Contributor
0 Kudos
Julius Pereira sorry didn't see the other image :(you don't need to give any parameters in the tile. Initially,, just create a static tile and create the target mapping for it. Just follow the sapyard blog I've posted. You need to provide the sap ui5 app name space. for eg. in the component if the name is sap.test.app1.component then the namespace is sap.test.app1 -> this will become the ID which you need to enter below the URLBr,Mahesh

Answers (2)

Answers (2)

Juliuspereira
Active Contributor
0 Kudos

Hi Saurabh. Thank you. That's exactly what I did before posting my previous comment. The app is not available in SE80 under BSP application.

maheshpalavalli
Active Contributor

Hi Julius Pereira,

try searching with *app_name* in se80 I think the bsp app name would've been prefixed with the folder name.

BTW, you can click on comment and reply instead of posting a new answer.

Thanks,

Mahesh

Juliuspereira
Active Contributor
0 Kudos

Hi Mahesh,,

How do I set this thread to complete / accept the answer you provided as the solution to this question?

Thank you

Julius

Juliuspereira
Active Contributor

Hi Mahesh,

My apologies for the new answer instead of comment. Thank you. That is absolutely correct. I was able to see the bsp app using *app_name*. I added the namespace from the component, below the URL in the target mapping and it worked. I just can't thank you enough. Thank you so very much. I really appreciate it.

Thank you.

Julius

P.S: Thank you Saurabh too.

maheshpalavalli
Active Contributor

That's great Julius Pereira, happy to hear that it was helpful!! You can accept my original answer as the correct answer. I will update it with it with latest comment.. ( you can't accept a comment as an answer sadly 😞 😞 )

Happy coding and be active in the community 🙂 🙂 one more tip, you can use the names to tag people like how I've used your name link. It will send a notification to that person else the comment might get lost.

BR,
Mahesh

Juliuspereira
Active Contributor
0 Kudos

Hi Mahesh, Thank you. I would like to try that out. However I am not able to find the bsp application of the app to get to its component for namespace details. All I have is the URL of the app when it opens in a new window.

http://XXXXXXX:XXXX/sap/bc/ui5_ui5/symsoft/wf_01/index.html

Is there any way to find the namespace info. from the above URL or to find the BSP application of the app?

Additional info: We have a front-end server and a backend server and the app is deployed in the launchpad on the frontend server.

Thank you

Julius

saurabh_vakil
Active Contributor
0 Kudos

You can go to transaction SE80 on your front-end server, select BSP Application from the drop down list and enter wf_01 as the name. When the project loads open the Component.js file. As explained by Mahesh here you can find the component name, for eg. if the component name is sap.test.app1.component then the namespace is sap.test.app1 -> this is what you have to use for the ID field witin the target mapping.