All Questions
Tagged with sap-business-technology-platform sapui5
111 questions
0
votes
0
answers
31
views
Error when serving a public static file in SAP Fiori App on SAP BTP CF
I'm struggling with what seems to be a simple one... but still can't get it working: In SAP BTP CF I have generated a Fiori project (from template), without FLP, with a managed application router + ...
2
votes
1
answer
57
views
How to properly reference SAPUI5 components deployed on BTP Cloud Foundry for embed in another Components (reuse component)
While developing Fiori applications on SAP BTP I came across the same issue over and over again. How do we do to embed other components that are deployed separately in the same CF Space.
Here is a ...
0
votes
0
answers
38
views
Failed to deploy Fiori app on on CloudFoundry - NoAppDetectedError - An app was not successfully detected by any available buildpack FAILED
I got my SAP BTP trial account. I created a basic Fiori app via SAP Fiori tools from template on BAS. I now want to deploy it to BTP. I used npm run build to build the project, cf login to login and ...
0
votes
0
answers
37
views
SAP btp Automation pilot
I have imported a catalog (in JSON format) from GitHub into my project (BTP AUTOMATION PILOT). I need to trigger a specific command that requires a service key, but I am unsure how to find or create ...
0
votes
0
answers
249
views
Error: Authentication kind "jwt" configured, but no XSUAA instance bound to application
I would like to connect my BTP CAP Node.js app to external SAP service in production env using destinations. It is important to use OAuth2.0ClientCredentials authentication method. Sandbox works for ...
0
votes
0
answers
146
views
Binding data in SAP Build Apps
I want to create a test app in SAP Build Apps but I'm getting no data into my list items. The connection to my OData service works.
Is it normal, that the response is in "responseText"?
...
0
votes
0
answers
407
views
How to solve the Content Security Policy Issue with SAPUI5 App: 'unsafe-eval' Not Allowed? [duplicate]
I have a SAP UI5 app deployed to BTP - Cloud Foundry env.
The app was working fine, but suddenly I started getting the following error:
ModuleError: Failed to execute 'sap/suite/ui/commons/...
2
votes
1
answer
388
views
Why changing just the `sap.app/id` in the manifest.json causes app to crash?
I have a SAP CAP Full Stack app. I also have some custom UI5 code - XML Views and JS controllers.
Everything is working fine, but if I just change the sap.app/id section in the manifest.json file (...
0
votes
0
answers
145
views
SAP Workzone and XSUAA: Scopes Empty
roles created via Kyma
xsuaa.yaml
kind: ServiceInstance
metadata:
name: services-xsuaa
namespace: <namespace>
spec:
serviceOfferingName: xsuaa
servicePlanName: application
parameters:
...
0
votes
0
answers
69
views
Remove dynamic token from SAPUI5 app path when loading from SAP BTP cockpit
I have created sapui5 app and deployed it to cloud but when I am accessing it from SAP BTP cockpit I am getting dynamic token in the path which will create issue when I deploy it to other system ...
2
votes
0
answers
641
views
How do I use a SAP BTP Destination in JQuery ajax request in SAPUI5 controller
I want to use the authentication stored in the SAP BTP destinations for a jquery ajax request in my sapui5 controller.
I tried a few different approaches I found searching for this problem, but none ...
0
votes
0
answers
515
views
SAP CAP Service Deployment to Cloud Foundry Fails with "CRASHED" Status and "Exited with Status 1" Error
I am encountering an issue while trying to deploy a SAP Cloud Application Programming Model (CAP) service to Cloud Foundry from my local machine. The deployment process fails with the following error ...
2
votes
1
answer
516
views
External API accessible from BAS but not from Workzone Launchpad?
I am trying to call a Microsoft graph API token retrieval endpoint via a destination in Cloud foundry. The request works fine and Bearer token is returned while I make the call via AJAX Post call from ...
1
vote
2
answers
2k
views
Not able to use OData V2 (Northwind) data in SAPUI5 App
I am trying to use Northwind data service (OData V2) in my SAPUI5 app. However, I am not able to get any data at all from the server.
This is my XML view:
<mvc:View controllerName="c.g....
0
votes
1
answer
5k
views
Error while deploying SAP Fiori and CAPM application in SAP BTP Trial Account
I created a basic SAP CAP/Fiori application using BAS of SAP BTP, with HANA DB Instance created. It's working fine when I run it locally. However, during deployment to SAP BTP Trial Account, I ...
1
vote
1
answer
833
views
Why can't my Fiori module access a destination when started as "HTML5 Application", but is working fine inside BAS?
I'm currently developing a MTA with a Fiori sub-module using SAP Business Application Studio. When I start the Fiori sub-module using "npm start" everything is working fine and I can connect ...
0
votes
0
answers
960
views
SAP: Problem connecting BAS to CF for Odata service
I am trying to connect to my cloud foundry abap environment, where I "created" and deployed an Odata Service based on that course: https://open.sap.com/courses/fiori-ea1/items/...
1
vote
0
answers
317
views
SAPUI5 BTP Cloud Foundry How to create SAPUI5 News in CF Launchpad?
I'm trying to migrate SAP BTP Neo Cloud Portal apps to SAP BTP Cloud Foundry. Im facing an issue in migrating an application which I configured App type as News in SAP BTP Neo.
Below is the pic of SAP ...
7
votes
0
answers
3k
views
sap.ushell.Container is undefined in SAPUI5 app deployed on SAP BTP Cloud Foundry
I am facing an issue in calling sap.ushell.Container.getServiceAsync("CrossApplicationNavigation") from a SAPUI5 application deployed in BTP Cloud Foundry and accessed through SAP BTP ...
0
votes
1
answer
1k
views
SAP UI5 / Cannot get data from Service through destination
I am developing a ui5 app using the managed app router to try to consume destinations from the BTP. The destination uses a BasicAuthentication with a technical username and password and the connection ...
1
vote
2
answers
8k
views
How can I consume OData services from my own backend system for a UI5 app?
I am new to SAP and currently working on the walkthrough tutorial of the SAPUI5 documentation and managed to get to Step 26 - Remote OData Service.
I also wanted to try this step with my own OData ...
0
votes
0
answers
351
views
How to get Web Socket URL from destination?
I am in need of a solution where I need to get the web socket URL in a secure way that is from the BTP Destinations. How can I add Web socket URL to destination and how can I call it from UI5 ...
0
votes
1
answer
1k
views
How to read SAP Cloud Platform User-Provided Variables from a SAPUI5 app?
I was looking for a way to read the User-Provided Variables using JavaScript from a SAPUI5 app.
I've seen examples for node.js and Java, but those don't apply to a SAPUI5 app.
The node.js "...
1
vote
1
answer
806
views
SAP CAP: PATCH call for OData.Draft.enabled Entity returns 404
For my SAP CAP Bookstore app, I am trying to make a PATCH call from my Workflow App via Service Task (PATCH).
This worked fine. Now we changed the target app to @OData.Draft.Enabled which adds an ...
4
votes
1
answer
8k
views
Unable to deploy CAP application to Cloud Foundry
I have been developing an application using Cloud Application Programming Model (Node.js), following this tutorial:
https://github.com/SAP-samples/cloud-cap-nodejs-codejam
Unfortunately, I am unable ...
1
vote
1
answer
1k
views
Loading External JS in SAP Fiori all pages
We have a software that runs as an overlay on existing applications, SAP Fiori being one of them. We need to ask our client to include the CDN hosted JavaScript on all application pages. As I ...
1
vote
0
answers
84
views
User Authentication on the SAP cloud platform for the business users on different sap systems which are not connected to SAP cloud
My SAP Cloud platform is connected to the system called X, but not all the users are available on system X, there are few on Y and some Z as well. So I get the information of all the users from system ...
-2
votes
1
answer
3k
views
How can I configure multiple different destinations?
i want to have multiple destinations is it possible to configure in cloud foundry environment?
xs-app.json
7
votes
2
answers
3k
views
How to reuse a component from another application in UI5 1.38?
Environement
Framework : SAPUI5 V1.38.39
IDE : SAP WEB IDE
Problem
I want to use a SAPUI5 application in another one, in order to do so I found the following resource: https://blogs.sap.com/2017/04/05/...
3
votes
1
answer
3k
views
Unable to consume OData in my SAPUI5 app - initial loading of metadata failed
I am facing an issue while trying to consume OData and binding (aggregation binding) it with list item in my demo app.
The webpage is showing "No Data".. I referred other threads, but not ...
1
vote
1
answer
5k
views
Get user info from ui5 app within Cloud Foundry's Fiori Launchpad
As the title says, I'm trying to retrieve user info from an application which is in the Cloud Foundry's FLP.
I've followed the following blog:
https://blogs.sap.com/2019/05/23/how-to-get-the-email-of-...
1
vote
1
answer
663
views
Consume a third party library through a Destionation in Sap Cloud Platform
As we can call an external northwind oData service in our consuming sapUI5 app (relying on SCP destinations and routing in neo-app.json), I was wondering if it is possible to expose a custom library ...
0
votes
0
answers
170
views
SAP Cloud Platform Deployment - invalid contents (?) in neo-app.json
I have a test-app in SAP cloud platform. While trying to deploy it in the cloud (and after a few successful deployments) I suddenly get the message below:
File looks perfectly alright (definition ...
0
votes
1
answer
819
views
SAP Cloud Application Programming Model Integration
I try to integrate already implemented SAPUI5 application with CAP in order to use SQLite database. In my models I have a property called Order and as you may know, Order is a reserved keyword in ...
1
vote
1
answer
1k
views
Migrate SAPUI5 Fiori application from Neo to Clould Foundry
I have some SAPUI5 Fiori applications developed using SAP WEB IDE in the Neo platform. Now I need to migrate those applications to the cloud foundry environment. So far as I checked there are few ...
6
votes
2
answers
2k
views
Why SAPUI5 loads similar fragment several times?
I have an XML fragment and use it in several places in an XML view.
<IconTabFilter text="ABC" key="1" icon="sap-icon://alphabetical-order">
<content>
<Table id="table1" ...
4
votes
1
answer
6k
views
Difference between In-App extensibility and side-by-side extensibility?
Can anyone explain the key difference between key-user extensibility and side-by-side extensibility in SAP?
1
vote
0
answers
389
views
How to fix: SAP Cloud Platform Login window renders blank in iframe
I created a webpage with SAPUI5 that is hosted on the SAP Cloud Platform. This webpage is now in use inside an iframe as a chrome extension.
When the user is logged into the Cloud Platform everything ...
2
votes
0
answers
725
views
How to listen to Server-sent Events on SAPUI5
I'm trying to make my SAPUI5 app deployed on Sap Cloud Platform listen to server-sent events sent from a simple test server.
I found this tutorial: https://auth0.com/blog/developing-real-time-web-...
1
vote
1
answer
273
views
Mobile App build in SAP WEB IDE is pulling in the wrong App Id from Mobile Services
When Deploying a Mobile app from Web IDE to Mobile services, the app Details in appconfig.js config.xml are being pulled from the incorrect mobile services sub-account.
This can be corrected by ...
0
votes
2
answers
2k
views
Build and Deploy a UI5-App to the Cloud without WebIDE
Is there a Best Practice to Upload HTML5 Applications from a File without using the WebIDE.
My Goal is to create a Zip Package which I can deploy to multiple Subaccounts and just needs the proper ...
1
vote
2
answers
472
views
Transfer SCP Cloud User Information securely to ABAP
I have a UI5 Application hosted on SAP NEO which retrieves Data via an ABAP OData Service.
Users are maintained in SAP Cloud Identity and mapped with their Backenduser and the login is setup via ...
0
votes
0
answers
652
views
Reach OData service from locally running SAPUI5 app
I am having a problem running an SAPUI5 application locally with Visual Studio Code. I am serving the webapp files with a static files server run by Grunt at localhost:8080
The problem is reaching the ...
1
vote
0
answers
4k
views
Displaying dynamic information on SAP Fiori Launchpad tile (SCP portal services)
I want to create a tile showing dynamic information on tile using SAP Cloud Platform portal services. I am unable to display all information on custom tile using odata service.
Below is the image of ...
0
votes
0
answers
394
views
how to access a different module in multi target application
I'm new to cloud foundry, so I'm not sure, if my thoughts and plans are right. Maybe someone can explain or discuss it with me.
What I want to do:
Implement a MTA (Multitarget Application) with a a ...
1
vote
0
answers
323
views
SAPUI5 Hybrid App - How do I implement logout functionality?
I've applied the following logout functionality to my SAPUI5 Hybrid/Cordova app.
onLogout: function () {
if (typeof sap.hybrid !== 'undefined') {
sap.Logon.core.deleteRegistration(this....
0
votes
2
answers
457
views
SAPUI5 - Accessing Sub Account ID from within controller
I'm accessing a URI from my controller which at the moment is hardcoded to my current SAP Cloud Platform Sub-Account.
window.open("https://rsaactionplan-(subaccount).dispatcher.hana.ondemand.com/...
5
votes
3
answers
1k
views
Is it possible to flush/refresh specific offline oData entities in SAP Cloud Platform?
The standard flush/Refresh offline oData functions are performed on all entities in the offline Store.
This, of course, has implications on mobile data and performance.
Is there a way to FLUSH/...
0
votes
1
answer
966
views
Is there a way to reuse components when deploying to the Sap Cloud Platform?
I am trying to reuse an application from another through the use of a ComponentContainer as demonstrated in this blog: https://blogs.sap.com/2017/10/23/demystifying-the-art-of-component-reuse-in-...
2
votes
0
answers
620
views
MTA application with reuse Libraries
We have SAP UI5 MTA application deployed in SAP CP consist of 3 apps(HTML5 modules).
All these apps right now standing independently without communicating each other.
Among these two apps controller ...