1. Home
  2. SAP automation
  3. SAP order entry

S/4HANA Cloud Public Edition drafts sales orders from PDFs; Business One uses its API

In SAP, order to cash starts with the sales order. S/4HANA Cloud Public Edition can read a customer's PDF purchase order and draft the sales order for a rep to check. In SAP Business One, orders come in by hand or through the Service Layer, its web API.

Checked 19 November 2026

What a sales order holds in S/4HANA

In S/4HANA, every sales order belongs to a sales area. SAP Learning says a sales area is a sales organization, a distribution channel and a division together. Each sales document also needs a customer number and at least one item with a material number.

The rep types little. SAP says a rep enters the customer, the product and the quantity, and S/4HANA fills in the rest. It then checks whether the material is available on the requested date. If needed, it passes the demand on to materials planning.

SAP Learning says a sales document has three levels: header, item and schedule line. Schedule lines hold the confirmed delivery quantities and dates. Every item that ships needs at least one.

S/4HANA then sources each ordered material one of three ways:

  • From stock, if stock exists.
  • From a vendor, through a purchase requisition or purchase order.
  • From your own plant, through a planned order or production order.

Order to cash in S/4HANA runs on two paths

Order to cash, or O2C, runs from the sales order to the customer’s payment. SAP Learning names two process types in S/4HANA Sales: delivery-related and order-related.

Scroll the table sideways to see every column.

Product Path When billing starts
A stocked product, such as a bike Goes through shipping After shipping, once goods issue is posted
A service, such as a repair Skips shipping Straight from the sales order

Two sap.com product pages we tried for SAP’s order management offerings showed “Page Not Found” on 19 November 2026. So this page sticks to order entry inside SAP’s ERPs.

S/4HANA Cloud Public Edition drafts sales orders from PDFs

SAP Learning says B2B orders often arrive as PDF attachments in emails. Reps then create the sales orders by hand. SAP’s S/4HANA Cloud Public Edition course shows an app for this, called Create Sales Orders with automatic extraction. It reads purchase orders sent as PDF or image files.

What it does, step by step, in SAP Learning’s words:

  1. A rep uploads the file. Purchase orders must be in English or German.
  2. S/4HANA drafts a sales order request. That is a draft that prepares a sales order.
  3. The rep fills any gaps. The request needs a sold-to party, a sales area and an order type, plus a product, quantity and unit for each item. If S/4HANA cannot fill a required field, the request is incomplete.
  4. The rep simulates or creates. A complete request can be tested first or turned straight into a sales order. A side-by-side view shows the extracted data next to the original file.
  5. The request locks. Once the sales order exists, the request can no longer be edited.

Two limits matter. Only a limited number of sales order types work in the app, so check yours against SAP’s list before you plan around it. Its log keeps records for the last 100 days.

To skip the upload, SAP adds a bot from SAP Intelligent RPA. It scans an inbox for a subject keyword, such as “Sales Order”, and uploads each attachment into S/4HANA. It needs a Desktop Agent installed on a user’s machine. SAP files these under two process names: 4X9, Create Sales Orders from Unstructured Data, and 5LT, Automatic Creation of Sales Order from Unstructured Data.

SAP’s newer Business AI lesson adds a fully automatic route for high volumes. An SAP Build Process Automation layer watches incoming email attachments and feeds them into extraction. Sales orders are then created without manual work, and only exceptions go to a person.

Joule and SAP’s AI help once the order is in

SAP’s AI in S/4HANA Cloud also works on orders already entered.

  • Suggested values. In S/4HANA Cloud Public Edition, version 2 of the Manage Sales Orders app can suggest values for missing fields. The model, SLS_DOC_AUTO_COMPLTN, learns from the past year of completed orders. It retrains weekly in production and every four weeks in test systems. It needs SAP AI Units.
  • Joule. Ask Joule what holds an order up. It groups problems into incomplete data, delivery blocks, credit blocks and billing restrictions. It can also change header and item fields by chat, including mass updates of delivery dates, payment terms or block reasons.

Entering sales orders through SAP’s APIs

Software that enters orders uses each product’s own API. They differ.

S/4HANA Cloud. SAP lists the Sales Order (A2X) API on its Business Accelerator Hub. SAP’s own tutorial calls it at /sap/opu/odata/sap/API_SALES_ORDER_SRV. S/4HANA APIs need a CSRF token, a security code sent with each change.

SAP’s Architecture Center also shows a Document AI pattern for customer orders. Document AI reads the customer’s PO, including material numbers. A service you build, such as a CAP application or an Integration Suite flow, maps the customer’s own part codes to your S/4HANA products. It then fetches price agreements and checks availability. Items not found, or out of stock, are flagged for the sales team.

