Use this tag for questions related to SAP Cloud SDK. SAP Cloud SDK provides language-specific out-of-the-box capabilities, such as an abstraction of the underlying cloud platform implementation, fault-tolerance, cache management, etc. It also provides a continuous delivery toolkit with ready-made Jenkins pipelines. Programming languages related to this tag are Java, JavaScript, and TypeScript.
Questions tagged [sap-cloud-sdk]
304 questions
8
votes
1 answer
Update requests send no longer all fields to the SAP S/4HANA system
Since the update to the Cloud SDK version 2.0.0 we now have problems to add fields to the request. It is mainly about the process step "Count Physical Inventory Document Item". Here the manually set properties for the items are not sent into the…

N.Kryl
- 185
- 9
7
votes
1 answer
Proxy configuration for Jenkins not working for groovy pipeline scripts?
Currently, I am facing the issue that I am trying to set up the S4SDK jenkins pipeline behind a proxy.
For this I adjusted the configuration in the server.cfg accordingly and it also shows in the Jenkins server log, that this configuration is…

Tim L.
- 224
- 2
- 11
6
votes
3 answers
Unknown Exception "null- Error while parsing the metadata." While executing DefaultSalesOrderService () - updateSalesOrder ()
As part of a PoC, I am currently trying to build a prototype for a side-by-side extension of S/4HANA Cloud, consisting of two layers: A SAPUI5 Frontend decoupled from a Java backend using the S/4HANA Cloud SDK.
On the whole it works great as well.…

sauerlu
- 63
- 4
5
votes
1 answer
Npm dependency audit errors with update of cloud-s4-sdk-pipeline besides up-to-date dependency versions
We switched to the latest version (21) of cloud-s4-sdk-pipeline. The new features work, but we get npm dependency audit errors besides up-to-date dependency versions.
Summary of the findings
• High Arbitrary File Overwrite vulnerability found in…

user11732455
- 51
- 1
4
votes
1 answer
Difference between In-App extensibility and side-by-side extensibility?
Can anyone explain the key difference between key-user extensibility and side-by-side extensibility in SAP?

Anmol Jain
- 63
- 2
- 7
4
votes
1 answer
Token fetch using XSTokenRequest in Cloud SDK
We were using xs security library to get token based on token type (client_credentials/user_token). I was not able to replicate the same in the security feature of Cloud SDK without using xs security library.
Background:
We wanted the token…

Aparna I
- 41
- 2
4
votes
1 answer
Creating ErpConfigContext threw exception
I am trying to use the S/4HANA SDK to call the CompanyCode OData VDM service but if I do this in the Cloud Foundry environment I'm getting the attached error.
I have been using the SDK before but this did not happened. Can you please help me…

S.Iovita
- 135
- 9
3
votes
1 answer
SAP cloud sdk for javascript multiple and filters are directly appended: leads to "Expression can not converted into ABAP select options" on backend
I have a read request to a ByDesign system and create in the following way:
const readRequest = QueryResults.requestBuilder()
.getAll()
.select(
QueryResults.COFFMAT,
QueryResults.CMATERIAL
…

CuriousCase
- 745
- 2
- 9
- 22
3
votes
1 answer
Can I mock a system with custom properties?
We're using the Destinations service to configure connections to different kinds of systems. As part of this, we are using the "Additional Properties" section to add non-standard properties, such as my.custom.property=123.
We have successfully used…

Florian
- 4,821
- 2
- 19
- 44
3
votes
2 answers
Securing a JS application built with SAP Cloud SDK
I'm following the tutorials at developers.sap.com for the Javascript:
Get Started with SAP Cloud SDK for JavaScript.
I created my application with:
sap-cloud-sdk init my-sdk-project
Now I'd like to add security to it, specifically, I want to use an…

kepair
- 67
- 6
3
votes
2 answers
Error - Failed to add 'SAP-Connectivity-Authentication' header for on-premise connectivity
I am connecting an On-premise S/4 HANA with SAP Cloud Platform trial account. I am using SAP Cloud SDK to fetch all Business Partners from S/4 HANA.
My Cloud Connector is set
My Destination at Sub-Account level is set and can ping to my on-premise…

Nikhil
- 31
- 2
3
votes
1 answer
'Unable to build destination for service binding' with SAP Cloud SDK JS app
I'm trying to build an OData client on SAP CF that would connect and get content from S4 on-prem system.
I have followed this tutorial: https://developers.sap.com/group.s4sdk-js-cloud-foundry.html
I have not created and deployed a custom destination…

user2605996
- 31
- 6
3
votes
2 answers
How to execute integrationtests for own OData service in SAP Cloud SDK
We currently provide an own OData service in our Spring Boot application with the SAP Cloud Platform Provisioning SDK which is part of the SAP Cloud SDK. We are creating integration tests in the respective maven module, but when executing this via…

Tim L.
- 224
- 2
- 11
3
votes
1 answer
Principal Propagation to S/4 with App-To-App SSO
I'm unable to call S/4 with Principal Propagation when coming from an App-To-App SSO request. Is this scenario supported by the SDK?
We have an HTML5 app in SCP Neo, and a Java app in the same subaccount.
Our intention is to let the HTML5 app fetch…

Tales Vecchia
- 31
- 1
- 2
3
votes
1 answer
How to fix a DestinationAccessException thrown by the SAP Cloud SDK during application startup
I want to extend a S/4HANA Cloud System with a Spring application. It is possible to build the application without any error, and it can be also deployed to the SAP Cloud Platform. While the Backend application is starting, it throws a error. The…

alex-ma
- 33
- 4