Executive Summary

BAC Partners is an Australian digital transformation and customer experience consultancy. It helps organisations improve sales, marketing, customer service and operations through strategy, process optimisation, CRM platforms and automation.

BAC Partners engaged Peritos Solutions to build an automated data pipeline between SAP Business One and HubSpot, using a purpose-built MySQL staging database on Ubuntu cloud infrastructure. Across four phases in six weeks, the team migrated 5,754 companies, 5,346 contacts and 147,398 deals into HubSpot, complete with RFM scores, lifetime revenue metrics and parent-child company hierarchies.

Project outcomes

Results & Impact

Demo System provided

SAP

5+ integrated

SAP Scenarios

For New Sales deal

Demo Support

147k+

Deal Records

Background

BAC Partners’ client, a dental practice group, held its operational data in SAP Business One. Its sales and marketing teams needed that data in HubSpot in a clean, structured format that stayed up to date automatically, without manual exports or re-keying.

BAC Partners also wanted the application to be Python-based and configuration-driven, so it could be replicated for future clients simply by updating a configuration file.

Challenge

SAP and HubSpot use different data models, so data had to be normalised and enriched with custom business rules before it could be pushed into HubSpot’s companies, contacts and deals objects.

Data quality was a major issue. Some contacts had missing or malformed emails, some companies had no names, and SAP’s website field contained email addresses that HubSpot rejected. The dataset also held 5,577 item codes, exceeding HubSpot’s 5,000-option limit for multi-select properties.

Several companies shared the same email address, which HubSpot rejects as a duplicate. Initial RFM values were also incorrect because the query was missing the price-times-quantity calculation.

Solution

Python scripts extract company and deal data from SAP’s SQL Server into MySQL (DB-2), where business rules and calculated fields are applied. Further scripts push the staged data into HubSpot through its REST API, creating companies, proxy contacts and deals with all relationships linked.

CRON jobs keep the data in sync automatically, and change-pointer logic uses last-modified columns in SAP to update only changed records. A daily script refreshes RFM scores and days since last order every morning.

Key Solution Capabilities

Approach

Phase A covered SSH and database access, field-level data mapping, custom HubSpot properties and a risk and gap analysis, all signed off before any code was written.

Data quality issues were resolved through agreed rules. Invalid emails were skipped, blank company names fell back to the card code, and item codes and company domains were removed from the mapping by agreement. Duplicate email errors are caught in code, and those contacts are linked to the first-created record. The RFM query was corrected with nine-decimal precision to match BAC Partners’ validation figures.

A 1,000-record test push was verified in HubSpot before the full migration. The project closed with one week of hypercare and full documentation, with all scripts maintained in GitHub and CRON execution logged for auditing.

Executive Summary

DeepIQ simplifies industrial analytics with a self-service application for end-to-end Data and AI operations in the industrial world. It helps subject-matter experts digitise their expertise and lets data teams build and deploy robust analytic pipelines, with offices in the USA, India and Canada.

Peritos Solutions delivered a SAP Vendor and Work Order integration proof of concept for DeepIQ across three structured phases. Starting with an assessment completed in under two weeks, the team designed and built custom ABAP BAPIs, exposed SOAP and REST web services, and handed over a fully tested, documented solution within a compressed timeline.

Project outcomes

Results & Impact

Demo System provided

SAP

5+ integrated

SAP Scenarios

For New Sales deal

Demo Support

< 8 weeks

Demo ready

Background

DeepIQ needed an integration layer to extract vendor master data and work order information from its SAP system and expose it to external applications. The aim was to evaluate viable integration patterns, including SOAP, REST and BAPI/RFC, and deliver a working, reusable service layer that could later be extended to production.

The scope covered vendor list and detail data, work orders filtered by vendor number and date range, and a custom BAPI with up to 10 input and 50 output fields. Production deployment and middleware configuration were out of scope for this phase.

Challenge

SAP’s web service authentication settings needed careful tuning, and several configurations were tested before external SOAP calls could succeed.

Initial work order queries returned records outside the requested date range, and vendor numbers carried leading zeros that did not match the format expected by the consuming application.

All phases also had to fit around DeepIQ’s internal scheduling constraints, which meant working iteratively with short feedback cycles.

Solution

In the SOAP phase, Peritos created a custom BAPI (Z_VEN_WRK_ORDS) using ABAP object-oriented programming and exposed it as a simplified web service with a WSDL definition. Vendor list and detail endpoints were validated in SOAP UI.

In the REST phase, a wrapper class implementing IF_HTTP_EXTENSION was registered as an SICF service. Responses are serialised to JSON using /ui2/cl_json and were verified in Postman for vendor list, vendor detail and work order queries. Access uses HTTP Basic Auth with service user credentials.

Key Solution Capabilities

Approach

The engagement began with an assessment covering requirement gathering, SAP system access, and a risk and gap analysis of SAP version constraints, authentication settings and BAPI structural gaps. A customised assessment report with architecture recommendations was signed off before any code was written.

Peritos corrected the ABAP selection logic to enforce strict date boundaries, reformatted output dates to DD/MM/YYYY and normalised vendor numbers with CONVERSION_EXIT_ALPHA_OUTPUT. Daily stand-ups and two-to-three-day feedback cycles kept delivery on track.

