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
0
votes
1 answer
stageInitS4sdkPipeline running on slave node not working anymore
[My Requirements] I have setup pipeline with master node and multiple slave nodes. Since my master node does not have web access to github.com, so I need to transfer all pipeline workload to slave nodes.
[Previous configuration, failed now]
1.…

ORASTARK
- 1
- 1
0
votes
1 answer
sap-cloud-sdk-pipeline_How to configure multiple productive branches in config.yml file?
I can trigger different branch for production deployment as I set it as productive branch in .pipeline/config.yml file as below:
general:
collectTelemetryData: false
productiveBranch: 'develop'
Question:
1. How I can set multiple branches as…

ORASTARK
- 1
- 1
0
votes
1 answer
S4HC Extensibility: SCBO_AUTHORIZATION/000: You are not authorized to create instance
I developed a side-by-side app using Java + SAP Cloud SDK (Neo). The app adds records to a custom business object.
The app was working fine when I concluded development in February. Now, I need to do some additional improvements, but I can add…

Pietro Henrique
- 65
- 1
- 7
0
votes
1 answer
How to handle integration tests for MTA packaging?
We are working on MTA project and using the SAP Cloud SDK pipeline (Piper) to integrate CI/CD for Cloud Foundry.
The project has multiple microservices based on SAP Cloud SDK for Java and each of these microservices has individual sets of…

jycha340
- 31
- 4
0
votes
2 answers
Can we use JCo with SAP Cloud SDK for Java on localhost?
Can we use JCo with SAP Cloud SDK for Java on localhost?
I managed to use JCo on SAP Cloud Platform, but I'm not sure if it works on localhost.
https://blogs.sap.com/2020/05/08/how-to-call-function-modules-using-sap-cloud-sdk-for-java/
Without…

fuku
- 11
- 2
0
votes
2 answers
Handling of etags in batch request using SAP Cloud SDK
I am trying to carry out a batch request including a create, update and a delete (all are different salesorders). As per this question here which deals with something similar, I have done a get for the items I want to update and delete before I add…

Inkers
- 219
- 7
- 27
0
votes
0 answers
SAP CP TMS throwing error - 'Failed to get deployment log messages for the process'
We are working on a project which is based on SAP CP Cloud Foundry.
Recently, we have worked on a POC to integrate CLoud Foundry with SAP CP Transport Management service using a free trial account.
We created a basic landscape in Transport…

jycha340
- 31
- 4
0
votes
3 answers
Destination-Service: 504 Gateway Timeout - Timeout Property not resolving
When defining a timeout in my CF destination it seems that my timeout property gets completely ignored.
The Destination is defined in the destination service-instance and bound to my approuter + srv module.
When calling my service the request fails…

RNLS0176
- 115
- 4
- 13
0
votes
1 answer
How to provide structure parameter as import in Bapi call with Cloud SDK v3
I am using BAPI BAPI_PR_CREATE on S4HANA on-premise system to create purchase requisition with Cloud SDK v3.
The parameters to create purchase requisition are as below based on BAPI documentation.
Parameter: PRHEADER
PR_TYPE = NB
Parameter:…

Jerry Zhang
- 179
- 3
- 13
0
votes
1 answer
Guideline for Inter Service Communication with principal propagation with Cloud SDK on CF
We are trying to set two micro services where the principal needs to be propagated from the first microservice(Login happens here) to the second one (This uses cloud SDK to talk to S/4 Hana Cloud). Has this particular scenario been explored before /…

Anirban Das
- 107
- 7
0
votes
2 answers
RestTemplate API call between microservice is Not working
I have 2 microservices based on SAP SDK 3.0 archetype binded by the same xsuaa service.From the first microservice A, I wanted to call the second microservice B by using rest template. It fails to call, as it is not able to authenticate. Can you…

Arun Kumar
- 133
- 8
0
votes
1 answer
Found class com.sap.cloud.sdk.cloudplatform.naming.JndiLookupFacade, but interface was expected
I am getting the issue described up above when running integration tests.
The full error message follows:
error message="Found class com.sap.cloud.sdk.cloudplatform.naming.JndiLookupFacade,
but interface was expected"…

Pietro Henrique
- 65
- 1
- 7
0
votes
1 answer
How to get user info and authorities in SAP Cloud SDK 3.0 and above
I want to get user info and authorities but could not find any interface.
But there is an interface called AuthTokenAccessor in package com.sap.cloud.sdk.cloudplatform.security.
I could get JWT token but could not parse it due to lack of information…

Jerry Zhang
- 179
- 3
- 13
0
votes
1 answer
Destination credentials getting logged in debug logs
We use Cloud SDK in our project to make connection S4Hana service from SCP.
As a result we use destination service where we configure the destination where we want to connect to.
During this we observed that the Destination service credentials were…

medha
- 3
- 2
0
votes
1 answer
How to use SDK update Planned Independent Requirement in Java
I want to update PIRs (planned independent requirements) in SAP S/4Hana Cloud. I am using Java SDK.
I am using the class DefaultExtendedPlannedIndependentRequirementService.
PlannedIndepRqmtItem pirItem = null;
try {
…

Pietro Henrique
- 65
- 1
- 7