Every first day of the month, the same scene repeats in the accounting department: the rent entry, the insurance entry, the amortization of prepaid expenses, and the maintenance contract invoice. They are identical transactions, with the same accounts and the same amounts. However, in many companies someone types them out by hand, month after month, as if it were the first time. The recurring postings in SAP Business One they exist precisely to eliminate that repetitive work: the system prepares the entries according to the frequency you define and you just review and confirm.
In this tutorial, you will learn how to configure the three recurrence mechanisms natively included in the system: posting templates, recurring postings, and recurring document transactions. In addition, we will build three SQL queries —in both SQL Server and SAP HANA versions— to monitor that no execution remains pending and to detect which manual journal entries you should automate today.

Why do you need periodic postings in SAP Business One
The cost of repeated manual entry is not just the typing time. The real risk lies in inconsistency: one month the entry description reads «Main office rent», the next it reads «Main off. rent», and the third it is forgotten entirely. As a result, account analysis becomes noisy, closing is delayed waiting for entries that no one remembers, and the audit finds discrepancies that no one can explain.
Therefore, automating recurrence has three direct benefits. First, consistency: each journal entry originates from a template with already validated accounts, amounts, and descriptions. Second, timeliness: the system reminds you of pending executions upon logging in, so that the monthly closing no longer depends on a person's memory. Third, traceability: each template records how many times it was executed and when the last time was.
In this way, the accounting team stops being a data entry clerk for journal entries and becomes an exception reviewer. That is the difference between operating the ERP and managing it.
Prerequisites
- Finance authorizations: your user needs permissions for Financials → Recurring Postings and Posting Templates (Administration → System Initialization → Authorizations).
- Refined chart of accounts: The accounts you use must be active and correctly classified.
- Identified cases: a list of recurring entries and documents with a fixed amount (rents, insurance, subscriptions, contracts).
- Access to Query Manager for control queries (Tools → Queries → Query Manager).
- A supported version of SAP Business One, on SQL Server or SAP HANA. The functionality is standard and does not require additional licenses.
Step-by-step tutorial: the three mechanisms of recurrence
Step 1: Create an accounting template (fixed structure, variable amounts)
Posting templates are useful when the structure of the journal entry remains the same but the amount changes each month. For example, the allocation of energy expenses among departments: 40% production, 35% administration, and 25% sales.
Below is the procedure in the SAP Business One client:
- Go Finance → Posting templates.
- Assign a short code and a clear description (for example, DISTEN – Energy Distribution).
- On the lines, enter the accounting accounts and the percentage of each instead of a fixed amount.
- Save the template. The system stores it in the table
OPST.
Then, when creating a manual journal entry, select the template in the «Template» field of the entry: you enter the total amount for the month and the system automatically distributes it according to the defined percentages.
Step 2: Set up periodic posting (full entry with frequency)
This is the core mechanism of the tutorial. Here you define the complete posting —accounts, fixed amounts, and memo— along with the execution frequency. Consequently, SAP Business One will automatically propose it when appropriate.
- Open Finance → Recurring entries.
- Defines a code (max 8 chars) and a description. Use consistent naming convention: ARR-OF01, SEG-VEH1, AMO-SW01.
- Enter the journal entry lines: debit and credit accounts with their amounts. The entry must balance just like a manual one.
- Select the frequency: daily, weekly, monthly, quarterly, semi-annual, annual, or one-time. In monthly frequency, the additional field defines the day of the month for execution.
- Set the date «Valid until»: if the lease agreement expires in December, the recurrence must die with it.
- Look. The header stays in the table
ORCRand the lines inRCR1.

