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
2 answers

VdmComplex Changes Not Working with PATCH

Using the SAP B1 .edmx with 3.39.0 and trying to update DeliveryNotes with new DocumentPackages. However, the list of DocumentPackage that eventually gets passed by the execution of the update operation is empty. Code: var packagesUpdateDocument =…
Conner
  • 17
  • 5
0
votes
1 answer

SAP OData Generator generates bad URL for navigated entries

Using the SAP V2 Code Generator we have created classes for Success Factors. When generating a URL for a request that invokes an Navigated Entity it throws a 500 error. PerPersonFluentHelper q =…
0
votes
1 answer

Override JsonDeserializer Behavior

The generator has created a field of type OffsetDateTime: @Nullable @ElementName("DocDate") private OffsetDateTime docDate; But the server actually returns dates in the format: YYYY-mm-dd i.e. 2021-03-07 When using the generated code I get the…
Conner
  • 17
  • 5
0
votes
1 answer

Unable to set mandatory headers for ContactOriginData PATCH in batch mode

According to the integration guide for Contacts OData the Sap-Cuan-SequenceId header is mandatory when updating a ContactOriginData record. When updating in singleton mode I am able to set this header as follows and it works without issue: service …
kurts
  • 79
  • 6
0
votes
2 answers

Odata Query Batch Request - Filter not working

We are using SAP SDK 3.25.0 and calling a batch request Read query passing some filters. I am getting the response of all the records and it can be seen that the filter is not working properly. I have referred this blog here but I am getting the…
Arun Kumar
  • 133
  • 8
0
votes
3 answers

Exceptions when creating OData client via odata-generator-cli

I want to create an OData client in Java via odata-generator-cli 3.35.0. Using .edmx and swagger file of following Service from Business Hub. The OData client is being generated with an exception: [main] INFO…
Waffel
  • 11
  • 3
0
votes
1 answer

Pre-generated type-safe client libraries for S/4HANA On-premise 2020 is not available

I am going to use pre-generated VDMs for S/4HANA On-premise system (2020) with Cloud SDK 3.35.0. I can find all the services and data models in java doc of cloud sdk for On-premise system. The odata v2 services are located in the package…
Jerry Zhang
  • 179
  • 3
  • 13
0
votes
2 answers

Tenant specific Resilience Configuration

We want to provide options to customers to configure resilence like for circuit breaker configuration. Kindly let us know is there a way we can provide tenant-specific configuration in cloud SDK.
0
votes
1 answer

EDM DateTime field is not working as expected for the Patch call [post Cloud SDK version upgrade]

We upgraded to cloud SDK to the following version which is causing weird behavior for the patch call. This looks to be bug in Cloud SDK as we see the different behavior between Post & Patch for the EDM DateTime. Could you please confirm if this a…
0
votes
1 answer

OData PATCH request results in IllegalArgumentException

Since last week we started using SDK version 3.34.1 (and also tested this with 3.35.0). When we send a PATCH request to a SAP service we get a HTTP 204 No-Content response back from our SAP service (SAP Gateway). When the SDK tries to read that…
0
votes
1 answer

OData batch request through connectivity service always returns 202 Accepted

We have a springboot/sap-cloud-sdk (3.34.1) application deployed on SAP CloudFoundry. Our application connect to an on-prem SAP Gateway for OData services and uses the CF destination and connectivity service. In most cases this works ok. We recently…
0
votes
4 answers

CSRF token not properly handled when calling a function

We're using SAP Cloud SDK 3.32.0 with SpringBoot. We've generated a typed OData service based on the EDMX metadata file generated by the service and use the generated client in our code. All logs entries showing our issue are below (cleaned them up…
0
votes
2 answers

Passing OAuth token in multi threaded application

We have a SpringBoot application based on the Sap Cloud SDK (3.32.0) and are using PrincipalPropegation to our on-prem SAP environment. Our application is also using the Axon Framework (an eventsourcing framework). This means our calls to our…
0
votes
1 answer

Dependency conflicts between SAP-Cloud-SDK and SAP cloud-security-xsuaa-integration

We're trying to use SAP SpringBoot Starter XSUAA 2.7.8 (https://github.com/SAP/cloud-security-xsuaa-integration) together with the SAP CloudSDK for Java 3.32.0. The CloudSDK depends on part of the xsuaa (java-api, java-security, tokenclient,…
0
votes
0 answers

Consuming oData Api in android application

How do i consume oData services in an android application 1.can I use retrofit library and consume this oData services like how the Restful api's are usually consumed in android?i am trying to use this. 2.Should I use the apache olingo odata client…
khubaib
  • 535
  • 4
  • 12