SAP B1 and Salesforce Commerce Cloud
Integration Agency & Consultants
Cogent2’s approach combines AI-powered delivery with operators who understand financial and fulfilment pressures. Connecting Salesforce Commerce Cloud to SAP B1 correctly is critical for maintaining order-to-cash accuracy as you scale. We build integrations that establish control, giving you a faster month-end close and more predictable order processing.
Mapping data flows and system audits
Cogent connects your SAP B1 and Salesforce Commerce Cloud, ensuring your ERP and Ecommerce systems work efficiently. Our consulting services, including system audits, are invaluable for identifying and addressing inefficiencies. By analysing your tech ecosystem, we enable your team to take decisive action, ensuring smooth operations. This integration of SAP B1 with Salesforce Commerce Cloud enhances your ERP and Ecommerce capabilities, allowing you to deliver an exceptional customer experience. Our audits provide the insights needed to maintain a robust and efficient technology environment.
Solution Design
The architecture for SAP B1 and Salesforce Commerce Cloud (SFCC) prioritises financial integrity and fulfilment speed. In many implementations, SFCC acts as the capture point for orders, while SAP B1 serves as the source of truth for financial postings and inventory master data. We typically recommend a defined schedule for posting sales into SAP B1 to ensure reconciliation occurs before the general ledger is impacted. Conversely, inventory levels are often pushed from SAP B1 to SFCC on a frequent basis to protect against overselling during peak periods. This design choice accepts periodic reporting lags in exchange for a cleaner month-end close. The result is an operating model where operations teams can rely on stock levels in SFCC, while finance closes the books using verified data within SAP B1.
Governing bi-directional order and stock sync
The integration establishes a bi-directional flow where Salesforce Commerce Cloud captures customer intent and SAP B1 governs the financial and fulfilment reality. Orders post to SAP B1 to trigger the fulfilment workflow. We prioritise data integrity by ensuring SAP B1 remains the source of truth for item masters and price lists, pushing inventory and pricing updates to the storefront to maintain accuracy. Monitoring is embedded at every step, catching issues such as duplicate records or incorrect item mapping before they enter the warehouse queue. This ensures that the data in your ERP reflects the actual state of your ecommerce business.
iPaaS
The integration establishes a bi-directional flow where Salesforce Commerce Cloud captures customer intent and SAP B1 governs the financial and fulfilment reality. Orders post to SAP B1 to trigger the fulfilment workflow. We prioritise data integrity by ensuring SAP B1 remains the source of truth for item masters and price lists, pushing inventory and pricing updates to the storefront to maintain accuracy. Monitoring is embedded at every step, catching issues such as duplicate records or incorrect item mapping before they enter the warehouse queue. This ensures that the data in your ERP reflects the actual state of your ecommerce business.
Surfacing data mismatches and reconciliation errors
Clear visibility and reporting are crucial for integrating SAP B1 and Salesforce Commerce Cloud, ensuring smooth ERP and Ecommerce operations. Cogent2 delivers this by providing real-time insights and proactive monitoring. Their approach includes advanced tools and custom dashboards, allowing businesses to manage SAP B1 and Salesforce Commerce Cloud integrations effectively. This ensures ERP and Ecommerce systems function optimally, reducing downtime and enhancing decision-making capabilities.
Handing over the order to cash process
Training focuses on operational ownership for finance, ecommerce, and warehouse teams. We hand over a clear operating model that defines how data moves between SFCC and SAP B1, ensuring your team knows who owns specific exception types, such as tax mapping errors or SKU sync failures. Finance teams are trained on reconciliation routines, while CX and ops teams learn to interpret alerts from the integration layer to resolve order blocks before they impact fulfilment. Documentation is delivered as a practical operational guide rather than a technical archive, written for those running the business day to day. This ensures the team can maintain the order-to-cash process, checking sync health metrics on a regular basis to prevent data drift.
Active monitoring of sync failure patterns
Post-launch support moves beyond technical fixes to ongoing operational ownership. We monitor the Salesforce Commerce Cloud and SAP B1 sync for common failure patterns, such as item mapping mismatches or fulfilment status lags, and escalate issues before they reach your customers. Our model ensures that whether the problem is a technical error or a data entry mistake, there is a clear path to resolution with defined escalation points. This proactive monitoring provides the visibility needed to keep your order-to-cash process running smoothly during peak trading periods.
Common failures
Inventory latency and overselling
Operational impact: Salesforce Commerce Cloud sells inventory that SAP B1 does not have, particularly when multiple SAP warehouses feed a single online stock figure. This creates backorders, forces order cancellations, and inflates contact rates for the customer experience team. The fulfilment team wastes time on unavailable stock, and finance must process a higher volume of refunds against completed sales orders.
Prevention / Action: The integration's design must define a clear source of truth for 'available to sell' stock, which may be a specific SAP B1 warehouse or a calculated aggregate. To prevent failures, the integration logic should handle potential SAP B1 record locking by using queuing mechanisms or the Service Layer API. Schedule stock level updates at a sustainable frequency, and consider maintaining a safety stock buffer in Salesforce Commerce Cloud to absorb minor timing discrepancies.
Mismatched payment and tax records
Operational impact: Salesforce Commerce Cloud captures a simple payment method (e.g. 'Stripe'), but finance needs this mapped to specific general ledger accounts in SAP B1 for reconciliation. If tax is sent as a single total but SAP B1 expects per-line tax codes, the result is failed order creation or incorrect journal entries. This creates significant manual work for the finance team during the month-end close process.
Prevention / Action: The integration must transform payment data from the Salesforce Commerce Cloud order into the structure SAP B1 requires for creating accurate Incoming Payment documents. Map every payment method to a specific G/L account during the design phase. For tax, ensure the integration passes the detailed tax breakdown from the source system (e.g. Avalara, Vertex, or native SFCC tax books) to meet SAP B1's requirements.
Shipment and fulfilment notification failures
Operational impact: The warehouse creates a Delivery document in SAP B1 to signify dispatch, but the integration fails to trigger the corresponding shipment confirmation in Salesforce Commerce Cloud. Customers do not receive tracking numbers or 'your order has shipped' emails, which increases 'where is my order?' queries for the customer service team. This damages customer confidence and increases operational support costs.
Prevention / Action: Design the integration to monitor for new or updated Delivery documents in SAP B1. Upon detection, the logic must translate SAP B1's carrier and tracking information into the format the Salesforce Commerce Cloud API requires to generate a shipment record and trigger customer emails. The process must reliably handle partial shipments, where one order results in multiple Delivery documents over time.
API record locking during peak volume
Operational impact: During a sales peak, a high frequency of updates from Salesforce Commerce Cloud can trigger record locking in SAP B1, especially with the DI API. This blocks other critical processes, preventing the finance team from running reports or the warehouse from processing deliveries. The result is a system-wide slowdown, where order flows stall and key operational data becomes inaccessible.
Prevention / Action: Use SAP B1's Service Layer for high-volume transactions where possible, as it is better designed for concurrent requests. The integration should use a queuing system to process incoming orders and outgoing updates in managed batches, not as individual transactions. This design smooths out traffic spikes and should incorporate retry logic with exponential backoff to handle transient record locks without failing the entire process.
Frequently asked questions
How does a customer order on Salesforce Commerce Cloud get processed in SAP B1?
Once a customer completes an order in Salesforce Commerce Cloud, the integration creates a corresponding Sales Order in SAP B1. This SAP B1 document becomes the definitive record for the order-to-cash process, driving both stock allocation for fulfilment and the financial entries for reconciliation. Without this, the finance team would have to manually re-key orders, risking errors and delays in month-end close.
How do you handle mapping between Salesforce SKUs and SAP B1 Item Masters?
Correctly mapping Salesforce Commerce Cloud SKUs to SAP B1 Item Master records is a primary cause of failure, so we address it during design. The process involves defining which system is the 'source of truth' and creating rules to link each SKU to its corresponding item record. If this mapping is inaccurate, orders will fail to import correctly, leading to fulfilment errors and unreliable financial reports.
We use multiple warehouses in SAP B1. How does this affect stock sync with SFCC?
This requires careful mapping, as aggregating stock from multiple SAP B1 warehouses into one Salesforce Commerce Cloud inventory figure can easily lead to overselling. The integration must define clear logic for how stock from different warehouse locations (OWHS) contributes to the 'available to sell' number on the website. For example, you might exclude stock from a quarantine or returns warehouse to ensure accurate availability.
How can we avoid locking records in SAP B1 during real-time stock updates?
This is a significant operational risk, as frequent inventory updates from a high-volume platform like Salesforce Commerce Cloud can trigger record locking via the standard DI API. A more resilient integration avoids this by using scheduled batch updates or an intermediate service layer to manage stock synchronisation. This prevents the integration from disrupting core ERP functions and slowing down users in SAP B1.
Can products that require batch or serial numbers be tracked properly?
Yes, but only if the Item Master records in SAP B1 have been correctly configured for batch or serial number management. A common failure we see is when this setting is missed, which prevents SAP B1 from creating the necessary shipment and fulfilment documents for these tracked items. This will halt the order-to-cash process for any Salesforce Commerce Cloud order containing that product.