Step 3: Execute and confirm pending postings
A critical point that many users misunderstand: SAP Business One does not post automatically. When the execution date arrives, the system displays the confirmation list for periodic postings upon logging in. You review them, check the applicable ones, and confirm; only then are the actual journal entries generated in the general ledger.
Furthermore, you can run them manually at any time from the same recurring postings window. Verify that the display option is active in Administration → System Initialization → General Settings → Services tab, where it is controlled whether the system displays periodic postings pending execution.
Step 4: Create recurring document transactions
Recurrence doesn't end with journal entries. If you invoice a service contract every month, or issue the same supply purchase order every week, recurring document transactions do the same job at the marketing document level.
- Go Sales – Customers → Recurring transactions → Templates (the equivalent exists in Purchasing – Vendors).
- Create the template: code, document type (invoice, sales order, purchase order, among others) and the base document with customer, items, and prices. The system saves it as a linked draft.
- Define frequency and start and end dates of validity.
- When applicable to execute, the system will display the recurring transaction confirmation window to generate the actual documents.
Internally, the templates live in the table ORCP, the instances generated in ORCL and the base document in ODRF (Drafts). This architecture will allow us to audit them with SQL in the next section.
Control SQL queries: your watchtower
Setting up the recurrence is half the work. The other half is monitoring it to ensure it runs. Therefore, these three queries will give you complete visibility from the Query Manager.
Recurring postings dashboard
This query lists all recurring postings with their frequency, last and next execution dates, and highlights overdue ones in red. It is the first query you should run at each closing.
SQL Server
-- Recurring postings dashboard
SELECT
T0.RcurCode AS 'Code',
T0.RcurDesc AS 'Description',
CASE T0.Frequency
WHEN 'D' THEN 'Daily' WHEN 'W' THEN 'Weekly'
WHEN 'M' THEN 'Monthly' WHEN 'Q' THEN 'Quarterly'
WHEN 'S' THEN 'Semiannual' WHEN 'A' THEN 'Annual'
WHEN 'O' THEN 'One-time' WHEN 'T' THEN 'Template'
ELSE T0.Frequency END AS 'Frequency',
T0.LastPosted AS 'Last Execution',
T0.NextDeu AS 'Next Execution',
T0.EntryCount AS 'Times Executed',
SUM(T1.Debit) AS 'Debit Amount',
CASE WHEN T0.NextDeu < GETDATE()
THEN 'OVERDUE ' + CAST(DATEDIFF(DAY, T0.NextDeu, GETDATE()) AS VARCHAR(10)) + ' days ago'
ELSE 'Up to date' END AS 'Status'
FROM ORCR T0
INNER JOIN RCR1 T1 ON T0.RcurCode = T1.RcurCode
GROUP BY T0.RcurCode, T0.RcurDesc, T0.Frequency,
T0.LastPosted, T0.NextDeu, T0.EntryCount
ORDER BY T0.NextDeu
SAP HANA
-- Recurring postings control panel
SELECT
T0."RcurCode" AS "Code",
T0."RcurDesc" AS "Description",
CASE T0."Frequency"
WHEN 'D' THEN 'Daily' WHEN 'W' THEN 'Weekly'
WHEN 'M' THEN 'Monthly' WHEN 'Q' THEN 'Quarterly'
WHEN 'S' THEN 'Semi-annually' WHEN 'A' THEN 'Annually'
WHEN 'O' THEN 'One-time' WHEN 'T' THEN 'Template'
ELSE T0."Frequency" END AS "Frequency",
T0."LastPosted" AS "Last Execution",
T0."NextDeu" AS "Next Execution",
T0."EntryCount" AS "Times Executed",
SUM(T1."Debit") AS "Debit Amount",
CASE WHEN T0."NextDeu" < CURRENT_DATE
THEN 'OVERDUE by ' || CAST(DAYS_BETWEEN(T0."NextDeu", CURRENT_DATE) AS VARCHAR(10)) || ' days'
ELSE 'Up to date' END AS "Status"
FROM ORCR T0
INNER JOIN RCR1 T1 ON T0."RcurCode" = T1."RcurCode"
GROUP BY T0."RcurCode", T0."RcurDesc", T0."Frequency",
T0."LastPosted", T0."NextDeu", T0."EntryCount"
ORDER BY T0."NextDeu"
Look at the field NextDeuthat's the name of the next execution in the table (with that spelling, a classic of the SAP B1 schema). If an «OVERDUE» row appears, someone closed the confirmation window without running it.
Query 2: Detect the manual entries you should automate
Before configuring templates, you need to know how much repetitive data entry exists today. Consequently, this query groups the journal entries from the last 12 months by description and counts how many times they repeat: each row with six or more occurrences is a direct candidate for periodic posting.
SQL Server
-- Asientos repetitivos: candidatos a automatizar SELECT T0.Memo AS 'Glosa del asiento', COUNT(DISTINCT T0.TransId) AS 'Veces en 12 meses', MIN(T0.RefDate) AS 'Primera vez', MAX(T0.RefDate) AS 'Última vez', SUM(T1.Debit) / COUNT(DISTINCT T0.TransId) AS 'Importe promedio' FROM OJDT T0 INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId WHERE T0.RefDate >= DATEADD(MONTH, -12, GETDATE()) AND ISNULL(T0.Memo, '') <> '' GROUP BY T0.Memo HAVING COUNT(DISTINCT T0.TransId) >= 6 ORDER BY COUNT(DISTINCT T0.TransId) DESC
SAP HANA
-- Asientos repetitivos: candidatos a automatizar SELECT T0."Memo" AS "Glosa del asiento", COUNT(DISTINCT T0."TransId") AS "Veces en 12 meses", MIN(T0."RefDate") AS "Primera vez", MAX(T0."RefDate") AS "Última vez", SUM(T1."Debit") / COUNT(DISTINCT T0."TransId") AS "Importe promedio" FROM OJDT T0 INNER JOIN JDT1 T1 ON T0."TransId" = T1."TransId" WHERE T0."RefDate" >= ADD_MONTHS(CURRENT_DATE, -12) AND IFNULL(T0."Memo", '') <> '' GROUP BY T0."Memo" HAVING COUNT(DISTINCT T0."TransId") >= 6 ORDER BY COUNT(DISTINCT T0."TransId") DESC
The result is often surprising: companies that swore they had «few manual entries» discover twenty or thirty ledger items that repeat every month. Each one is recoverable time.
Query 3: Audit recurring document templates
Finally, this query shows all active recurring transaction templates, along with their document type, business partner, amount, and validity period. This way, you can detect contracts that are still being billed after expiration, or orphan templates that no one executes.
SQL Server
-- Active recurring document templates
SELECT
T0.Code AS 'Template',
T0.Dscription AS 'Description',
CASE T0.DocObjType
WHEN '13' THEN 'A/R Invoice'
WHEN '17' THEN 'Sales Order'
WHEN '18' THEN 'A/P Invoice'
WHEN '22' THEN 'Purchase Order'
ELSE 'Other (' + CAST(T0.DocObjType AS VARCHAR(12)) + ')' END AS 'Document Type',
T1.CardCode AS 'BP Code',
T1.CardName AS 'Business Partner',
T1.DocTotal AS 'Total Amount',
T0.StartDate AS 'Valid From',
T0.EndDate AS 'Valid Until',
CASE WHEN T0.EndDate < GETDATE() THEN 'Review: Validity expired'
ELSE 'Active' END AS 'Status'
FROM ORCP T0
INNER JOIN ODRF T1 ON T0.DraftEntry = T1.DocEntry
WHERE T0.IsRemoved = 'N'
ORDER BY T0.EndDate
SAP HANA
-- Active recurring document templates
SELECT
T0."Code" AS "Template",
T0."Dscription" AS "Description",
CASE T0."DocObjType"
WHEN '13' THEN 'A/R Invoice'
WHEN '17' THEN 'Sales Order'
WHEN '18' THEN 'A/P Invoice'
WHEN '22' THEN 'Purchase Order'
ELSE 'Other (' || CAST(T0."DocObjType" AS VARCHAR(12)) || ')' END AS "Document Type",
T1."CardCode" AS "BP Code",
T1."CardName" AS "Business Partner",
T1."DocTotal" AS "Total Amount",
T0."StartDate" AS "Valid From",
T0."EndDate" AS "Valid To",
CASE WHEN T0."EndDate" < CURRENT_DATE THEN 'Review: Validity Expired'
ELSE 'Active' END AS "Status"
FROM ORCP T0
INNER JOIN ODRF T1 ON T0."DraftEntry" = T1."DocEntry"
WHERE T0."IsRemoved" = 'N'
ORDER BY T0."EndDate"
Variations and use cases
With the base configured, these variants cover most real-world scenarios:
- Rent distributed by cost center: Combine periodic accounting with distribution rules, or create a periodic one for each center to keep the traceability clean.
- Monthly amortization of insurance and annual licenses: a monthly recurring journal entry against the prepaid expense account, with «Valid until» equal to the end of the policy.
- Service contract billing: monthly recurring sales invoice template per client; Query 3 becomes your active contract control.
- Regular supply purchases: weekly recurring purchase order, which the buyer only confirms and adjusts in quantity.
- Automatic alerts: Save Query 1 in the Query Manager and link it to an SAP Business One alert to notify when there is an overdue recurring entry.

