Questions tagged [sap-cloud-foundry]

85 questions
6
votes
1 answer

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 Launchpad service. My understanding is: if app is launched from…
5
votes
2 answers

What is a manifest.yml file in cloud foundry and why do i need it?

Why do I need to add this file to my JAVA projects before deploying the project on cloud foundry? Is it mandatory?
user1858796
  • 187
  • 1
  • 4
  • 13
5
votes
2 answers

Trying to push first app to SAP, getting error "exceeded the total routes". How can I correct this?

I am taking Pivotal's Cloud Foundry training. I set up a 30 day trial account at SAP and trying to push my first "hello, world" application, but getting error Updating app web-app... Mapping routes... You have exceeded the total routes for your…
Victor Grazi
  • 15,563
  • 14
  • 61
  • 94
3
votes
1 answer

Cloud foundry "cf create-service" appends nonsense to "xsappname"

Trying to create a XSUAA service in the cloud fail because of already existing service. But actually no service exist there. -> cf create-service xsuaa application xsuaa-authentication-newsletter -c security/xs-security.json Creating service…
SG Tech Edge
  • 477
  • 4
  • 16
3
votes
2 answers

Error - Failed to add 'SAP-Connectivity-Authentication' header for on-premise connectivity

I am connecting an On-premise S/4 HANA with SAP Cloud Platform trial account. I am using SAP Cloud SDK to fetch all Business Partners from S/4 HANA. My Cloud Connector is set My Destination at Sub-Account level is set and can ping to my on-premise…
3
votes
1 answer

'Unable to build destination for service binding' with SAP Cloud SDK JS app

I'm trying to build an OData client on SAP CF that would connect and get content from S4 on-prem system. I have followed this tutorial: https://developers.sap.com/group.s4sdk-js-cloud-foundry.html I have not created and deployed a custom destination…
3
votes
2 answers

Failed to get access token: no valid JWT bearer found while accessing S/4HANA via OAuth2Bearer

I've generated project via: mvn archetype:generate -DarchetypeGroupId=com.sap.cloud.s4hana.archetypes -DarchetypeArtifactId=scp-cf-spring -DarchetypeVersion=LATEST I included S4Sdk jars and accessing S/4HANA V2 API. The code works fine with Basic…
Rahul Pandey
  • 141
  • 1
  • 11
2
votes
1 answer

CloudFoundry - conditional env variable based on space name

I have a question about an application based on CloudFoundry. Until now we had random routes (via ports) on any environment. Now there is a requirement that on each environment (dev, test, prod) always the same port is used, so that the recipients…
Tobias
  • 4,921
  • 4
  • 31
  • 40
2
votes
2 answers

DOS Attack mitigation/rate limiting on SAP BTP CF Apps Apis

I am developing Side by side extension application on SAP BTP Cloud foundry environment ,application business api's are provided by Java microservices on frontend via SAP CF Approuter, my requirement is to capture certain malicious activity by…
2
votes
0 answers

Service to service authentication/authorization within same space

We've deployed 2 java services on SAP CF and both are deployed in the same space and bound to the same Xsuaa instance. Now Service A needs to call service B with the access token of the user. Service A already has the current access token available…
2
votes
1 answer

Invalid JWT token for New subaccount in SaaS

We are working on SaaS application development on SAP BTP ,facing very strange issue ,with new subaccounts ,after publishing our application through SaaS registry service and implementation of all call backs and including dependency call back ,when…
2
votes
2 answers

SAP CF XSUAA Service - Error Message: Invalid redirect /login/callback did not matched the registered values

Implementing SAP xsuaa service with java and deployed, accessing the application URL facing below issue.
Atul Jain
  • 1,035
  • 2
  • 16
  • 24
2
votes
2 answers

Having issue with Multi Threaded Java app in Cloud Foundry

My Java app has a program which executes multiple threads on the same time to complete a task. It works really well on my local computer as it has 4 Cores and 8 Logical Processors but when I deploy my app on cloud foundry, it doesn't allow to create…
2
votes
1 answer

Generate VDM for SFSF using Java in SAP Cloud SDK: Generated URI is wrong

I'm trying to build an app that reads info from SFSF. For this, I'm using the Virtual Data model generator tool (the maven plugin) with SFSF OData metadata to be able to access the system. I'm following these steps: Get a project via archetype…
2
votes
0 answers

unable to define idp attribute in xs-security.json and use it in approuter

Defining attributes and referencing them in role-templates works, but how can they be defined as static/saml attribute in xs-secutity.json? Application roles from xs-security can be edited in SAP Cloud Platform Cockpit, but not section ATTRIBUTES!…
Volker
  • 53
  • 4
1
2 3 4 5 6