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

Uploading custom jar to cx-server nexus

So, I am trying to set up a CI/CD pipeline with the s4sdk. I successfully completed all the steps descriped in this blog. Everything seems to be running smoothly, however my build is failing with the following error message: The following artifacts…
floste
  • 79
  • 6
3
votes
1 answer

Address already in use : JVM_Bind when deploying to localhost

I am deploying archetype tomee-cf using the command mvn tomee:run and I am getting address already in use issue. I checked whether something is running on ports 8005, 8009, 8080 and 8443 and found only a system IPv4 listening to 8005. I expect the…
coolcoder
  • 27
  • 1
  • 9
3
votes
2 answers

Failed to get access token: no valid JWT bearer found while accessing S/4HANA via OAuth2Bearer

I've generated project via: mvn archetype:generate -DarchetypeGroupId=com.sap.cloud.s4hana.archetypes -DarchetypeArtifactId=scp-cf-spring -DarchetypeVersion=LATEST I included S4Sdk jars and accessing S/4HANA V2 API. The code works fine with Basic…
Rahul Pandey
  • 141
  • 1
  • 11
2
votes
1 answer

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:36:13.788Z] ERROR (generator-cli):…
2
votes
2 answers

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 is to capture certain malicious activity by…
2
votes
1 answer

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 endpoints: { "namespace": ":)", …
2
votes
1 answer

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 call backs and including dependency call back ,when…
2
votes
2 answers

How to call bound functions / actions inside Java client using SAP Cloud SDK?

I have question regarding SAP Cloud SDK. First of all, I need to say that this is one really good library for consuming OData services and I just wanted to pointed that you are doing good job! Tutorials on generating VDMs and other stuff are simply…
2
votes
1 answer

Azure KeyVault Service Issue

Currently, Am using Azure keyvault service in one of the application which runs on SpringBoot version 2.3.0.RELEASE with SAP Cloud SDK version 3.35.0 which is not working with the below configurations in bootstrap.yml . This is required to get the…
Arun Kumar
  • 133
  • 8
2
votes
2 answers

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 Cloud SDK Spring archetype…
2
votes
2 answers

SAP Cloud SDK PATCH MaterialBomItem: Trigger recalculation of quantityVariableSizeItem in bill of material variable-size item

According to the documentation of the SAP Cloud SDK the quantity of a variable-size item in a bill of material needs to be recalculated after changing a field that affects this property (e.g. size1, size2, size3, formulaKey). To do this the contents…
user11806577
2
votes
1 answer

Etag support for S/4 EX

Etag is supported in SDK: https://sap.github.io/cloud-sdk/docs/java/features/odata/use-typed-odata-v4-client-in-sap-cloud-sdk-for-java/#handling-of-etags So experimenting it by using BusinessPartner entity in S/4 EX. But seems there's no If-Match…
cloud
  • 51
  • 2
2
votes
1 answer

Failed to start application invoking Workflow Rest API with Cloud SDK libraries

I am following the official documentation to call workflow REST APIs with Cloud SDK libraries. https://sap.github.io/cloud-sdk/docs/java/features/rest/clients/scp-workflow-rest-api When I deployed the application to Cloud Foundry environment. It…
Jerry Zhang
  • 179
  • 3
  • 13
2
votes
1 answer

SAP Cloud SDK JavaScript URL encoding ODATA filter (API_PRODUCT_SRV)

Using the SAP Cloud SDK JavaScript (@sap-cloud-sdk/core version 1.26.1, @sap/cloud-sdk-vdm-product-service version 1.19.0) ODATA filters are not percent encoded in the URL query part. Example: (Assuming a product with description "ä_description"…
user11806577
2
votes
1 answer

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 pretty much the same. I managed to successfully…
1
2
3
20 21