Best practices and common mistakes
Use prefixed code nomenclature. ARR- for rentals, SEG- for insurance, I love for amortizations. With eight characters available, every single one counts.
Check the validity dates every quarter. The most expensive error is not the scheduled query that doesn't run: it is the one that keeps running after the contract has ended. Query 3 exists for that.
Do not confuse the mechanisms. Fixed amount and defined frequency: periodic posting. Fixed structure with variable amount: posting template. Complete documents: recurring transaction. Choosing the wrong mechanism generates rework.
Do not ignore the confirmation window. Closing it without checking is like turning off the alarm without getting up. However, do not blindly confirm either: check amounts against contracts at least once a quarter.
Beware of double-clicking on execution. If you run the same recurring entry twice in the period, you will have the duplicated entry. The field EntryCount and Query 1 helps you detect it.
Do not delete the linked draft. Recurring document templates depend on their draft in ODRF; if someone deletes it, the template becomes unusable.
Official SAP resources
- SAP Help Portal: Recurring Posting
- SAP Help Portal: Creating Posting Templates
- SAP Business One SDK: Database Tables Reference
Conclusion
SAP Business One periodic postings are one of those features that are just there, included in your license, waiting for someone to set them up. However, most companies continue to pay for data entry hours for journal entries that a system can generate on its own. The right question is not whether you have time to configure them: it is how long you have been wasting by not doing so.
Set up your first three recurring entries this week, run Query 2, and measure how many manual entries disappear from your closing. Then, let me know the result.
Want more practical tutorials like this, with ready-to-use queries? Join the Strategic Circle at hectorpincheira.com and access the entire library of exclusive content for SAP professionals.




