Create sales order in SAP from Salesforce closed won

CRMMarketingRecipe Tools

What it does

When a Salesforce opportunity moves to closed won, this automation retrieves the opportunity products and creates a sales order in SAP S/4 HANA. The sales order is populated with customer and product line items that exist in both systems.

Who it's for

Sales operations teams who need to move closed deals from Salesforce into SAP for order fulfillment without manual entry.

How teams use this

Convert closed deals to sales orders

When a sales rep marks an opportunity closed won in Salesforce, the automation immediately creates the corresponding sales order in SAP S/4 HANA with all line items and customer details, eliminating manual order entry.

Route orders by region or product

Extend this automation to filter opportunities by region or product type before creating the sales order, so different order types route to the correct fulfillment center.

Notify fulfillment when order is created

Add a notification step to alert the fulfillment team when the sales order is created in SAP S/4 HANA, so they can begin picking and packing immediately.

Sync customer and product data first

Ensure accounts in Salesforce are synced as ship-to parties and products are synced as materials in SAP S/4 HANA before running this automation, so all references resolve correctly.

How it works

  1. Monitor for closed won opportunity. Watch Salesforce for an opportunity that moves to closed won status, which signals a deal is ready to become a sales order.
  2. Retrieve opportunity products from Salesforce. Fetch the list of related opportunity products from Salesforce so each line item can be added to the SAP S/4 HANA sales order.
  3. Create sales order in SAP S/4 HANA. Create a sales order header in SAP S/4 HANA populated with the opportunity details, customer, and product line items from Salesforce.
  4. Log the result to job report. Record the outcome to the Salesforce job report so the team can track which opportunities were successfully converted to sales orders.