capabilities.work

SD Customer Lookup to Order

A 3-step recipe with SAP Sales and Distribution (SD). We can help you get access.

Recipe · 3 steps

SD Customer Lookup to Order

with SAP Sales and Distribution (SD) · Sales Management

Validate a customer and its sales area, then create a sales order.

  1. Read the customer master record to confirm the customer exists.
  2. Read the customer's sales-area assignment to confirm the customer is set up for the target sales organization, distribution channel and division.
  3. Create a sales order for the validated customer as the sold-to party.
What you'll need to have ready
  • csrfToken: X-CSRF-Token fetched from the OData service for write operations.
  • customer: Customer number to validate and order for.
  • salesOrganization: Sales organization.
  • distributionChannel: Distribution channel.
  • division: Division.
  • salesOrderType: Sales order document type (e.g. OR).
  • material: Material number for the order item.
  • requestedQuantity: Requested quantity for the order item.
For your developer

Arazzo workflow sap-sales-and-distribution-sd:customer-lookup-to-order, 3 operations: getCustomer → getCustomerSalesArea → createSalesOrder. Specs on APIs.io.