Questions tagged [s4sdk]

SAP S/4HANA Cloud SDK provides you out-of-the-box capabilities, such as an abstraction of the underlying cloud platform implementation, fault-tolerance, cache management,etc. It also provides a solution for continuous delivery with the help of readily available Jenkins pipeline. Not to be confused with similarly named products and technologies e.g. S/4 HANA, Boost.Hana, SAP HANA Vora, or SAP Cloud Platform (SAPcp)

The SAP S/4HANA Cloud SDK reduces your effort when you start to develop an application extending SAP S/4HANA on SAP Cloud Platform by providing Java libraries, project templates, and continuous delivery tooling.

The SDK’s Java libraries (available from Maven Central) provide out-of-the-box capabilities to integrate SAP S/4HANA systems via a virtual data model, as well as a set of abstractions for underlying SAP Cloud Platform functionality. It integrates state-of-the-art open source frameworks for resilience, caching, feature toggling, and more. To get started quickly and maintain high quality, the SDK also provides project starters and a solution for continuous delivery with the help of a readily available Jenkins server and pipeline (open source on GitHub).

Information resources

  1. Product page
  2. Blog posts and tutorials
  3. Pipeline Library
  4. S/4HANA Cloud SDK Pipeline
135 questions
0
votes
1 answer

Setting up ErpQueryEndpoint Destination for VDM

I have created a destination for VDM called ErpQueryEndpoint and have unsuccessfully attempted to obtain business partner info with one of the java VDM tutorials. Below is an export of that destination - I've tried this with and without TrustAll =…
scurry
  • 19
  • 5
0
votes
1 answer

Generate OData VDM using S/4 HANA SDK leads to errors

I tried to generate VDM for the OData service provided by S/4 HANA Cloud (which is not in API hub). The generated VDM class shows errors, in particular, it has an error with UUID set and get method, and the TRUE property. I attached the metadata…
Fred Z
  • 29
  • 3
0
votes
0 answers

Unable to read data from S4-System with App in Cloud Foundry via OData services

When trying to call the OData service (in our example the BusinessPartnerService) on the S4 instances we have we are getting the error as seen in ref6 and ref7. However, if we are calling the API via a browser with the same credentials we can…
0
votes
1 answer

s4sdk - MTA build throwing error in Jenkins

I am developing MTA project and have to integrate CI/CD for Cloud Foundry using s4sdk-pipeline however Jenkins fails to build the node project. Showing below error in Jenkins log SAP Multitarget Application Archive Builder 1.1.8 Module…
0
votes
1 answer

unable to run update, create & delete query on my s4sdk app via postman

I followed the tutorial: https://open.sap.com/courses/s4h13/items/258qEhXx5kdG8b4SXMSJYp, I made changes in accordance with my Custom Odata service, however my app works only for read operations. I am adding X-CSRF-token after fetching it via get…
Armghn
  • 144
  • 2
  • 14
0
votes
1 answer

AuthTokenAccessException: Failed to decode JWT bearer: no JWT bearer present in "Authorization" header of request

I am trying to use cloud sdk API’s to make an OData call. Although I pass the JWT token(client credentials) I get the following exception: Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing…
Tejas Shastri
  • 69
  • 2
  • 11
0
votes
1 answer

Unable to generate VDM classes

I followed the blog: https://blogs.sap.com/2018/04/30/deep-dive-10-with-sap-s4hana-cloud-sdk-generating-java-vdm-for-s4hana-custom-odata-service/comment-page-1/#comment-450108 VDM - .java files are created, but their compilation fails every time it…
Armghn
  • 144
  • 2
  • 14
0
votes
2 answers

Unable to fetch data from on premise system using s4sdk

I followed the tutorial: https://open.sap.com/courses/s4h13/items/258qEhXx5kdG8b4SXMSJYp I am able to fetch data from mocked service, but I get an empty array when I add an on premise sap system in my destination. I am trying to read ProductMaster…
Armghn
  • 144
  • 2
  • 14
0
votes
1 answer

Tenant not found during startup of cloud-s4-sdk-book / RequestContextServletFilter issue

During (local) startup of the example application cloud-s4-sdk-book in the branch 15_2_spring_boot the following exception is thrown: 16:01:38.786 [localhost-startStop-1] DEBUG com.sap.cloud.sdk.cloudplatform.servlet.RequestContextServletFilter -…
O. Merk
  • 113
  • 10
0
votes
1 answer

demo-persistence as scp-cf-spring based on current sdk version

I was looking at the demo-persistence example here at github. Is this example / or a similar one available based on a current s4sdk version 2.x.x with spring 2.x?
O. Merk
  • 113
  • 10
0
votes
1 answer

Accessing user attributes using UserAccessor

The class com.sap.cloud.sdk.cloudplatform.security.user.UserAccessor allows to me to retrieve the current user and it's attributes. For example: Optional optionalfirstName = user.getAttribute("firstname"); UserAttribute ua =…
O. Merk
  • 113
  • 10
0
votes
1 answer

2.8.1 of SDK - Class ErpEndpoint missing

In your samples the class com.sap.cloud.sdk.s4hana.connectivity.ErpEndpoint is used (see Deep Dive 5 Blog) however this class is missing in SDK 2.8.1. How can a BapiQuery be created using SDK 2.8.1?
O. Merk
  • 113
  • 10
0
votes
1 answer

Error upon mvn clean install - MojoExecutionException

I'm currently using this setting for my project archetype: mvn archetype:generate "-DarchetypeGroupId=com.sap.cloud.s4hana.archetypes" "-DarchetypeArtifactId=scp-cf-tomee" "-DarchetypeVersion=2.1.2" "-DgroupId=com.sap.cloud.s4hana.examples"…
turnip424
  • 322
  • 6
  • 16
0
votes
2 answers

Failed to get destinations of provider service instance

I am hitting http://localhost:5000/hello to get com.sap.cloud.sdk.cloudplatform.security.user.User & com.sap.cloud.sdk.cloudplatform.connectivity.Destination objects after xsuaa login. Occurred below exception while getting destination after xsuaa…
Dama Ramesh
  • 159
  • 14
0
votes
1 answer

What is expected to be hidden under the value of fortifyBasicAuthId parameter of fortifyScan pipeline stage?

I'm adapting s/4 sdk pipeline for our project and would like to introduce fortify scan stage within the pipeline. Here I could find parameters that the fortifyScan stage requires: fortifyScan: sscUrl: 'https://fortify.dummy.corp.domain/ssc' …
soier
  • 3
  • 2
1 2 3
8
9