ERPClimb logoERPClimb

FICO · Intermediate · Configuration

How to create a posting period variant and open or close periods (OBBO, OB52)

Define a posting period variant, assign it to a company code and control which periods are open per account type, including special periods for closing and the interval for postings from Controlling.

APPLICABILITY
SAP S/4HANA on-premise and SAP S/4HANA Cloud Private Edition, and SAP ECC, where the Financial Accounting IMG is available. In SAP S/4HANA Cloud Public Edition the same objects are maintained through the central business configuration tools, with different screens. From SAP S/4HANA 1809 the Manage Posting Periods app maintains the same table as OB52.
TOOLS / TRANSACTIONS
SPRO · OBBO · OBBP · OB52

Your project assignment

Finance of a hypothetical company code ZD10 wants subledgers closed at month end while G/L accounts stay open three more working days for reconciliation. Special periods 13 to 16 are for closing postings by a small group of accountants. Build and test this in the development client.

Where to start: URLs and transactions

SAP GUI transactions
OBBO, OBBP, OB52
IMG path
Financial Accounting → Financial Accounting Global Settings → Ledgers → Fiscal Year and Posting Periods → Posting Periods

Prerequisites

  • Customizing authorization for Financial Accounting global settings and a customizing transport request.
  • The fiscal year variant of the company code is defined, including the number of special periods.
  • A closing calendar agreed with finance: which account types close when, and who may post in closing periods.

Configuration workflow

How a posting date is checked against open periods

All steps visible. Play or advance one stage at a time.

How a posting date is checked against open periodsPosting period variant (OBBO): One variant, one or more company codes → Assignment (OBBP): Variant to company code → Account type + (OB52): Checked first, widest range → Account types D, K, A, M, S: Narrower ranges per subledger → Intervals 1, 2 and 3: Special periods, regular periods, CO postings. If it works: Document posts, Period open for + and the line. If it fails: Posting period not open, Check the + entry first1Posting period variant (OBBO)One variant, one or more company codes2Assignment (OBBP)Variant to company code3Account type + (OB52)Checked first, widest range4Account types D, K, A, M, SNarrower ranges per subledger5Intervals 1, 2 and 3Special periods, regular periods, CO postingsWORKSDocument postsPeriod open for + andthe lineFAILSPosting period notopenCheck the + entryfirst
A period must be open for + and for the account type of each line item. ERPClimb original instructional diagram · not a live SAP screenshot.

Hands-on implementation — step by step

Follow the screen navigation, replace example values with approved project values, and mark each step after checking its result. The screens below are original teaching aids, not live SAP screenshots. Progress is local to this visit.

0/7 completed
  1. 1

    OBBO → Define Variants for Open Posting Periods

    Create a new posting period variant with a key and a name that says which company codes use it.

    OBBO → Define Variants for Open Posting PeriodsERPClimb · illustrative screen
    Variant
    ZD10 (hypothetical)
    Name
    Posting periods company code ZD10

    Expected result: The variant is saved.

    Why this matters: The variant principle: define the variant, give it values, then assign it.

  2. 2

    OBBP → Assign Variants to Company Code

    Find the company code in the list, enter the new posting period variant in its line and save in your transport request. Check that no other company code was changed.

    OBBP → Assign Variants to Company CodeERPClimb · illustrative screen
    Company code
    ZD10
    Variant
    ZD10

    Expected result: The company code shows the new variant.

    Why this matters: Without the assignment the company code keeps using its old variant.

  3. 3

    OB52 → entry for account type +

    Create the entry for account type + (valid for all account types) and open the regular periods in interval 2. This range must cover every period that any other account type should have open.

    OB52 → entry for account type +ERPClimb · illustrative screen
    Account type
    +
    Interval 2: from period / year
    10 / 2026 (hypothetical)
    Interval 2: to period / year
    11 / 2026

    Expected result: The + entry is saved with the widest open range.

    Why this matters: The document header is checked against account type + before any line item is checked.

  4. 4

    OB52 → entries per account type

    Add entries for customers (D), suppliers (K), assets (A), materials (M) and G/L accounts (S). Give the subledger types the narrower range and G/L accounts the wider one.

    OB52 → entries per account typeERPClimb · illustrative screen
    Account types D, K
    Period 11 only
    Account type S
    Periods 10 to 11
    Account range
    Blank to ZZZZZZZZZZ

    Expected result: Subledger account types close earlier than G/L accounts.

    Why this matters: Line items are checked against the account type of the posting key.

  5. 5

    OB52 → interval 1 with authorization group

    Open the special periods in interval 1 and enter an authorization group so that only closing accountants can post there.

    OB52 → interval 1 with authorization groupERPClimb · illustrative screen
    Interval 1
    Periods 13 to 16 / 2025
    Authorization group
    ZCLS (hypothetical)
    Authorization object
    F_BKPF_BUP with the same group

    Expected result: Special periods are open only for users with the group.

    Why this matters: Authorization groups work only for interval 1, which is why it is used for special periods.

  6. 6

    OB52 → interval 3 for Controlling

    Decide whether postings from Controlling to Financial Accounting need their own range. Leave interval 3 empty to use intervals 1 and 2, or fill it deliberately.

    OB52 → interval 3 for ControllingERPClimb · illustrative screen
    Interval 3
    Empty (uses intervals 1 and 2)
    CO period lock
    Checked separately in OKP1

    Expected result: The behaviour for CO to FI postings is documented.

    Why this matters: In SAP S/4HANA interval 3 is used for postings from Controlling to Financial Accounting.

  7. 7

    FB50 → test open and closed periods

    Post one G/L document with a date in an open period and try one with a date in a closed period. Repeat a supplier posting in the period that is closed for account type K.

    FB50 → test open and closed periodsERPClimb · illustrative screen
    Open period test
    Posting date in period 11
    Closed period test
    Posting date in period 9
    User
    One with and one without group ZCLS

    Expected result: The open-period document posts; the others stop with posting period not open.

    Why this matters: Testing both sides proves the control, not only the happy path.

Project acceptance checklist

Use this checklist to prepare evidence for your project lead.

0 of 4 checks marked. This does not certify the SAP configuration.

Validate your configuration

  • A test document with a posting date in an open period posts, and one in a closed period is rejected with the message that the posting period is not open.
  • A user without the authorization group cannot post into the range that is open only in interval 1.

Common errors and what to check

  • every posting fails with posting period not open although the subledger range looks open.

    Check: The entry for account type + is missing or narrower than the other entries; it is checked first.

  • closing the periods for one company code closes them for others.

    Check: Several company codes share the same posting period variant.

  • postings from Controlling to Financial Accounting fail in an open period.

    Check: Interval 3 is filled with a different range, or the CO period lock is set.

  • only some users can post in an open period.

    Check: An authorization group is entered for interval 1 and the users lack object F_BKPF_BUP with that group.

More in the SAP Library

Need help with a configuration error? Open ERPClimb Copilot.

Technical references & further reading