Questions tagged [sap-cloud-foundry]

85 questions
1
vote
0 answers

SCP: How to get role collection (CF) and roles (NEO) through the api

I'm working with the SAP cloud platform with Neo and Cloud Foundry Applications/Organizations on it. Currently I have the task to get all role collections from the cloud foundry applications and all the roles (or better called groups) from…
1
vote
0 answers

How to call a user provided variable in Cloud Foundry to a SpringBoot App

I have created a Spring app and deployed it to the cloud foundry. I have set some user-defined variables into it using the cf set_env command. How can I call my user-defined variable into my Spring app? The variable before being set as an…
1
vote
1 answer

Change log level at runtime for a cf application based on SAP Java Buildpack

Following the guide over here: https://sap.github.io/cloud-sdk/docs/java/guides/logging-overview#logging-overview I am trying to use CF CLI cf set-env command to change the logs levels at runtime. This commands executes successfully and the log…
1
vote
0 answers

Is there any placeholder notation in mta.yaml that removes spaces from the CF org name parameter?

We are using mta to structure our application and deploying it using the SAP Cloud SDK Pipeline and Transport Management landscape. In the mta.yaml, we are referencing the org (organization) parameter value using the placeholder notation ${org}. The…
jycha340
  • 31
  • 4
1
vote
1 answer

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-the-logged-in-user-in-cloud-foundry/ However my…
1
vote
1 answer

How to integrate SAP Cloud Platform TMS to CI/CD pipeline?

We are trying to implement SAP Cloud Platform Transport Management service in our current CI/CD pipeline (Piper Project). We are referring to documentation in https://sap.github.io/jenkins-library/scenarios/TMS_Extension/ for the configuration…
jycha340
  • 31
  • 4
1
vote
1 answer

SAP Cloud SDK JS receives empty data from Enterprise Messaging Queue

I have build a simple cloud-SDK based application for adding as a Webhook in Enterprise messaging queue to receive the events as soon as it gets inside the queue. I have an OPTIONS and POST function. OPTIONS is for the handshake with the queue and…
Navin
  • 594
  • 2
  • 11
1
vote
2 answers

SAP Cloud SDK for javascript using the destination

I have followed the Tutorial and build the basic CF based nodejs applciation to display all BusinessPartners from my S/4HANA on-premise destination. function getAllBusinessPartners(): Promise { return…
Navin
  • 594
  • 2
  • 11
1
vote
1 answer

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 differences in the application files of NEO & Cloud…
tarzanbappa
  • 4,930
  • 22
  • 75
  • 117
1
vote
1 answer

SAP Cloud SDK method for output service in OData form

We are using SAP S4HANA SDK Springboot archetype to build the application in SCP Cloud Foundry. The requirement is to fetch the OData services from the SAP S4HANA and expose them to the Fiori UI frontend in the form of OData. From the Java web…
Arun Kumar
  • 133
  • 8
1
vote
1 answer

RFC support on Cloud Foundry

Some months ago there was no RFC support on Cloud Foundry. It was discussed here: https://blogs.sap.com/2017/09/15/step-11-with-sap-s4hana-cloud-sdk-virtual-data-model-for-bapi/ Are RFC calls supported in the meanwhile?
O. Merk
  • 113
  • 10
1
vote
0 answers

commands "cf login" , "cf api" raising exception

When I run the command cf api https://api.cf.us10.hana.ondemand.com or cf login The following exception is raised. Exception 0xc0000005 0x0 0x42024dbf 0x7ffdcf080e57 PC=0x7ffdcf080e57 Though, I reinstalled the CF CLI this exception is still…
Sankeerth
  • 249
  • 3
  • 12
0
votes
1 answer

App can access external API from Business Application Studio 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 an app in Business Application Studio. The same…
0
votes
0 answers

How to format properly 'X-Cf-App-Instance'?

Has someone tried to specify explicitly what instance of an application on CF should receive a request? I try to add a special header in form of 'X-Cf-App-Instance': '19eb77aa-4bbc-4e01-47a7-faac:1' where 19eb77aa-4bbc-4e01-47a7-faac is taken from…
0
votes
0 answers

JCO_ERROR_COMMUNICATION: Initialization of repository destination failed

I am getting below error while trying to use SAP JCo3 in my Springboot application to access a backend BAPI deployed in SAP CF. Caused by: com.sap.conn.jco.JCoException: (102) JCO_ERROR_COMMUNICATION: Initialization of repository destination…
Athul Ram
  • 31
  • 2