Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
asutoshmaharana2326
Active Participant

Introduction


SAP Cloud Integration has capabilities to add custom adapters using SAP ADK framework. I am going to show you a Sharepoint adapter for sap CPI.

As per the response from my previous article on Sharepoint, by using SAP HTTP receiver adapter we are facing I/O error from Sharepoint APIs for binary file uploads. So this adapter will be able to fix those issues.

Main


I have developed one custom adapter using SAP ADK. You can download the .esa file from my GitHub repo.

We have created a simple iFlow with below configurations.

Configuration



Upload Adapter file and Deploy



iFlow Configuration



Deploy Security Material



Testing



Postman Configuration



Binary File successfully uploaded



Conclusion


This adapter should not be used in any production tenant but someone should go through the implementation from my GitHub Repo to understand how we can develop a new custom adapter easily using SAP provided maven archetype.

 

 
7 Comments
Nice Blog Ashutosh.

Keep blogging.
MortenWittrock
Active Contributor

Slightly off topic, but CI is really not a good abbreviation for Cloud Integration. CI is and will continue to be Continuous Integration. I still use the CPI abbreviation, even though the product name has changed. Alternatively I go with Cloud Integration, which is somewhat longer but unambiguous at least.

Regards,

Morten

asutoshmaharana2326
Active Participant
0 Kudos
Thanks for pointing this out. Updated the same 🙂
0 Kudos
Hi Asutosh,

nice post. What are the other fields passed as xml payload in postman. cant see the tags. Can you specify which are other fields passed.

The values in adapter are hardcoded. Are they not taken from payload
asutoshmaharana2326
Active Participant
0 Kudos

Dear,

 

There are no other headers were passed from postman, if you want you can use different adapters as well to pick the files like SFTP or AS2 as well.

And for the values which are hardcoded as of now are meant to be hardcoded like domain name and filepath. You can try using simple expression as well. for using camel simple expression try downloading the .esa file again as i have committed the changes now.

 

Thanks,

Asutosh Maharana

DG
Active Contributor
0 Kudos
I agree Morten. Cloud Integration/CPI is a better form.
jcsalberto
Explorer
0 Kudos
Nice Blog Ashutosh.!!!!

I have a doubt, how do I upload a "Add Integration Adapter" from my CPI no?

thank you very much
Labels in this area