Questions tagged [sap-cpi]
38 questions
0
votes
0 answers
SAP Cloud Platform Integration - Send file to external endpoint
I have a very simple flow in SAP CPI, I use a "content modifier", add "Authorization" and "Content-Type", but it doesn't work. The zip file is not sent, it even appears for download in the trace, but it does not reach the server.
Can anyone help…

Renato Vitor
- 1
- 1
0
votes
1 answer
Date Comparison in Groovy SAP CPI
We are trying to compare dates using the below if-else condition. If we use constant values, the conditions are evaluated correctly. However when we use the references of array values the code doesn't work as expected.
Request your guidance…

vijay
- 13
- 5
0
votes
1 answer
Removing leading square brackets from JSON using Groovy
I need a way to remove leading square brackets from a JSON file. I'm doing it in SAP cloud platform integration (CPI). Currently I was thinking of using groovy but can't seem to find a way to do it. Here's the JSON example:
[{
…

Richard Spole
- 1
- 2
0
votes
0 answers
Base64 string to pdf in groovy
I am new to groovy and to this forum.
I am using a middleware tool (SAP CPI) where I am getting a PDF in base64 string format. I need to send the PDF to another system.
This is what I did:
Store the Base64 input in a string.
Pass it through a…

VoiceOfReason
- 19
- 6
0
votes
0 answers
Set Password to a File to be Sent as an Email Attachment in SAP CPI
Looking for a groovy script to create a password protected CSV file to send as an attachment through the mail adapter in SAP CPI. As in, when the recipient tries to access the file, he has to type in a password for it to happen. There's no CPI shape…

Megan Winchester
- 11
- 2
0
votes
1 answer
Integrate Hybris to SAP for Retail using SAP Cloud Platform Integration (SCPI)
I am trying to integrate SAP Hybris (1811) to SAP for Retail (ISR) using SAP Cloud Platform Integration (SCPI). Any good trail for this?
Regards, Wajih

Wajih
- 3
- 2
0
votes
1 answer
SAP CPI HTTP Post how to pass token
I need to send a POST in CPI to a s4hana service, and in order to pass it directly in JSON, not in xml, I want to use the simple HTTP adapter.
How can I get the token with a GET and use it with a POST afterwards?

Codrin Strîmbei
- 125
- 7
- 22
0
votes
2 answers
SAP to WCS catalog data import
I have a requirement for doing a catalog data import from SAP to websphere commerce database.
I am trying to figure out the best possible solutions that can be implemented and need your suggestions.
I did research that the data can be loaded…

user179516
- 337
- 4
- 11
- 20