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

Cannot create Virtual Data Model classes using Cloud SDK

I am trying to create VDMs using EDMX from SFSF, using this blog I create a SCP Business Application template and then from in the srv module I try to add new data model from external source - in this case API Business Hub. I try to use…
Inkers
  • 219
  • 7
  • 27
0
votes
1 answer

How to get the content of an attachment with the JS SDK for S4/HANA?

So I am currently in the process of learning the new Javascript Cloud SDK. Of course there is also a package for attachments and document info records but I am still facing some problems. So mainly I just want to get an attachment which is attached…
Marcel N.
  • 57
  • 2
  • 10
0
votes
1 answer

Getting Corelation id in logs

I have created an application of SAP Springboot archetype and published it to SAP Cloud foundry and can see the corelation id being generated in the Kibana Logs. But I was not able to retrieve the CorelationId. I wanted this generated corelation id…
Arun Kumar
  • 133
  • 8
0
votes
2 answers

Failed to get destinations of subscriber sub account SAP Cloud platform -CF

Getting Error Connecting to Subscriber Sub account destination connected to on-prem. system in cloud foundry from multitenant application from provider account via connectivity service and S4 SDK api . Same arrangement is working fine with the…
SCD
  • 89
  • 2
  • 10
0
votes
1 answer

S4 SDK call takes long time and stopped without error

I encountered a strange issue. The execute call to get S/4 Business role authorization details, made by using S/4 SDK takes long time, then stopped without throwing an exception. the code used is shown below. The url is…
Fred Z
  • 29
  • 3
0
votes
1 answer

Create custom OData v2 service with data source from S/4HANA Cloud using S/4HANA Cloud SDK: web.xml error

I am still trying to create a custom OData v2 service in java with an S/4HANA Cloud data source using S/4HANA Cloud SDK. Made web.xml changes as suggested in the answer to this question on March 26, but I'm getting an error in web.xml (see below) -…
scurry
  • 19
  • 5
0
votes
2 answers

Unable to host simple HelloWorld application in CF or access via local host

I am following the course "S/4HANA Cloud SDK :Create and Deliver Cloud-Native SAP S/4HANA Extensions" Build and install of project worked as expected. But while trying to do mvn tomee:run application doesn't open in localhost. Neither able to host…
0
votes
1 answer

unable to start webapp on SCP Neo build with latest s4sdk

Java applications built using the latest(2.13.1, 2.12.0) s4SDK can not start on SCP NEO. It works fine when deploying Helloworld alone. Please give me any suggestions,please. App (.war) built using s4SDK 2.3.1 can be deployed and started…
YaMassa
  • 3
  • 2
0
votes
1 answer

VDM works for one Odata service, doesn't work for another

I tried to use S4 SDK to connect to S/4 HANA Odata service. S/4 team gave us two services. With same destination, similar code, integration with one service works, with another doesn't. Best regards Ying code used is final List userList = new…
Fred Z
  • 29
  • 3
0
votes
1 answer

Trying to create custom OData v2 service with data source from S/4HANA Cloud using S/4HANA Cloud SDK

I am trying to create a custom OData v2 service in java with an S/4HANA Cloud data source using S/4HANA Cloud SDK. I tried to follow section 8.3 of the SAP Press book "Extending SAP S/HANA: Side-by-Side Extensions with the SAP S/HANA Cloud SDK",…
scurry
  • 19
  • 5
0
votes
1 answer

How to configure destination for multiple OData services?

If I want to access multiple OData services on one system, how can I configure the URL of the destination? For example, there are two OData services I want to access on the same system(see below), should I just enter the host…
Fred Z
  • 29
  • 3
0
votes
1 answer

S/4HANA Cloud SDK: Create sales order with reference to a sales contract

I would like to create a sales order with reference to a sales contract using the S/4HANA Cloud SDK. I do not see a get/set method for ReferenceSDDocument at the header- or item-level in the …
scurry
  • 19
  • 5
0
votes
1 answer

How to provision odata service by using s4sdk?

I have create a project by using s4sdk and build a spring boot application which can consume the ODATA service provided by a on-premise ABAP backend system (by leveraging VDM). Now I want to make my application able to provision some ODATA service…
Eric Jiang
  • 567
  • 1
  • 7
  • 20
0
votes
1 answer

Need help setting up my ( java) Odata service to send binaries via the SDK to my SAP system (Update)

I followed the SDK course and the blog. It was possible for me through the business partner to do a read operation. Now I have my own service and want to use the generated VDM data to easily send data to my SAP system via an update. @Override …
Markus
  • 1
0
votes
0 answers

Creating parent entity along with its subentity using S/4 Hana Cloud SDK,and Cloud SDK

How to create parent entity along with its subentity using S/4 Hana Cloud SDK,and Cloud SDK What should I do to resolve the below error? “errordetails”: [ { “code”: “API_PRD_MSG/004”, “message”: “Provide atleast one description for the…
Meenakshi
  • 31
  • 3
1 2 3
8 9