404 questions
0
votes
0
answers
68
views
How to update HANA Cloud DB table across schemas in SAP BTP HDI container (insufficient privilege + grantor/grantee identical error)?
I want to update data in ITOP_SCHEMA_1_1.GENERAL_INFO(HDI container schema) using data from cockpit database DBADMIN.GENERAL_INFO. Specifically, I want to update HIGHEST_TIME_CONTRIBUTOR field in ...
0
votes
1
answer
285
views
How to set stable UI5 version on the Cloud Foundry Fiori Launchpad?
Who knows how stable UI5 version is on the Cloud Foundry SAP Fiori launchpad?
I tried a lot of variants but always after I deploy, when running applications, the applications use the latest standard ...
0
votes
0
answers
408
views
The HTTP response code (403) indicates an error. The OData service responded with an error message
I'm following this official SAP tutorial: Connect to OData Service on Cloud Foundry Using SAP Cloud SDK
But I struggle to connect to Production order API. This is the official SAP data for this API.
...
1
vote
0
answers
49
views
MBT build fails during personal vector setup
I am trying to create personal vector for my BTP CAP for JAVA microservice and during MBT build, I get the below error.
ERROR could not execute the "mvn -B clean package" command: the ...
0
votes
0
answers
152
views
SAP integration suite odata api proxy to the api portal backend service
I have installed the API Proxy packaged on my trail (on us10) instance of SAP Integration suite.
https://api.sap.com/api/APIPortal_APIProxy_CF/overview
It is a proxy to:
https://us10apiportal.cfapps....
0
votes
0
answers
341
views
Error During CAP Integration with SAP SuccessFactors: "Failed to Build Headers"
I’m encountering an issue while working on an SAP CAP-based application. I'm sharing the details below and hoping for guidance from anyone experienced in CAP and SuccessFactors API integration.
The ...
0
votes
1
answer
88
views
SAP B1 add the form to the system
I used SAP Business One Studio to create a report from a query statement and it actually works when previewed.
I saved the file with the extension b1s.
I extracted a file with the extension srf.
What ...
0
votes
0
answers
57
views
LDAP.js Error: LdapErr:DSID-0C060810, comment: No other operations may be performed on the connection while a bind is outstanding. in SAP BTP CAP app
I am working on an SAP BTP CAP app that integrates with Active Directory using LDAP.js. The connection to the LDAP server works fine for most requests, but occasionally, we encounter the following ...
0
votes
0
answers
22
views
Problem inserting Material Output in SAP Business
When I try to insert a Material Output through postman to view and test data it asks me for the batch, but in the documentation there is no field to send the batch of the product or anything related.
{...
0
votes
0
answers
153
views
Unable to access the S/4 Hana Odata from the fiori app hosted in Cloud foundry BTP environment
We have deployed the Fiori app on BTP Cloud Foundry and connected it to the OData service in the public S/4HANA Cloud. The app works fine in BAS, but after hosting it on Cloud Foundry, the destination ...
0
votes
0
answers
156
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 + ...
1
vote
0
answers
145
views
NPM Dependency error During Flowise AI Deployment to SAP BTP Cloud Foundry
We are currently working on deploying the Flowise AI application to SAP BTP Cloud Foundry and are facing an issue during the deployment process. I’m hoping someone here can help with insights or ...
2
votes
1
answer
306
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 ...
2
votes
0
answers
76
views
Connect from GCP Cortex to SAP Datasphere w/o GCP services?
Need to establish connectivity to get data from sap datasphere to GCP Cortex framework without using native GCP services like data fusion, data services.
Please tell the configuration details as well ...
0
votes
0
answers
80
views
Android AGP upgrade returns unexpected error
I have a project with an SAP SDK integration and we needed to update it to a newer version.
This required to increase the target API to 33 but after fixing the compiling errors we receive this
Caused ...
0
votes
0
answers
826
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
807
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 (...
1
vote
0
answers
251
views
How to call a python API protected by XSUAA?
I followed the following tutorial ( https://developers.sap.com/tutorials/btp-cf-buildpacks-python-create.html ). When I just call the backend via a browser it just works.
I modified the backend so ...
0
votes
0
answers
352
views
Multiple databases on single PostgreSql instance on SAP BTP
I have an CAP application running on SAP BTP CLoud Foundry using PostgreSql. PostgreSql is also hosted on BTP as a service instance and deployed by mta.yaml. All working fine.
Currently I have a new ...
2
votes
0
answers
899
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
1
answer
222
views
ERR: Error LinekageError occured while cf push?
I'm trying to create a maven java project with spring boot and deploy it to SAP BTP.
the generated project from spring boot version is 3.2.1 and i have checked the java version is 17 as shown below.
...
1
vote
0
answers
137
views
How to validate foreign key constraint while insertion in SAP CAPM entity modeling?
I am new to SAP CAPM modeling. I have a requirement of tables as below.
VOUCHERPROGRAM
PROGRAM_ID
VOUCHER_DESC
1ax-0fd
voucher1
VOUCHERDENOM
PROGRAM_ID
VOUCHER_DENO
1ax-0fd
vouchxs5
1ax-0fd
vouchxs5
...
0
votes
0
answers
89
views
Conditional show/hide of buttons and table controllers?
I'm using the following code in my groovy script to hide or show a button and a table controller in the form. But this is not working and not making any difference in the show/hide of the screen ...
0
votes
1
answer
68
views
How to navigate to a new screen on a button click in SAP Advanced Workflow
I'm new to SAP Advanced Workflow. I'm developing an application in which I have created a form using the form designer. In that form there needs to be a button on the click of which it should load a ...
0
votes
0
answers
69
views
How can parameters be passed between tabs in a tab container in SAP Advanced Workflow
I'm new to SAP workflow. I'm using a tab container in my form. I need to pass values across the tabs in it such that when Next/save button is clicked it will pass to the next tab in the container. I ...
0
votes
1
answer
3k
views
Cannot deploy Fiori application from VS Code to SAP S4/HANA Public Cloud
I am a newbie to SAP S4/HANA Cloud. This is my first time to demo a new Fiori application and deploy it to the public cloud. I used Visual Studio as a development tool. However, when I run the command ...
0
votes
1
answer
480
views
How to develop in ABAP without ADT?
How to write ABAP code without eclipse editor?
I am new to ABAP development. I am learning ABAP for BTP development. I want to know how to write ABAP code without using the editor which has abstracted ...
1
vote
1
answer
802
views
xsuaa error: The redirect_uri has an invalid domain
Considering my spring boot application and a simple web Page HTML both deployed with my no trial account in a CF without a custom domain. Both application works perfectly.
After adding a xsuaa service ...
2
votes
0
answers
496
views
Connecting SAP API Management to SuccessFactors using OAuth Authentication
I am working on creating an API proxy in SAP API Management (SAP APIM) which connects to SuccessFactors system using OAuth credentials. I followed this link for the required policies, but later found ...
2
votes
1
answer
668
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 ...
0
votes
0
answers
596
views
GET request to API with basic authentication works with browser but not in Postman - used to work earlier
I'm trying to perform a simple GET request to the SAP IntegrationContent API. Up until today it was working fine on Postman, but it has recently started to return the source code of an authentication ...
-1
votes
1
answer
4k
views
SQL-How to Convert string to timestamp (DD-MM-YYYY HH:MM:SS to timestamp)
I am using SAP HANA BTP-SQL.
I have a order table with a column CREATED_DATETIME . Datatype is varchar (date format is not standard-so datatype fixed as string). Would like to convert it to timestamp
...
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....
4
votes
2
answers
8k
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:
...
0
votes
1
answer
6k
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 ...
0
votes
1
answer
489
views
Access S/4 on-premise from local machine without cloud destination service
I'm trying to access our S/4 on-premise system without any cloud services involved.
I', connected to the VPN and can reach our S/4 system and successfully address the BP API service with Postman.
When ...
1
vote
1
answer
1k
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
1k
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
120
views
How to automate the postman's grant_type='authorization_code' with newman
We are trying to automate the Postman collection get API with Newman.
Here, the used grant_type is authorization_code.
With Postman, it is possible to authenticate and generate the new token.
The main ...
0
votes
1
answer
806
views
SAP BTP Credential store REST API auth with mtls
So I am using a SAP BTP trial account and trying to make a small node js app that is binded to the cred store service instance. For trial account only mtls auth is possible with a key and certificate.
...
0
votes
1
answer
4k
views
SAP CAP Node.JS Odata 404 error on destination service after upgrade to CDS v6
I would appreciate your help with this issue.
-- Note - to get past the Spam filter, I have had to remove references through this question to "those things you send electronically over the ...
4
votes
1
answer
2k
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 ...
2
votes
0
answers
677
views
Application on SAP Cloud Foundry - OAuth 2.0 - Error: Something went amiss
I have been delevopping and deploying a python application for the SAP Cloud Foundry and trying to implement an authentication check using OAuth2.0.
Using this Tutorial.
Link to Code Note: I excluded ...
1
vote
0
answers
748
views
"You are not authorized to perform the requested action cf route sharing" while setup of route sharing
I'm trying to share a route between 2 spaces to avoid downtime while moving an app from a space (originspace) into another space (otherspace).
We're using SAP BTP Cloud Foundry runtime for the app
I ...
0
votes
1
answer
625
views
Routing not working when creating ui5 application using ui5-webcomponents-react
I am creating one react app based ui5-webcomponents-react, and deploying it to the SAP BTP. Each time the app is directly loading the index.html. I am not sure how to use the react-router in this app.
...
0
votes
0
answers
357
views
How can I format a double in CPI groovyscript?
I have a requirement to convert a salary value: 100000 into 1,000.00. Salary is in double data type.
I am using Groovy Script in this project but I have zero knowledge on how to use it. I am not sure ...
0
votes
1
answer
441
views
How to pass arguments / parameters to the npm-script using npmExecuteScripts?
I'm trying to run the npm-script from the Jenkins pipeline via the SAP Project Piper's npmExecuteScripts:
npmExecuteScripts:
runScripts: ["testScript"]
That works! Now, I want to pass ...
0
votes
0
answers
971
views
Unable to remote debug SAP CAP application using Approuter(XSUAA) in Visual Studio
I am working on a CAP Project which uses approuter for authentication in VS. For enabling remote debugging, have followed this blog.
The CAP project structure along with launch json file(configured as ...
0
votes
2
answers
666
views
SAP BTP Portal - App react Not found after refresh(F5)
Run HTML5 Aplication with ReactJS in SAP BTP Portal or Launchapd service. However when the page is reloaded or an external link is used for an internal route of the application it ends up giving the ...
0
votes
1
answer
858
views
DestinationAccessException while trying to access destination details using SAP Cloud SDK for JAVA
I am trying to retrieve the details of a destination using the APIs provided by SAP Cloud SDK for JAVA. I have added the following annotations to our Spring Boot application:
@ComponentScan(...