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
3
votes
1 answer

Cannot Import Machine learning dependencies

I'm trying to incorporate a Machine learning service using s4sdk archetype.I could not load the ML dependencies. Do I need to add it explicitly in pom.xml or is it part of the s4 archetype. I was trying it as per the below blog Here's link The…
Arun Kumar
  • 133
  • 8
3
votes
1 answer

Receiving 404 error when trying to integrate dynatrace agent into s4sdk-based application

I am trying to integrate dynatrace with my s4sdk-based application following the steps mentioned…
Tim L.
  • 224
  • 2
  • 11
3
votes
1 answer

Remote Debugging in SAP Cloud Foundry

I am wondering how to remote debug a S4SDK/Spring 2.0.6 Java Application deployed in SAP Cloud Foundry. I am using Eclipse (Spring Tool Suite) and started the app in Debug Mode. The application will be restarted with the following environment…
O. Merk
  • 113
  • 10
3
votes
2 answers

Projects created with version 2.8.1 of SDK don't build

When I do a "mvn clean install" command in a project created using the S/4HANA Cloud SDK version 2.8.1 archetype, I get the following error: [ERROR] Failed to execute goal com.sap.cloud.s4hana.plugins:s4sdk-maven-plugin:2.8.1:usage-analytics…
3
votes
1 answer

ERROR com.sap.xs2.security.commons.SAPOfflineTokenServices - Error in loading the JWT library

As per your Answer, I did set VCAP_SERVICES environment variable. My local environment: windows 10 TomEE Server: apache-tomee-webprofile-1.7.4 from http://tomee.apache.org/downloads.html Jars: security-commons-0.27.2,…
Dama Ramesh
  • 159
  • 14
3
votes
1 answer

OData $batch request using ODataQueryBuilder or VDM

Is there a way to send OData batch requests using either ODataQueryBuilder or VDM generated classes? Example: Let's say I'm using the Northwind public OData service (https://services.odata.org/V2/Northwind/Northwind.svc/) Due to network performance…
3
votes
2 answers

How to run downloaded App Router via Service Marketplace

I downloaded XS_JSCRIPT14_10-70001363 package from Service Marketplace. Please suggest me how to run this App Router Login form with localhost I am trying with npm startcommand, but getting UAA service exception. How to handle from localhost.
Dama Ramesh
  • 159
  • 14
3
votes
1 answer

Use parameters $filter and $expand with VDM generated classes

I used the VDM generator to create client classes for a custom OData service in S/4. I'm trying to use the generated *Service class to get information from an Entity Set, using custom $filter and $expand parameters, but there doesn't seem to be a…
3
votes
1 answer

DefaultWorkforceTimesheetService returns unmodifiable list

With SDK version 2.4.2 the DefaultWorkforceTimesheetService returns an unmodifiable List when calling method getAllTimeSheetEntry(). This makes all further actions on the list impossible (sorting, removal of unneeded entries). With version 2.3.1 the…
3
votes
1 answer

Unable to fetch the metadata : Failed to execute OData Metadata request

I am trying to read data from S4hana cloud. I configured the destination in cloud foundry where authentication type is OAuth2SAMLBearerAssertion. and I wrote a little servlet also to get the data using VDM mechanism. But I am getting below error…
3
votes
2 answers

S/4HANA Cloud SDK for Javascript and destination service

Is "S/4HANA Cloud SDK for Javascript beta" already supporting the destination service in SAP Cloud Foundry? I did some tests, but without success. For example, retrieving business partners only works when I define the destination as an environment…
3
votes
1 answer

Dependencies put twice into Spring Boot (>2.x) jar when using Gradle

adding Cloud SDK like this for CF: compile "com.sap.cloud.s4hana:s4hana-all:${cloudSDKVersion}" compile ("com.sap.cloud.s4hana.cloudplatform:scp-cf:${cloudSDKVersion}") leads to duplicate jars in spring boot jar which is deployed to…
3
votes
1 answer

TenantAccessor in NEO

I have tried to use the TenantAccessor in NEO environment. The resulting TenantId from TenantAccessor.getCurrentTenant().getTenantId() is returned as GUID. However, in NEO, I am not able to map the GUID to an subaccount. The expectation was to get…
O. Merk
  • 113
  • 10
3
votes
1 answer

Build - frontend stage is skipped in Pipeline

I am trying to execute the front-end stage in pipeline. But it is skipped in the pipeline. I added below code in pipeline_config.yml file. executeNpm: dockerImage: 's4sdk/docker-node-chromium' Can someone please help? Thanks, Sankeerth
Sankeerth
  • 249
  • 3
  • 12
2
votes
0 answers

Integration Test powered by S4 SDK VDM fails during the maven build

I had used S4SDK VDM on my Integration Testing to test my ODATA services. There were some issues during the implementation & Alexander bestowed me to get it working. (VDM for Integration Tests) When I had executed the JUnit in eclipse it works well.…
1
2
3
8 9