Blog Post

SugarCRM and SAP Cloud Platform Integration scenarios

August 4, 2023

SugarCRM empowers businesses to create customers for life with the world's first intelligent, no-touch customer experience platform. SugarCRM's functionality includes sales-force automation, marketing campaigns, customer support, collaboration, Mobile CRM, Social CRM and reporting. Our SugarCRM trial instance is Cloud based, OAuth enabled but perfectly suitable for this Proof of Concept.  



To integrate SugarCRM with any SAP or Non-SAP Applications you can use SAP CPI/PI/PO (With or Without SAP Open Connectors) together with DOST Add-on™ for easy Error Handling, Change Management, and Audit purposes. 

This demo gives you a headstart with incorporating basic SugarCRM and SAP circumstances, including customers, contact, deals requests, statements, and solicitations. 

SAP CPI paired with DOST Add-on can help you facilitate Master Data information and business methodologies across Enterprise applications including SAP, Microsoft or Oracle.

SugarCRM has amazing Analytics capabilities to stay on top of your team performance and increase customer satisfaction. 



In preparation of our PoC/development, We have identified a few scenarios on our Trial SugarCRM Account to Create, Read, Update and Delete(CRUD) Account Master information using SAP CPI and DOST Addon. 

First, we will test SugarCRM APIs without SAP CPI to understand its requirements -

Full API documentation you can find at v10 - SugarCRM Support Site

  1. OAuth-Token Session Handling


  1. CREATE Account



  1. READ Account 



  1. UPDATE Account


  1. DELETE Account



For customers who want to integrate with SugarCRM but Do not want to use Open Connectors for connectivity, can Still use SAP CPI custom design to fetch OAuth-Tokens and Integrate with SugarCRM using HTTP(s) connector only.

In this case, You have to first fetch the authentication token and then use that token as Header request for subsequent messages to SugarCRM objects like Accounts, Leads, Users, etc.

After understanding the REST APIs, we designed end to end Integrations using SAP CPI and DOST Add-on to perform READ operations on SugarCRM objects.

A Very basic, minimum functionality iFlow design in SAP CPI to READ Account master will look like -


Hardcoding the credentials below is for test/Demo purposes only, you may want to consider the security implications of doing so and ideally we suggest Avoid doing so in enterprise scenarios. 


Configure the trial REST API endpoints in HTTP connector- 



Once we have completed SAP CPI configuration steps, we will use DOST Add-on for monitoring and error handling. 

Send Test Message to SAP CPI endpoint which will receive the query, perform session handling and Invoke SugarCRM APIs to successfully READ the Test Account details from our trial system.





SAP CPI message processed successfully 



Our Interface was able to successfully READ Account Master Data from SugarCRM as-is and return the information to Sender system in less than a few seconds.




As we can see, the design makes SAP CPI call to SugarCRM token service first to fetch the OAuth token which gets added as message header to final HTTP query call required to READ Sugar’s Accounts master data.

We can achieve OAuth 2.0 authentication using custom design or OAuth lookup or Open Connectors. SAP CPI and PI/PO have standard oauth 2.0 lookups at credential and REST channel level respectively but the purpose of this blog is to show dynamically we can also extract token/session ID from any services for authentication.


Conclusion:

Integrating applications with SugarCRM helps in enhancing functionality, productivity and better decision making in the CRM.

The integration can be done on-premises, in the cloud or hybrid. Some of the ways SugarCRM integration can help your Business are:

  • Highly Scalable Application Design with a web-based intuitive interface.
  • Able to access data according to the sales area and data transfer from SAP along with updations if required.
  • Account Receivables and Sales/Distribution trackings.
  • Built-in analytics and automated workflows that provide precise insights.

SugarCRM integration using SAP CPI and DOST Add-on™ can bring down your issue resolution times and increase collaboration between IT and business.



For your SugarCRM integration needs based on SAP or other Non-SAP applications, Contact us today for consultations at info@abusinessstech.com

LinkedIn 
Forbes Technology Council, Official Member (2022)
LinkedIn
Forbes Technology Council, Official Member (2022)

About the Author

Jaspreet is an Executive Consultant with expertise in SAP, SaaS/Cloud Integrations, Cyber Security and Data Science. Jaspreet is hands-On Architect who does Pre-Sales, Solution Architecture, Development, Lead Delivery of Complex Integration programs, Manage disperse teams and Ensure successful Project Go-Live/Goals. He has made a lasting impact on global businesses IT projects including Aflac, Advanced Energy, Donnelley Financial Solutions(DFIN), Dell EMC and many more.

Do you want to
learn more about integration?

We are dedicated to make our knowledge accessible. You can either figure it out by yourself or you can let us give you a hand.

Let us take care of your integration.

We are SAP Certified and we can make your project happen. Explore our services and contact us. We will be happy to take on your project.

View Our Services