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
1
vote
1 answer

Application programming model $filter operation

After implementing all steps in Deep dive 12, I've been trying to use $filter operation like a normal oData service should do. Deep Dive 12 https://baseurl/odata/v2/CrudService/BusinessPartner?$filter=BusinessPartnerCategory eq 'abc'. However, it…
Minh Tri Le
  • 91
  • 10
1
vote
1 answer

Error when trying to retrieve BusinessPartnerUUID

I've followed this deep dive blog 12. Deep Dive 12 It ran okay. And I am more interested in BusinessPartnerUUID, so I modify the file service-model.cds. using API_BUSINESS_PARTNER as bp from './external/csn/API_BUSINESS_PARTNER'; service…
Minh Tri Le
  • 91
  • 10
1
vote
1 answer

Logging with com.sap.cloud.sdk.cloudplatform.logging.CloudLoggerFactory in SAP NEO

I am using com.sap.cloud.sdk.cloudplatform.logging.CloudLoggerFactory for logging. The logs will be shown as expected in the console in case I run the application on a local Java Web Tomcat8 Server (Neo runtime). Once I run the application inside…
O. Merk
  • 113
  • 10
1
vote
1 answer

Enabling OData service available in next S/4 version

I'm running SAP S/4 Hana 1709, but it seems that API_OPLACCTGDOCITEMCUBE_SRV is avaiable since 1711, according to https://help.sap.com/doc/ce01d82756b947a1a043a5d5a3204226/1711%20500/en-US/WN_CE1711_EN.pdf . I can't find it here:…
Cassio Pereira
  • 439
  • 1
  • 5
  • 15
1
vote
1 answer

Update Fields Supplier Invoice

I'm looking for an Odata service that can update values of supplier invoices. I know that I can do it using BAPI, but I would like to know if there is a way to do it using a update from OData service or something similar. The fields that I want to…
1
vote
1 answer

Cloud-SDK Filter by subfields

I'm using S4 Cloud-SDK to make queries on SAP S/4 Hana and I trying to get information about Business Partners filtering with company code. The fields that I'm looking for are: Supplier FullName Supplier Email Tax1 Number Representative…
1
vote
1 answer

TenantAccessor.getCurrentTenant() throws TenantNotAvailableException: Failed to get current tenant: no request available

So I followed https://blogs.sap.com/2017/12/20/deep-dive-6-with-sap-s4hana-cloud-sdk-extend-your-cloud-foundry-application-with-tenant-aware-persistency/ I have a Spring Boot 2.0.1.RELEASE application running in SCP with xs2 library OAuth 2.0…
1
vote
1 answer

application doesnt launch once backend microservice is secured

I get the following error in deep dive 9 and even the blog series step 7. The issue comes only when I make the backend service secure. If I do the steps only till the approuter, the application loads without any issue. Can you suggest what could…
Arun
  • 61
  • 1
  • 3
1
vote
1 answer

After deploying the approuter to cloud foundry, the app is getting crashed

I followed the steps on this blog and deployed the After I deployed the approuter to cloud foundry, the app is getting crashed. Below is the error log. 2018-04-11T15:26:11.61-0400 [APP/PROC/WEB/0] ERR npm ERR! Linux…
Sankeerth
  • 249
  • 3
  • 12
1
vote
1 answer

Unable to access private classes in com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces

I am trying to create an entity following the step 20 in the SDK Tutorials. But when I build the project with the command mvn clean install I added the following imports that are available in…
Sankeerth
  • 249
  • 3
  • 12
1
vote
2 answers

Error while creating Sales Order with "API_SALES_ORDER_SRV"

we want to create a Sales Order with Cloud SDK (Version 1.9.2) using Virtual Data Model (A_SalesOrder) in our Java Application. We are calling S4 OnPremise System (1709). SalesOrder so = SalesOrder.builder() …
N.Kryl
  • 185
  • 9
1
vote
2 answers

Exception While Creating ErpConfigContext

I'm getting this error while I'm trying to create ErpConfigContext. Does anyone have any ideas why this is happening? Code snippet: @Bean public ErpConfigContext erpConfigContext() { return new ErpConfigContext("S4HANA_CLOUD"); } Stacktrace: …
S.Iovita
  • 135
  • 9
0
votes
1 answer

How to configure Application Logging Service for SCP application

I have created the hello world application from the SAP Cloud SDK archetypes and pushed this to the cloud foundry environment, binding it to an application logging service instance. My understanding is that this should already provide me with the…
Tim L.
  • 224
  • 2
  • 11
0
votes
1 answer

Maven dependency errors

After importing the project from GitHub, getting the maven dependency error Following the S4HANA Cloud SDK SAP Press book exercises. After importing the project into intellij IDE, it thorows maven dependency errors. Here are the steps- 1. Download…
Rohit
  • 21
  • 1
0
votes
1 answer

How to setup destination in Neo SCP to Cloud Foundry service using OAuth2SAMLBearerAssertion?

I want to consume a CF service in my Neo SCP, using a destination with OAuthSAMLBearerAssertion. But every time I check for the service in WebIDE, I get error 500. Here is my destination: #clientKey= Client-ID of your OAuth client --> you will get…
RNLS0176
  • 115
  • 4
  • 13
1 2 3
8 9