Skip to main content

SAP Business One CRM

SAP Business One is an enterprise resource planning (ERP) solution designed for small and midsize businesses by SAP SE. The ballerinax/sap.businessone.crm connector exposes the CRM objects of SAP Business One — activities, campaigns, target groups, and sales opportunities — through the SAP Business One Service Layer (OData). It handles session-based authentication automatically, logging in with your company database credentials and transparently re-authenticating when the session expires.

Key Features

  • Log and query activities such as calls, meetings, tasks, and notes
  • Manage marketing campaigns and cancel active campaigns
  • Create and maintain target groups for campaign recipients
  • Track sales opportunities, including closing and stage progression
  • Configure sales opportunity competitors, interests, reasons, and sources
  • Full CRUD support across all CRM entities via the OData Service Layer
  • Automatic session management with B1SESSION/ROUTEID cookie handling

Actions

The connector provides a single client for interacting with all SAP Business One CRM entities.

ClientActions
ClientActivities, Activity locations, recipient lists, statuses, subjects & types, Campaigns & campaign response types, Target groups, Sales opportunities, Sales stages, Sales opportunity competitor/interest/reason/source setups

See the Action Reference for the full list of operations, parameters, and sample code for each client.

Documentation

  • Setup Guide: Configure an SAP Business One installation with the Service Layer enabled and obtain the credentials needed to connect.

  • Action Reference: Full reference for all clients — operations, parameters, return types, and sample code.

  • Example: Learn how to build and configure an integration using the SAP Business One CRM connector, including connection setup, operation configuration, and execution flow.

How to contribute

As an open source project, WSO2 welcomes contributions from the community.

To contribute to the code for this connector, please create a pull request in the following repository.

Check the issue tracker for open issues that interest you. We look forward to receiving your contributions.