What are the most common SAP automation use cases?
The most common SAP automation use cases are recurring, high-volume postings and master data changes: G/L journals (FB50), supplier invoices (MIRO, FB60), purchase orders (ME21N), goods movements (MIGO), sales orders (VA01), pricing conditions (VK11) and material creates and changes (MM01, MM02). PostNow.ai runs each one from Excel and writes SAP's result back to every row.
- One use case, one SAP object. Each use case is a single transaction or master record with its own data, owner and result, so it can be automated and checked on its own.
- Rank by volume, repetition and rules. The best first candidates come back every period, run to hundreds of lines and follow fixed rules a template can check.
This guide is for finance, supply chain and master data leads, and the SAP consultants who help them decide what to automate. It ranks 25 SAP automation examples by module, names the transaction and the interface behind each, and links the PostNow.ai page that shows the job step by step. How single use cases join into end-to-end flows is covered in SAP process automation, and how to choose between tool types in SAP automation tools.
What counts as an SAP automation use case
PostNow.ai treats an SAP automation use case as one repeatable SAP task: a document or master record that a person would otherwise key screen by screen, posted instead from rows of data, with SAP's answer recorded against each row. "Post the monthly accrual journals" is a use case. "Automate finance" is not; it is a programme made of many use cases.
A use case is ready to describe when you can name four things:
- The SAP object. The transaction or master record it creates or changes, such as FB50 for a G/L journal or MM02 for a material change.
- The source of the data. Where the values come from before SAP: a spreadsheet model, a supplier price list, a planning file, a PDF invoice.
- The trigger and rhythm. Month-end, every week, each new price list, or once for a reorganisation.
- The proof it worked. A document number and SAP's message per record, or a report that shows the result.
The distinction matters because SAP automation is decided per use case. A purchase order and a goods receipt sit in the same process, but each has its own interface, its own SAP checks and its own failure modes. The interface is the deciding factor: where SAP publishes a BAPI or an API for the object, the use case can return SAP's message per record; where the field exists only on a screen, the route is a recorded transaction.
How PostNow.ai runs these use cases from Excel
PostNow.ai runs each use case as one Excel template: a designer builds it once, operators fill rows and run it, and every row gets SAP's message and document number back. It works with SAP ECC and S/4HANA, and the same steps apply whether the use case posts an invoice or changes a material.
- Pick the interface. BAPI mode calls a function module from your own SAP system, such as
BAPI_ACC_DOCUMENT_POSTfor journals; Find with AI suggests one from a plain-English description of the job. Recording mode records the transaction once in SHDB and replays it for every row. API mode posts through SAP's OData V2, OData V4 and SOAP APIs. - Check before anything posts. Validate checks the sheet offline: required fields, type, length, date format, decimals and allowed values. Simulate then sends the rows to SAP as a trial; for a BAPI, PostNow.ai follows the call with a rollback instead of a commit.
- Run and read the answer. Each row gets SAP's message in the Run Log and the document number in the column you choose. Retry Failed re-posts only the rows marked ERROR after you fix them.
- Change, report and test with the same product. Mass Change downloads current SAP values, lets you edit them in Excel and posts only the rows you changed. The Report Library opens ready-made SAP reports in Excel. PostNow.ai SAP Testing re-runs postings and table checks after a change, from a runner on your own Windows machine.
- Hand it to the team. Publish makes a template run-only for operators, an approval policy in the PostNow.ai portal can hold a run until a named approver signs off on that exact data, and every posted document goes to the central posting audit.
PostNow.ai logs in to SAP GUI only on the user's own computer, with the user's own stored login, when the user starts the action (Record, Run, Debug or Call Transaction); never on a server, never unattended, never with someone else's login. SAP therefore checks each user's own authorisations on every posting. The product pages for each SAP area are listed under PostNow.ai solutions.
How the use cases are ranked: volume, repetition and rules
PostNow.ai pays back fastest on use cases that a team runs every period from a file it already keeps, so the 25 SAP automation use cases below are ranked on three questions, each answered for a typical SAP company:
- Volume. How many lines a run has. A month of journals with 300 lines saves more keying than five vendor changes.
- Repetition. How often it comes back. A template built once and run every month beats one built for a single load.
- Rules. Whether the data follows fixed rules that a template can check: a cost center that must exist, an amount with two decimals, a posting date in an open period.
Rank 1 ("Start here") scores high on all three and has a standard interface. Rank 2 ("Next") recurs but needs more design, such as a chosen subset of documents or an approval. Rank 3 ("Project") is usually a one-off or yearly load where care matters more than speed. Your own volumes decide the final order; the table is the starting point.
| # | Use case | T-code | Route | What SAP returns per row | Rank |
|---|---|---|---|---|---|
| Finance (FI) | |||||
| 1 | G/L journal entries and accruals | FB50 | BAPI_ACC_DOCUMENT_POST | Journal document number | 1 Start here |
| 2 | Supplier invoices with a PO | MIRO | BAPI_INCOMINGINVOICE_CREATE | Invoice document number, with SAP's tolerances and payment blocks applied | 1 Start here |
| 3 | Vendor invoices without a PO | FB60 | BAPI_ACC_DOCUMENT_POST | Accounting document number | 1 Start here |
| 4 | Supplier invoice PDFs read and posted | MIRO, FB60 | PostNow.ai Document AI, reviewed before posting | Invoice document number per PDF | 2 Next |
| 5 | Documents with posting keys | FB01 | BAPI_ACC_DOCUMENT_POST, or an FB01 recording for exact keys | Document number | 2 Next |
| 6 | Customer credit limits | FD32, UKM_BP | FD32 recording with Mass Change (ECC) | SAP's message per customer | 3 Project |
| Controlling (CO) | |||||
| 7 | New cost centers | KS01 | BAPI_COSTCENTER_CREATEMULTIPLE | SAP's result per cost center | 2 Next |
| 8 | Cost center changes | KS02 | BAPI_COSTCENTER_CHANGEMULTIPLE through Mass Change | SAP's message on each changed row | 2 Next |
| 9 | New profit centers | KE51 | BAPI_PROFITCENTER_CREATE | SAP's message per profit center | 3 Project |
| Procurement and inventory (MM) | |||||
| 10 | Purchase orders | ME21N | BAPI_PO_CREATE1 | Purchase order number | 1 Start here |
| 11 | Goods receipts, issues and transfers | MIGO | BAPI_GOODSMVT_CREATE | Material document number | 1 Start here |
| 12 | Purchase requisitions | ME51N | BAPI_PR_CREATE | Requisition number | 2 Next |
| 13 | Bills of material | CS01 | BAPI_MATERIAL_BOM_GROUP_CREATE or a CS01 recording | SAP's message per BOM | 3 Project |
| Sales and distribution (SD) | |||||
| 14 | Sales orders | VA01 | BAPI_SALESORDER_CREATEFROMDAT2 | Sales order number, priced and credit-checked by SAP | 1 Start here |
| 15 | Pricing conditions | VK11 | VK11 recording | SAP's message per condition record | 1 Start here |
| 16 | Outbound deliveries for a chosen list | VL01N | BAPI_OUTB_DELIVERY_CREATE_SLS | Delivery number | 2 Next |
| 17 | Billing for chosen documents | VF01 | VF01 recording or BAPI_BILLINGDOC_CREATEMULTIPLE | Billing document number | 2 Next |
| Master data | |||||
| 18 | Material master changes | MM02 | BAPI_MATERIAL_SAVEDATA through Mass Change | SAP's message on each changed row | 1 Start here |
| 19 | New materials | MM01 | BAPI_MATERIAL_SAVEDATA | SAP's result per material | 1 Start here |
| 20 | Business partners on S/4HANA | BP | API_BUSINESS_PARTNER or BAPI_BUPA_CREATE_FROM_DATA | SAP's answer per business partner | 2 Next |
| 21 | Customers and vendors on ECC: XD01, XK01 | XD01, XK01 | Recording of XD01 or XK01 | New customer or vendor number | 2 Next |
| 22 | Fixed assets | AS01 | BAPI_FIXEDASSET_CREATE1 | Asset number | 3 Project |
| 23 | G/L accounts | FS00 | FS00 recording | SAP's message per account | 3 Project |
| Reporting and testing | |||||
| 24 | SAP reports in Excel | Report Library | Ready-made reports run under the user's SAP login | A formatted Excel workbook | 1 Start here |
| 25 | Regression tests after a change | SAP Testing | BAPI postings, table checks and SE38 report baselines | A stored record of every run | 2 Next |
Ten of the 25 rank 1. They share a pattern: the work already happens in a spreadsheet every week or month, and PostNow.ai has a standard route for it: a BAPI, a ready-made report or, for VK11, a recording replayed one condition record per row. The sections below give the detail per module that decides whether a use case works on day one.
Finance (FI) automation use cases
PostNow.ai posts most SAP finance automation use cases through two BAPIs: BAPI_ACC_DOCUMENT_POST for journals and non-PO invoices, and BAPI_INCOMINGINVOICE_CREATE for invoices against a purchase order. SAP FI automation starts here because finance keeps its numbers in spreadsheets and posts them on a fixed calendar.
- G/L journal entries and accruals (FB50). SAP journal entry automation is the most common finance use case: one header row per journal and one detail row per G/L line, so a month of accruals, allocations and reclassifications posts from the workbook it was calculated in. A closed period is a frequent reason a month-end file fails (
F5 201), so keep the posting date as a typed value, not=TODAY(). Details in FB50 mass upload. - Supplier invoices with a purchase order (MIRO). SAP does not support batch input for MIRO (Note 381593), so this use case belongs on the BAPI. SAP applies the same tolerances, tax calculation and payment blocks as in MIRO: an invoice outside tolerance still posts, blocked for payment. See MIRO mass invoice posting and, for the match itself, SAP invoice matching.
- Vendor invoices without a purchase order (FB60). Rent, utilities, services and expense invoices: one vendor line for the amount owed and one or more G/L lines for the expense. See FB60 mass upload.
- Supplier invoice PDFs. PostNow.ai Document AI, a licensed module of the PostNow.ai web portal, reads the PDF, lets a person review the extracted fields and posts through MIRO or FB60. Reading and posting are separate steps, so plan them separately; see SAP invoice OCR. The whole AP picture is in SAP accounts payable automation.
- Documents with explicit posting keys (FB01). Reclassifications and documents that mix G/L, vendor and customer lines. The BAPI derives the posting key from the line type and the sign of the amount; where a document must carry the exact keys from your file, PostNow.ai replays an FB01 recording instead. See FB01 mass upload.
- Customer credit limits (FD32 on ECC, UKM_BP on S/4HANA). A yearly or quarterly review rather than a monthly job. On ECC, Mass Change downloads the current limits from table KNKK, you edit them in Excel, and PostNow.ai replays an FD32 recording for the changed rows only. On S/4HANA the limit sits in a credit segment of the business partner; see SAP credit limit mass update.
Reversals follow the same pattern: BAPI_ACC_DOCUMENT_REV_POST reverses a list of documents using the numbers a first run wrote back. Every finance posting from Excel, by transaction, is in SAP FICO mass posting.
Controlling (CO) automation use cases
PostNow.ai automates controlling master data from Excel: new cost centers and profit centers through their create BAPIs, and changes through Mass Change. These use cases cluster around reorganisations and the start of a fiscal year, so they rank lower on repetition but high on volume when they happen.
- New cost centers (KS01). One row per cost center with controlling area, validity dates, category, hierarchy node, company code and profit center, posted through
BAPI_COSTCENTER_CREATEMULTIPLE. See KS01 mass upload. - Cost center changes (KS02). A new person responsible or profit center for 200 cost centers: Mass Change downloads the current values, you edit them in Excel, a review screen shows old against new, and the changed rows post through
BAPI_COSTCENTER_CHANGEMULTIPLE. See SAP mass change from Excel. - New profit centers (KE51). Posted through
BAPI_PROFITCENTER_CREATE, with the company codes in itsCOMPANYCODEStable. Load in order: segments and the standard hierarchy first, then profit centers, then the cost centers that point to them. See SAP profit center upload.
After the load, the Cost Center Master 360 report in the PostNow.ai Report Library lists the cost centers with their hierarchy, responsibility and controlling area, so the result can be checked in Excel the same day.
Procurement and inventory (MM) automation use cases
PostNow.ai posts the SAP MM automation use cases through SAP's purchasing and inventory BAPIs, one header row per document with detail rows for its items. Purchase orders and goods movements rank first because a buyer or a warehouse team often prepares them in a file before anyone opens SAP.
- Purchase orders (ME21N). SAP does not support batch input for ME21N (Note 217437), so purchase orders go through
BAPI_PO_CREATE1: one H row per order, D rows for items, with schedule lines and account assignment filled per item. Each PO number comes back as a link to ME23N. See ME21N mass upload. - Goods receipts, issues and transfers (MIGO).
BAPI_GOODSMVT_CREATEposts each material document, for example movement type 101 against a purchase order or 311 between storage locations in one plant. Post a receipt only for goods that arrived: a 101 against the wrong PO item posts cleanly and surfaces later as a GR/IR balance. See MIGO goods movement upload. - Purchase requisitions (ME51N). Demand from a planning file or a project list goes in through
BAPI_PR_CREATE, and SAP's release strategy or flexible workflow approves it as if it were keyed by hand. See ME51N mass upload. - Bills of material (CS01). A header row per BOM and a detail row per component, through
BAPI_MATERIAL_BOM_GROUP_CREATEor a CS01 recording. For multi-level structures, load sub-assemblies first, then the assemblies that use them, then finished products. See SAP BOM upload.
To check the result, the Purchase Order 360 report puts header, items, schedule lines and GR/IR history in one sheet, and the Goods Movements 360 report lists the material documents. The MM objects as one upload view are in SAP MM mass upload.
Sales and distribution (SD) automation use cases
PostNow.ai posts SAP SD automation use cases through BAPIs where SAP runs its full sales checks, and through a VK11 recording for prices. Sales orders and pricing conditions rank first: orders arrive in customer files and price lists change on a calendar.
- Sales orders (VA01).
BAPI_SALESORDER_CREATEFROMDAT2creates each order with header and sold-to on the H row and items and schedule lines on the D rows. SAP prices it and checks availability and credit as in VA01. See VA01 mass upload. - Pricing conditions (VK11). PostNow.ai replays a VK11 recording, one condition record per row. Record once per condition type and key combination, such as PR00 on Customer/Material (A305). See VK11 upload from Excel.
- Outbound deliveries for a chosen list (VL01N).
BAPI_OUTB_DELIVERY_CREATE_SLScreates deliveries for the order items a planner picked. If the list is simply everything due by a date, SAP's delivery due list VL10A already does it. See VL01N mass deliveries. - Billing for chosen documents (VF01). A VF01 recording, or
BAPI_BILLINGDOC_CREATEMULTIPLE, which saves with its own commit and is tested with its TESTRUN flag on a quality client first. VF04 stays the route for the routine billing due list. See VF01 mass billing.
The rule of thumb for SD: SAP's due lists handle the steady flow, and a file handles the subset someone chose outside SAP. All SD objects in one place are in SAP SD mass upload.
Master data automation use cases
PostNow.ai creates master data through create BAPIs, APIs or recordings, and changes it through Mass Change, which posts only the rows you edited. Material changes rank first among master data use cases because they recur all year: new MRP controllers, purchasing groups, prices and sales views.
- Material master changes (MM02). Mass Change reads the current values into the sheet, you edit them, a review lists old against new, and the changed rows post through
BAPI_MATERIAL_SAVEDATAwith the X flag set for every mapped field, so fields the template does not map keep their SAP values. Because the BAPI creates and changes, a plant key edited to a new plant extends the material instead. See mass update material master (MM02). - New materials (MM01).
BAPI_MATERIAL_SAVEDATA, one material per call, with basic data plus the plant, purchasing, MRP, accounting and sales views you map. See MM01 mass create. - Business partners on S/4HANA (BP). XD01 and XK01 redirect to transaction BP, and BP does not support batch input, so PostNow.ai posts through SAP's
API_BUSINESS_PARTNERin API mode orBAPI_BUPA_CREATE_FROM_DATAin BAPI mode. See SAP Business Partner mass upload. - Customers and vendors on ECC (XD01, XK01). PostNow.ai records the transaction once and replays it per row, and writes the new number back; for vendors,
BAPI_VENDOR_CREATEtakes no vendor data, so the recording is the route. See XD01 customer upload and XK01 vendor upload. - Fixed assets (AS01).
BAPI_FIXEDASSET_CREATE1with one header row per asset and one detail row per depreciation area. See AS01 mass create. - G/L accounts (FS00). SAP's G/L account BAPIs read accounts but do not create them, so PostNow.ai records FS00 once and replays it per account and company code. See FS00 mass create.
All master data objects, with the load order across them, are in SAP master data mass upload.
Reporting and testing use cases
PostNow.ai automates SAP reporting with a Report Library of more than 80 ready-made reports that open in Excel, and SAP testing with PostNow.ai SAP Testing, which re-runs postings and checks after a change. Both are use cases in their own right: a report someone rebuilds from SE16N every month is manual work, and so is a regression test done by hand after each transport.
Reporting use cases
Each report in the Report Library has its tables, joins and text fields already defined. A user opens it in Excel, sets filters such as company code or plant, runs it under their own SAP user and downloads a formatted workbook. Designers build new queries with the SAP Query builder or AI Query Pilot; operators run reports.
- Before the payment run. AP Open Items + Aging lists open vendor items with due date and terms by key date, and Vendor Payment History shows what F110 paid.
- Month-end reconciliation. GL Line Items 360 puts document headers and lines with account, cost center and profit center texts in one sheet; the Trial Balance / GL Balances report shows balances by account, company code and fiscal year.
- Master data checks. The material master report joins the basic, plant, valuation and sales views, and Duplicate Master Data (Vendors) groups vendors on name, country and VAT number to surface likely duplicates.
How the export works, and the SAP-native routes such as the ALV export, is in how to export SAP data to Excel; the full catalog is in the Report Library.
Testing use cases
PostNow.ai SAP Testing runs each test as a chain of steps, such as a BAPI posting, an SAP GUI recording or a table check, compares SE38 reports with a baseline, and keeps a record of every run.
- Regression after a transport, SAP Note or upgrade. Re-post the documents that worked last time and read back what SAP saved. See SAP regression testing.
- ECC to S/4HANA. Posting tests plus compare checks that read the same selection in the source and the target system and compare totals by key. See SAP S/4HANA testing.
- User acceptance. Testers answer manual steps with comments and screenshots, and the run is signed off. See SAP UAT testing.
- Data migration mock loads. Record counts and totals by key between source and target after each load. See SAP data migration testing.
What to automate in SAP first
With PostNow.ai, the best first use case is a rank-1 task whose data a team already keys from a spreadsheet every month, because the template replaces work that is happening anyway. Before choosing, answer four questions for each candidate:
- Does the data start outside SAP? If SAP already holds it, switch on SAP's own program or due list first, such as VL10A for deliveries or VF04 for billing.
- Does it come back every period? A monthly file pays back its template within a few runs; a one-off load may not.
- Is there a BAPI or API for it? An interface returns SAP's message per record; a recording is the route where a field exists only on a screen. The trade-offs are in BAPI vs BDC in SAP.
- Who owns the result? Name the person who reads the Run Log and fixes failed rows before the template goes live.
Whether the process, data and team are ready is a separate check, covered in the SAP automation readiness checklist.
Worked example: ranking three candidates in company code 1010
A finance team in company code 1010 lists three candidates and ranks them with the three questions from the table above.
| Candidate | Volume | Repetition | Rules | Decision |
|---|---|---|---|---|
| Non-PO invoices (FB60) | About 350 lines | Monthly | Fixed: vendor, G/L account, tax code, cost center | Start here |
| Price list update (VK11, PR00 on A305) | About 2,000 records | Quarterly | Fixed key combination | Second |
| Cost center reorganisation (KS02) | 120 cost centers | Once, in January | Fixed, but decided late | Plan as a project with Mass Change |
The designer maps a PostNow.ai template to BAPI_ACC_DOCUMENT_POST with one header row per invoice and one detail row per G/L line, and publishes it run-only. At month-end the AP clerk runs Validate, which flags two rows with an empty tax code before SAP is touched. Simulate then sends every invoice to SAP as a trial and rolls the BAPI call back; one invoice comes back with an error because its cost center is locked for primary postings. The clerk corrects the cost center, runs Run, and each invoice's document number lands on its header row. The VK11 template follows the next quarter.

