All Questions
Tagged with sap-cloud-sdk javascript
16
questions
2
votes
2
answers
74
views
SAP Cloud SDK PATCH MaterialBomItem: Trigger recalculation of quantityVariableSizeItem in bill of material variable-size item
According to the documentation of the SAP Cloud SDK the quantity of a variable-size item in a bill of material needs to be recalculated after changing a field that affects this property (e.g. size1, ...
3
votes
1
answer
105
views
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....
2
votes
1
answer
260
views
SAP Cloud SDK JavaScript URL encoding ODATA filter (API_PRODUCT_SRV)
Using the SAP Cloud SDK JavaScript (@sap-cloud-sdk/core version 1.26.1, @sap/cloud-sdk-vdm-product-service version 1.19.0) ODATA filters are not percent encoded in the URL query part.
Example: (...
3
votes
2
answers
647
views
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 ...
0
votes
1
answer
48
views
SAP Cloud SDK for Javascript: difference between pre-delivered OData services VS self-generated clients
Is there any difference (extra-code) between the predelivered OData client services and the ones I would have generated myself using @sap-cloud-sdk/generator, provided I have the exact same OData ...
0
votes
1
answer
875
views
SAP Cloud SDK for Javascript: Filter on Expanded Entities
I know I am reopening an old one (Perform filter on expanded entity with SAP Cloud SDK), but it was a while ago and was referencing the Java version of the API used to consume an S/4 HANA service.
I'...
0
votes
1
answer
122
views
How to check authorization while mocking S/4HANA responses
I use SAP Cloud SDK (js) to fetch sales orders and business partners from S/4HANA.
In tests, I use nock to mock the S/4. I want to match the response only if the destination is correct, i.e., ...
2
votes
1
answer
431
views
Empty key fields for MaterialBOMItem of API_BILL_OF_MATERIAL_SRV Version 2 using SAP Cloud SDK JavaScript
I am trying to update/delete a bill of material item using the SAP Cloud SDK JavaScript (version 1.12.0).
The item belongs to a group BOM, i.e. the property "plant" is an empty string.
This results ...
2
votes
1
answer
366
views
SAP Cloud SDK JavaScript: No CSRF Token for onPremise destination with Location ID
I have an application on SAP Cloud Platform which uses the SAP Cloud SDK JavaScript (Version 1.11.3) to communicate with an OnPremise Destination with corresponding Cloud Connector.
Requests work fine ...
0
votes
1
answer
574
views
Problem with AttachmentService of SAP Cloud SDK for JavaScript
Currently we use SAP REST API for uploading and managing attachments.
We want to replace the standard requests with the SDK because we had problems getting the connection through a CloudConnector ...
2
votes
1
answer
1k
views
Remote Debugging a node.js application on SAP Cloud Foundry
We have hosted several node.js express services on SAP Cloud Foundry. Since we can't get any further with this problem and maybe others are faced with this problem, here is the explicit question about ...
1
vote
2
answers
2k
views
Cannot access S/4HANA on Premise system via Cloud Connector using SAP Cloud SDK for JavaScript
I'm trying to access an S/4HANA on Premise system via the Cloud Connector and SAP Cloud Platform connectivity service using the SAP Cloud SDK for JavaScript (version 1.5.0).
In detail, I have
Cloud ...
0
votes
1
answer
222
views
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 ...
1
vote
2
answers
230
views
How to get the eTag(MetaData) from a DocumentInfoRecord get() call in SAP Cloud SDK for javascript?
I use the SAP Cloud SDK for javascript to handle DocumentInfoRecords.
An update of a DIR caused the error 428.
So I need the etag of the request like in the SAP Cloud API.
How can I get the etag from ...
3
votes
2
answers
219
views
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 ...