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

How to connect UI5 app with approuter endpoint

As following Step 7 with SAP S/4HANA Cloud SDK: Secure your Application on SAP Cloud Platform, CloudFoundry and Application programming model I'm able to create Java application exposing OData service and secure it with approuter. Now I need to…
Minh Tri Le
  • 91
  • 10
0
votes
1 answer

Problem running project from s4sdk archtypes with artifact id: scp-cf-spring

I'm getting issues in running hello world project when I created it from below command: mvn archetype:generate -DarchetypeGroupId=com.sap.cloud.s4hana.archetypes -DarchetypeArtifactId=scp-cf-spring -DarchetypeVersion=LATEST The project gets created…
Rahul Pandey
  • 141
  • 1
  • 11
0
votes
1 answer

How to secure Application programming model in CF

After I've done the deep dive 12 Deep Dive 12, I've tried to secure the app with instructions from Step 7 in the series Step 7 with SAP S/4HANA Cloud SDK: Secure your Application on SAP Cloud Platform, CloudFoundry. I'm interested in getting user,…
Minh Tri Le
  • 91
  • 10
0
votes
1 answer

How to retrieve xstring value from ABAP using RfcQuery?

I am wondering how a xstring should be retrieved from ABAP backend using RfcQuery. final RfcQuery query = new RfcQuery()... Byte[] pdf = query.execute(erpEndpoint).get("EX_BLOB").getAs ?? Any ideas?
O. Merk
  • 113
  • 10
0
votes
1 answer

OData Exception Failed to execute OData Metadata request

I followed the instructions in this blog to configure Principal Propagation and OAuth2. However, when I go to test my application, I receive the following error message (after being asked to sign into the SAP CP with my S/4HC user credentials via…
martym
  • 41
  • 5
0
votes
1 answer

Unauthorized to call exchange rate service

I'm following Deep Dive 9 with SAP S/4HANA Cloud SDK: Tenant and User Aware Microservices Communication via REST APIs and already set up communications between Converter service and Exchange Rate service. Deep Dive 9 However, when I try to run…
Minh Tri Le
  • 91
  • 10
0
votes
1 answer

RFC Destination does not exist

I'm trying to configure an application running in Tomcat 8.5 with Neo Cloud SDK 3.54.23 to connect to an RFC destination and run the following code: String destinationName = "RFCQueryEndpoint"; ErpConfigContext erpConfigContext = new…
Cassio Pereira
  • 439
  • 1
  • 5
  • 15
0
votes
2 answers

Can't query BAPI via OData on S/4Hana using Cloud SDK

I'm trying to follow https://blogs.sap.com/2017/09/15/step-11-with-sap-s4hana-cloud-sdk-virtual-data-model-for-bapi/ for calling a BAPI via OData on an S/4 Hana system on-prem. I've successfully called other OData services that I enabled via…
Cassio Pereira
  • 439
  • 1
  • 5
  • 15
0
votes
1 answer

Usage of com.sap.cloud.sdk.s4hana.connectivity.rfc.BapiQuery inside Spring RestController

I am trying to call a BAPI from a Spring REST controller. The call to the backend system works fine, however returning the ResponseEntity leads to an error "getOutputStream() has already been called for this response" @RequestMapping( method =…
O. Merk
  • 113
  • 10
0
votes
1 answer

Failure connecting to S/4 Hana via Cloud SDK

I'm following the OData tutorial at https://blogs.sap.com/2017/05/21/step-4-with-sap-s4hana-cloud-sdk-calling-an-odata-service/comment-page-1/ and I'm getting an error when I try to retrieve business partners using DefaultBusinessPartnerService. The…
Cassio Pereira
  • 439
  • 1
  • 5
  • 15
0
votes
1 answer

SAP S/4HANA Cloud SDK Request language

We are using the SDK to call an API which has localized attributes. Testing this API via POSTMAN if we set the accept-language header we get the localized fields. Is there a similar way to obtain the localized fields using the ODataQueryBuilder?
0
votes
1 answer

How to add multiple destinations for a java application in cloud foundry?

I developed a Java application using S4Hana SDK. After deploying the application to SAP Cloud platform, I set the destinations as an environment variable with below command. cf set-env firstapp destinations '[{name: "ErpQueryEndpoint", url:…
Sankeerth
  • 249
  • 3
  • 12
0
votes
1 answer

How to skip Production Deployment stage for feature branch build when using S/4HANA Cloud SDK Pipeline?

We are using s4sdk pipeline from: https://github.com/SAP/cloud-s4-sdk-pipeline When I work on my feature branch, in order to skip the production deployment, usually I remove the configuration below: productionDeployment: appUrls: -…
Junjie Tang
  • 362
  • 1
  • 15
0
votes
1 answer

How to display frontend test results and frontend test coverage reports when using S/4HANA Cloud SDK Pipeline

We have updated our pipeline by using the latest version from: https://github.com/SAP/cloud-s4-sdk-pipeline But neither the test results nor the test coverage reports of the frontend unit tests could be found. Could anyone help?
Junjie Tang
  • 362
  • 1
  • 15
-1
votes
2 answers

Unable to execute odata calls using S4Hana SDK in cloud foundry environment with oAuth2SAMLBearerAssertion authentication

I'm trying to connect to s4 hana system using s4 sdk. While executing calls via .execute() method in cloud foundry environment, i see below error logs: Caused by: com.sap.cloud.sdk.cloudplatform.connectivity.exception.DestinationAccessException:…
Rahul Pandey
  • 141
  • 1
  • 11
1 2 3
8
9