SAP Business One. The Service Layer has an Orders entity, which SAP calls a commitment from a customer or lead to buy. A POST to Orders, with the order in JSON, creates it. If an active approval template targets sales orders, SAP says a draft is created instead, and the call returns error code -2028. The draft then waits for a person.

Business One order entry, from availability to invoice

In Business One, order entry ties into stock from the first row. Here is how.

  • Availability check. Switch it on in Document Settings, on the Per Document tab, for sales orders. Business One then checks each row as items and quantities go in, and commits the quantity in inventory.
  • Short stock. The standard check opens a window. You can switch warehouse, pick an alternative item, change the quantity or view a report across warehouses.
  • Two check types. The standard check runs on SAP HANA and Microsoft SQL Server. The advanced available-to-promise check, with confirmed delivery dates, needs SAP HANA.
  • After the order. Open orders feed the pick lists that warehouse staff make in the Pick Pack and Production Manager. A delivery is made from sales orders with Copy From. A/R invoices then go out in batched runs through the Document Generation Wizard.

SAP keeps Business One’s Web client AI away from the records: it cannot create or change them. We searched every SAP page in our SAP fact base, and the SAP pages saved for this page and its sibling SAP pages, on 18 and 19 November 2026, for a Business One feature that turns a PDF or an email into an order. We found none.

An order agent fits Business One’s inbox first

In that search we found no Business One feature that reads an emailed purchase order. An agent can read the email, match the customer’s part numbers to your items, and post the order through the Service Layer. With an approval template on sales orders, it lands as a draft for your order desk.

In S/4HANA Cloud Public Edition, try SAP’s own app first. A custom agent fits the cases it leaves out: files in other languages, order types the app does not support, or rules that live outside SAP.

Sign-in details for each SAP product are on SAP AI agents. For order desks at wholesalers, see AI for distribution.

Our team’s SAP go-lives

Our team has run SAP go-lives on Business One, S/4HANA and ECC, and can take an SAP implementation from start to finish.

Our team’s order workflows run in ERPNext

In ERPNext, our team’s AI workflows create sales orders and quotations. They also produce bookkeeping entries and invoices. The case studies page describes that build. The first call is free.

Questions

What is the O2C process in SAP?

O2C means order to cash: from the sales order to the customer's payment. In S/4HANA it starts with the sales order. A stocked product then ships, and it is billed after goods issue. A service skips shipping, and billing starts straight from the sales order. SAP Learning calls these the delivery-related and the order-related process.

What is a sales order in SAP?

In S/4HANA it is a sales document tied to a sales area: a sales organization, a distribution channel and a division. It needs a customer number and at least one item with a material number. The rep enters customer, product and quantity, and S/4HANA fills in the rest. In Business One, SAP calls an order a commitment from a customer or lead to buy.

Can SAP read a PDF purchase order?

S/4HANA Cloud Public Edition can. Its Create Sales Orders app with automatic extraction reads PDF or image files and drafts a sales order request. Files must be in English or German, and only some order types work. A bot or an SAP Build Process Automation layer can pick the files out of an inbox. We found no such feature for Business One in the SAP pages we saved on 18 and 19 November 2026.

Does SAP Business One check stock when an order is entered?

Yes, once the automatic availability check is on in Document Settings. Then each row is checked as items and quantities go in, and the quantity is committed. A short row opens a window: switch warehouse, pick an alternative item, change the quantity or view a report. For confirmed delivery dates, the advanced available-to-promise check needs an SAP HANA database.

Can an AI agent enter sales orders into SAP Business One?

Yes, through the Service Layer, SAP's web API for Business One. A POST to Orders creates the order. If an active approval template targets sales orders, SAP says a draft is created instead and the call returns error code -2028. So a person approves before the order counts. Business One's own Web client AI cannot create orders.

What does Joule do for sales orders in SAP?

In S/4HANA Cloud, Joule finds what holds an order up. It groups problems such as incomplete data, delivery blocks, credit blocks and billing restrictions. It can also change header and item fields by chat, including mass updates of delivery dates or payment terms. In S/4HANA Cloud Public Edition, a separate AI model suggests values for missing fields, and that one needs SAP AI Units.

What is service management in SAP?

In SAP Business One, service work runs through service calls. SAP's Service Layer reference says the ServiceCalls entity is used to manage the service and support activities you provide to customers. On the sales side of S/4HANA, SAP Learning says a service product skips shipping, and billing starts straight from the sales order.

Sources

Every source behind a figure or a vendor fact on this page, with the day we read it.

Bring your SAP order desk to a first call

Tell us which SAP product you run, how customer orders arrive, and the formats they come in. The first call is free.

Book an SAP order call