The project closed with one week of hypercare, during which all bugs were resolved with a 100% test pass rate. WSDL definitions, the ABAP code bundle, unit test evidence and architecture notes were handed over to the client.

SAP integaration with Hubspot 2

SAP integaration with Hubspot 2

This case study explores the features & challenges of migrating from Azure Dataverse to Azure blob Storage under Microsoft Dynamics Support.

Implementation

About Client

Since 2015 BAC has been instrumental in evolving and simplifying the customer experiences of forward-thinking organizations across Asia Pacific, Europe, North America, the UK, and Ireland. BAC helps organizations unify their people, processes, and technologies to deliver industry-leading customer and employee experiences. BAC enables you to leverage technology to align your sales, marketing, and success teams, so you can make the most of every interaction, even as you grow. We supported the client with SAP Integration with Hubspot.

Project Background

This case study has details about how we designed and developed the integration of SAP with
HubSpot system. In this case study, we list the APIs we used and how we enabled initial and
delta load, including the configuration we did in HubSpot. Overall, a new DB instance needs to be created (DB-2) that will take data from DB-1 (based on some pre-defined business rules) and feed selective data into the HubSpot CRM instance.

This new database must be created from the client’s existing SAP Central Management System (CMS) instance. The new database needs to comply with the existing pre-defined entity-relationship model. The initial data dump will happen from the CMS to the new database (as shown below). 

Also required is syncing batch routines to sync to the said database with SAP post-dump. Finally, this new database needs to be integrated into HubSpot. To list down the objectives:

  • Ability to send initial and delta load in the Hubspot system
  • Send Contacts, Organizations, and deals data to Hubspot

Scope & Requirement

  • SAP Integration with Hubspot APIS
  • Integrate solution design to match the requirement 
  • Make it configurable to run for multiple clients on Hubspot
  • Integrate it via a scheduler to run as a Batch Job can be done via Logic Apps, Cron Jobs etc.
  • Get the data synced to Hubspot daily for contacts, Companies and Deals

Implementation

Technology and Architecture

Technology

Security & Compliance:

Backup and Recovery

Network Architecture

  • Site to Site VPN Architecture using Transit Gateway
  • Distributed Azure Network Firewall
  • Monitoring with Cloud Watch and VPC flow logs. 

Cost Optimization

  • Alerts and notifications are configured in the Azure cost 

Code Management, Deployment

  • Cloudformation scripts for creating stacksets and scripts for generating Azure services was handed over to the client

Challenges

Project Completion

Duration

Deliverables

Support

  • We helped Customer to get the systems integrated using which they could do better lead management based on analytics in HubSpot 
  • The integration ran without any issues after Go live and we provided support of 2 weeks
  • Same code based was used by the client to integrate multiple other similar customers they had

Testimonial

Feedback image
building Manager Bacpartners

Next Phase

If You Are Looking For Similar Services? Please Get In Touch

Testimonial

Edward Yarashev
Product Manager | Tonkin + Taylor

Peritos is a team of highly skilled developers, technical experts, and delivery managers. We’ve been very impressed with their commitment. Their developers and delivery managers have conducted themselves with professionalism and diligence at all times, and the quality of the work they have performed has been excellent. Many times, they proposed better solutions, which resulted in better and faster products. Peritos is a reliable AWS Partner. You can trust and be satisfied.


(For services and support)
Richard Canny
Ultimation industries | President

“We are very happy with the results of this major IT project with Peritos Solutions. Their staff gained a good knowledge of our business and processes. They were able to work with many of our diverse team members and launch Business Central ERP on time and on budget according to our requirements. We will be using them again for future projects and additional development actions. Thank you!”


(For services and support)
Grant Peterson
Software Development Manager | Insight Software

The project was completed on time and as per the agreed budget. The communication was excellent, as was the dedication to quickly turning around the required report development. The overall experience was good, and I would definitely work with the Peritos Team again.


(For services and support)

Proud projects that
make us stand
out

Azure Cloud Consulting Services Recent Home

Azure Cloud Consulting Services

Automate mundane HR tasks from pre-boarding to post-retirement with our award-winning HRMS suite, driven by…

Cloud Consulting Services Recent Home

Cloud Consulting Services

Unlock agility, scalability, and innovation by modernizing your legacy systems through our tailored cloud solutions.…

Download our Checklist on Selecting Azure/ AWS vs Other Hosting providers Recent Home

Downloads

Download our Checklist on Selecting Azure/ AWS vs Other Hosting providers

Cloud Hosting The checklist contains the below details on how you could decide between whether…

Border detection and Image processing Recent Home

Open CV - Image processing

Border detection and Image processing

Home Category Open CV – Image processing ID card Border detection and image processing using…

Thinking about a project? Get in touch with us.

Connect with Us Today through the Details Below or Fill
Out the Form for a Prompt Response

Book Free Consultation

Guaranteed response within 8 business hours.





    Trusted by Startups and Fortune 500 companies

    07+ years of experience

    We can handle projects of all complexities.

    100+ satisfied customers

    Startups to Fortune 500, we have worked with all.

    20+ in-house team

    Top 1% industry talent to ensure your digital success.