Skip to main content

Questions tagged [sap-business-technology-platform]

Use this tag for questions about "SAP Business Technology Platform" (SAP BTP) which covers the formerly well-known brand "SAP Cloud Platform" (SCP) or "SAP HANA Cloud Platform" (HCP). SAP Business Technology Platform (BTP) is a Platform as a Service (PaaS) cloud computing offering by SAP.

sap-business-technology-platform
Filter by
Sorted by
Tagged with
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/...
SylwekFr's user avatar
  • 318
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 ...
Anubha Pandey's user avatar
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" ...
MJBZA's user avatar
  • 4,936
5 votes
2 answers
7k views

Oauth2.0 setup for SAP Hybris

I'm exploring hybris sales cloud trial version. I want to test oauth2 using postman, I don't know if this is the right way but I created a client application in SAP Cloud Platform cockpit by going to {...
DougKruger's user avatar
  • 4,594
5 votes
3 answers
989 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/...
Adam Harkus's user avatar
  • 2,180
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?
Anmol Jain's user avatar
4 votes
1 answer
650 views

BAPI_ACC_DOCUMENT_POST on ABAP Cloud?

On an on-premise we have option to call BAPI for CRUD operations. How can we achieve the same in SAP cloud environment. For example I am trying to find solution to post FI documents from external API ...
AbapDesign4Future's user avatar
4 votes
1 answer
2k views

When I log in to the Cloud foundry (Authenticating... {"error":"invalid_grant","error_description":"User authentication failed: unauthorized"})

I am inside the SAP Business Application Studio, inside the terminal, when I put the CF login command I enter my credentials and this appears Authenticating... {"error":"invalid_grant&...
Javier Hernan Huertas Medrano's user avatar
4 votes
1 answer
7k 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 ...
maciejd's user avatar
  • 183
4 votes
1 answer
814 views

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 ...
jycha340's user avatar
3 votes
1 answer
2k views

Remote Debugging in SAP Cloud Foundry

I am wondering how to remote debug a S4SDK/Spring 2.0.6 Java Application deployed in SAP Cloud Foundry. I am using Eclipse (Spring Tool Suite) and started the app in Debug Mode. The application will ...
O. Merk's user avatar
  • 113
3 votes
1 answer
3k views

AZURE API : AADSTS9002326: Cross-origin token redemption is permitted only for the 'Single-Page Application' client-type Error

I am trying to call a Azure Token retrieval API endpoint from a SAP Fiori application via a BTP destination. Getting below error while executing the token retrieval call. Below is my destination: ...
Athul Ram's user avatar
3 votes
2 answers
4k views

Retrieve logged user information from cloud foundry web application

We developed a web application using SAP Web-IDE Full Stack; we need to retrieve the details of the user logged into application (as defined in SAP Cloud Platform Identity Authentication ...
LucaMus's user avatar
  • 721
3 votes
1 answer
2k views

How to easily consume nodejs-backend from html5 application with destinations?

I want to "connect" the html5 module with the nodejs backend, so that the frontend can access the backend for db logic. I found, that I have to create a destination in scp and write it in the mta.yaml ...
Galadriel's user avatar
  • 369
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 ...
buttler wk's user avatar
3 votes
1 answer
2k views

'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 ...
user2605996's user avatar
3 votes
1 answer
1k views

Receiving 404 error when trying to integrate dynatrace agent into s4sdk-based application

I am trying to integrate dynatrace with my s4sdk-based application following the steps mentioned here: https://www.dynatrace.com/support/help/cloud-platforms/cloud-foundry/application-only/deploy-...
Tim L.'s user avatar
  • 239
3 votes
2 answers
747 views

Create SAPUI5 application programmatically?

If it is possible at all, how do I create a new SAPUI5 application on my SAP HANA Cloud Platform account from an existing and running SAPUI5 HTML5 application? UPDATE: I don't want to enter the ...
keshet's user avatar
  • 1,796
3 votes
1 answer
1k views

Groovy script code to append xml node taking 15+ hours for 6K employee records

Below code is working but taking 15+ hours to execute 6000 employee records, any improvements possible? I have two employee record structures (employee data and employee benefits) for each of 6000 ...
Pradeep Bondla's user avatar
3 votes
1 answer
499 views

How to fix a DestinationAccessException thrown by the SAP Cloud SDK during application startup

I want to extend a S/4HANA Cloud System with a Spring application. It is possible to build the application without any error, and it can be also deployed to the SAP Cloud Platform. While the Backend ...
alex-ma's user avatar
  • 33
3 votes
2 answers
1k views

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-...
Nikhil's user avatar
  • 31
3 votes
1 answer
3k views

How to get roles of current user in Fiori app?

I have a requirement to fetch all the roles declared on the SAP Cloud Platform. I am using below code to load the site service try{ jQuery.sap.require("sap.ushell.cpv2.services.cloudServices....
Inderpreet Singh's user avatar
3 votes
0 answers
138 views

sap cloud platform List HTML5 Applications via API or CLI Tool

is there an API or CLI Tool to display all HTML5 Applications and there current active version of an subaccount. We need this for our build / deploy chain and work in the NEO Environment.
André Wuttig's user avatar
2 votes
2 answers
8k views

Loading of `$metadata` fails due service from https://services.odata.org not supporting CORS [duplicate]

I am trying to consume Northwind R/W OData service link: https://services.odata.org/V3/OData/OData.svc/. It is working fine on local testing. But without using proxy or mock server, the service ...
kuljit k's user avatar
  • 291
2 votes
4 answers
15k views

SAP Fiori Get logged in user details in UI5 application

I've a SAP Fiori application and I need to get the current logged in user details. I've searched web but unable to find a solution. is there any way to get current logged in user details from ...
tarzanbappa's user avatar
  • 4,950
2 votes
1 answer
6k views

How to store an editable variable outside the integration flow in HCP PI?

I created an integration flow that queries a database and upserts the results to a SAP HANA database every hour. The initial database table I am replicating in SAP HANA has a field with the timestamp ...
Diogo Magalhães's user avatar
2 votes
2 answers
5k views

How to change ui5 theme in component-based app of HCP WebIDE?

When I run webide project in UI5, it use sap_bluecrystal theme(webapp/resources/sap/ui/core/themes/sap_bluecrystal/library.css), but when I register my project to Fiori Launchpad of Portal Service, ...
Tina Chen's user avatar
  • 2,020
2 votes
1 answer
240 views

How to generate a service using generate-odata-client from an ECC or S4 using the service's $metadata?

I'm trying to convert a $metadata into a service for use with the SAP Cloud SDK Library. generate-odata-client --inputDir .\ctradeslipdata_metadata.xml --outputDir tradeslipdata Error [2022-06-10T01:...
Luiz Carlos Pedroso Gomes's user avatar
2 votes
1 answer
384 views

SAP Cloud SDK JavaScript: No CSRF Token for onPremise destination with Location ID

I have an application on SAP Cloud Platform which uses the SAP Cloud SDK JavaScript (Version 1.11.3) to communicate with an OnPremise Destination with corresponding Cloud Connector. Requests work fine ...
user avatar
2 votes
1 answer
1k views

Remote Debugging a node.js application on SAP Cloud Foundry

We have hosted several node.js express services on SAP Cloud Foundry. Since we can't get any further with this problem and maybe others are faced with this problem, here is the explicit question about ...
HSSE's user avatar
  • 33
2 votes
1 answer
180 views

sap.ui.unified controls in UI Theme Designer

I am trying to create a custom theme for my SAPUI5 application. I have a trial HCP account and I am using the the trial subscription for theme designer. But when I open up a new theme to create, I ...
Deepak's user avatar
  • 493
2 votes
2 answers
797 views

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 ...
SCD's user avatar
  • 85
2 votes
2 answers
6k views

How to provide destinations in SAP Business Application Studio to access on-premise OData API with Cloud SDK in CAP Java Project

I am following the tutorial below to use the SAP Cloud SDK in CAP Java project to invoke OData API of S/4HANA on-premise system. There is no much difference to use VDM in CAP Java project compared to ...
Jerry Zhang's user avatar
2 votes
1 answer
3k views

Defining custom Express endpoint for SAP CAP app

I am trying to create a standard SAP CAP (Cloud Platform Application Model) in SAP Business Application Studio and also extending it with additional Express endpoints besides the ones served by CDS ...
Gombos Levente's user avatar
2 votes
2 answers
531 views

How to avoid a DestinationAccessException when sending a POST request to an OData service using SAP Cloud SDK version 3.2.0

I'm developing a Java application that uses SAP Cloud SDK version 3.2.0. I've an endpoint that handles a request asynchronously using queueCallable of ResilienceDecorator; through this service, ...
Aimee Rodríguez's user avatar
2 votes
1 answer
527 views

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 ...
kepair's user avatar
  • 67
2 votes
2 answers
3k views

Send POST request to OData service using SAP Cloud SDK version 3.2.0

I'm developing an application that uses SAP Cloud SDK. I was previously using version 2.20.1 of SAP Cloud SDK and sent a POST request to an OData service. This is the code I used to send the POST ...
Aimee Rodríguez's user avatar
2 votes
1 answer
932 views

SAP Cloud Platform slow build process because of npm install

We use grunt to build our HTML5 Applications on the SAP Hana Cloud Platform. Unfortunately it is very very slow and takes hours sometimes it runs in the 6 minutes timeout to build a small App. The ...
André Wuttig's user avatar
2 votes
1 answer
993 views

Connect java spring boot app to SAP event mesh (BTP)

I'm currently trying to connect a java application (running on premise) to the SAP event mesh to receive messages published by some SAP system. The colleagues provided a json file with credentials and ...
TimoAppenzeller's user avatar
2 votes
1 answer
432 views

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 ...
SCD's user avatar
  • 85
2 votes
1 answer
394 views

Unable to create users in Hana Database Using execBatch()

I have an XSA System and XSA Database User. This XSA DB user will be used to create new Hana database users in XSA. I am trying to create a batch of users with the help of execBatch() functionality. I ...
Shreyasi Chakraborty's user avatar
2 votes
1 answer
552 views

Getting NoSuchMethodError (DestinationAccessor) when launching Spring Boot project with generated Java VDM

I'm building a Spring Boot project making use of S/4HANA custom OData Service and Java VDM. I have been following various tutorials on SAP Blog, developer.sap.com or S4H13 course - the approach is ...
maciejd's user avatar
  • 183
2 votes
2 answers
1k views

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 ...
Gippy Aulakh's user avatar
2 votes
2 answers
3k views

How to retrieve a destination in Java with SAP Cloud SDK 3.2.0?

I’m developing a Java application that uses SAP Cloud SDK version 3.2.0. I’ve doubts about how destinations are retrieved. When I test the application by running it on my local machine, I can send a ...
Aimee Rodríguez's user avatar
2 votes
1 answer
3k views

Mosquitto Broker Bridge Configuration - unacceptable protocol version

I'm doing a small IoT project with a local client using Paho MQTT client, sending MQTT data to a local mosquitto broker (acting as bridge) and then to my remote broker (SAP IoT Cloud). The data flow ...
stefano's user avatar
  • 315
2 votes
1 answer
214 views

Integrate SuccessFactors and S4HANA using S4 SDK

Currently we are referring https://blogs.sap.com/2017/05/10/first-steps-with-sap-s4hana-cloud-sdk/ blogs for our side by side extensibility use cases. We are trying to create a scenario for Building a ...
Meenakshi's user avatar
2 votes
1 answer
108 views

S/4HANA Extension - Multitenancy

I'm trying out the S/4HANA extension development exercises for multi-tenancy (Week 2 - Unit 4 of this course). I was able to setup Postman as described in the video, but when I execute PUT tenant ...
turnip424's user avatar
  • 332

1
2 3 4 5
9