Questions tagged [sap-cloud-sdk]

Use this tag for questions related to SAP Cloud SDK. SAP Cloud SDK provides language-specific out-of-the-box capabilities, such as an abstraction of the underlying cloud platform implementation, fault-tolerance, cache management, etc. It also provides a continuous delivery toolkit with ready-made Jenkins pipelines. Programming languages related to this tag are Java, JavaScript, and TypeScript.

304 questions
0
votes
1 answer

Error during custom odata client creation

EDITTED AFTER Deeksha's answer Following the blog post to create a custom OData client using Cloud SDK's Generator for JavaScript & Deeksha's suggestion, I run the following command to create my OData client: sdk_test % generate-odata-client…
meakgoz
  • 568
  • 4
  • 18
0
votes
1 answer

How to set "SAP-PASSPORT" Header in OData call with Cloud SDK Neo project template

We are going to gather some statics in SAP BTP Neo environment with FRun (not support CF). To implement the tracing of outgoing connections calls. I need to update "SAP-PASSPORT" and forward it as a header. I followed SAP official documentation to…
Jerry Zhang
  • 179
  • 3
  • 13
0
votes
1 answer

SAP Cloud SDK access Extension Suite Data/Lists of Destinations available/Groups

I was wondering if they are any possibility with the sap cloud SDK for java to consume some API used by the cockpit? For example: To get all services they are the URL…
0
votes
0 answers

How to manually configure a ThreadContext in a multi-tenant app?

I'm developing a multi tenant app on the SAP BTP and I need to process webhook events that I receive from a non-SAP system. More specifically, upon receiving an event, I need to access a destination in my tenant's sub account and query some data…
floste
  • 79
  • 6
0
votes
1 answer

SAP Cloud sdk android - read offline data

I have been using SAP Cloud SDK for Android to generate a native application. It uses an ODATA Service and has offline functionalities. Everything works fine... I have 5 Entities and wizard has created CRUD forms for them, and synchronization works…
djomla87
  • 93
  • 1
  • 3
  • 13
0
votes
1 answer

OData Vdm Generator returns an error on a particular EDMX file

I'm trying to generate classes using the odata-generator-cli-3.52.0 on the EDMX file that you can download from the following API Hub link: https://api.sap.com/api/ProjectServiceV2/overview. The command I'm using is the following: java -jar…
0
votes
1 answer

How to filter based on a StructuredQuery using VDM queryhelper

We have a VDM helper class as below MmpurReqFluentHelper helper = (MmpurReqFluentHelper) valueHelpService.getAllMmpurReq(); helper.filter(FilterExpressionHelper<>); How can we convert a given StructuredQuery containing filters (structure attached…
0
votes
0 answers

Java OData client using SAP Cloud SDK problems

I am having troubles with updating my OData Client. I would refer to How to call bound functions / actions inside Java client using SAP Cloud SDK? where people from SAP helped me alot, thanks! Issue is, I wanted to update dependency to last version…
0
votes
1 answer

SDK Support for Document Service

I would like to connect the Document Service from Java (Spring Boot application deployed in SAP BTP Cloud Foundry environment with multitenancy) and I am wondering about the intended way to connect the document service in a multitenant…
O. Merk
  • 113
  • 10
0
votes
2 answers

How to use Principal Propagation to call Workflow REST APIs

Is it possible to use Principal Propagation to call Workflow REST APIs using type-safe client? The way provided is via client credentials. Is there any plan to support principal propagation in the…
Jerry Zhang
  • 179
  • 3
  • 13
0
votes
1 answer

Facing an error while generating VDM using cloud-sdk maven profile

Im trying to generate VDMs using the below metadata-
0
votes
1 answer

Tenant Not availalbe exception despite the use of the workaround

I have implented GetAllBusinessPartnerCommand and also customized the code in the BusinessPartnerServlet. When I try to call the application with the customized code, I always get this error. Code GetAllBusinessPartnersCommand package…
0
votes
1 answer

Not able to connect to Trial S4Instance in CAL from SAP BTP Destination service

I am developing SAP Extension Application using java 1.8, Spring Boot and SAP SDK. I am deploying this application in SAP BTP (SAP Cloud platform). My S4HANA instance is trial version and it is running in CAL. My Spring Boot application could talk…
0
votes
1 answer

V4 Generator - OData V2 Non-Simple Function Import Parameters

I am using version odata-v4-generator-cli 3.40.0 to generate a client from the SAP B1 Service Layer definition. However, there are many errors like the following: Function import DraftsService_SaveDraftToDocument has non-simple type for parameter…
Conner
  • 17
  • 5
0
votes
1 answer

How best to mock S4 endpoints to do performance tests (load test)?

This is not related to cloud sdk per se, but more regarding mocking the s4 endpoints which we usually use c sdk to query. We want to do this for our load test, where we would not want the load test to go till s4 endpoint. We are considering using…
Sachin C Nambiar
  • 135
  • 2
  • 11