ERPClimb logoERPClimb

FICO · Intermediate · Configuration

How to create a field status variant and group in SAP FI (OBC4, OBC5)

Copy a field status variant, adapt a field status group so that selected line item fields are required or hidden, assign the variant to a company code and the group to a G/L account, and test document entry.

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.
TOOLS / TRANSACTIONS
SPRO · OBC4 · OBC5 · FS00 · OB41 · FB50

Your project assignment

Controllers in a hypothetical company code ZD10 find expense postings without cost centre and without item text. They ask that both fields become required for cost accounts, without changing other company codes. Build this with a copied variant and a copied group and test it.

Where to start: URLs and transactions

SAP GUI transactions
OBC4, OBC5, FS00, OB41, FB50
IMG path
Financial Accounting → Financial Accounting Global Settings → Ledgers → Fields → Define Field Status Variants; Assign Company Code to Field Status Variants

Prerequisites

  • Customizing authorization for document control and a customizing transport request; authorization to change G/L accounts in the development client.
  • A list from accounting of which fields must be required, optional or hidden for which kind of account.
  • Knowledge of which variant the company code uses today and which other company codes share it.

Configuration workflow

Where the field status of a line item comes from

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

Where the field status of a line item comes fromField status variant (OBC4): Copy of the current variant → Field status group: Text and cost centre required → Company code (OBC5): Uses the variant → G/L account (FS00): Carries the group → Posting key (OB41): Combined with the group. If it works: Required fields enforced, Other accounts unchanged. If it fails: Rules set incorrectly for a field, Hide and required collide1Field status variant (OBC4)Copy of the current variant2Field status groupText and cost centre required3Company code (OBC5)Uses the variant4G/L account (FS00)Carries the group5Posting key (OB41)Combined with the groupWORKSRequired fieldsenforcedOther accountsunchangedFAILSRules setincorrectly for afieldHide and requiredcollide
For subledger lines the group of the reconciliation account applies. 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

    OBC4 → copy the field status variant

    Select the variant the company code uses today and copy it with all dependent entries to a new key. Do not change the original.

    OBC4 → copy the field status variantERPClimb · illustrative screen
    Source variant
    0010 (hypothetical current variant)
    New variant
    ZD10 (hypothetical)
    Copy
    All dependent field status groups

    Expected result: The new variant contains the same groups as the source.

    Why this matters: Copying keeps every existing group key, so accounts stay valid after the switch.

  2. 2

    OBC4 → Field status groups: copy a group

    Inside the new variant copy the group used for cost accounts to a new key and name it clearly.

    OBC4 → Field status groups: copy a groupERPClimb · illustrative screen
    Variant
    ZD10
    Source group
    G004 (Cost accounts)
    New group
    ZG04 (hypothetical)

    Expected result: The new group exists in the new variant.

    Why this matters: SAP recommends copying standard groups and changing the copies.

  3. 3

    OBC4 → Edit field status

    Open the new group. In General data set Text to required entry. In Additional account assignments set Cost center to required entry. Leave other fields unchanged.

    OBC4 → Edit field statusERPClimb · illustrative screen
    General data: Text
    Required entry
    Additional account assignments: Cost center
    Required entry
    Other fields
    Unchanged

    Expected result: The two fields show as required in the group.

    Why this matters: The group controls which line item fields are required, optional or hidden for an account.

  4. 4

    OBC5 → Assign Company Code to Field Status Variants

    Find the company code in the list, replace its field status variant with the new one and save in your transport request. Leave the other company codes on the old variant.

    OBC5 → Assign Company Code to Field Status VariantsERPClimb · illustrative screen
    Company code
    ZD10
    Field status variant
    ZD10

    Expected result: The company code uses the new variant.

    Why this matters: A company code cannot post until a complete field status variant is assigned.

  5. 5

    FS00 → Create/bank/interest tab

    Open the expense account in the company code and replace the field status group with the new group.

    FS00 → Create/bank/interest tabERPClimb · illustrative screen
    G/L account
    6100000000 (hypothetical)
    Company code
    ZD10
    Field status group
    ZG04

    Expected result: The account carries the new group.

    Why this matters: The group takes effect through the G/L account master record.

  6. 6

    OB41 → check the posting keys

    Display posting keys 40 and 50 and check their field status for the same fields. Make sure neither key hides a field that the group now requires.

    OB41 → check the posting keysERPClimb · illustrative screen
    Posting key 40 / 50
    Text and Cost center not suppressed
    Rule
    Hide and required cannot be combined

    Expected result: No conflict exists between posting key and group.

    Why this matters: The field status of the posting key and of the account are combined for each line.

  7. 7

    FB50 → test document entry

    Post to the expense account once without text and cost centre and once with both. Then post to an account that still uses the old group.

    FB50 → test document entryERPClimb · illustrative screen
    Test 1
    No text, no cost centre
    Test 2
    Text and cost centre entered
    Test 3
    Account with unchanged group

    Expected result: Test 1 stops with required-entry messages; tests 2 and 3 post.

    Why this matters: The three tests prove the new rule and that other accounts are not affected.

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

  • Posting to the test account stops until the required fields (text and cost centre) are filled.
  • OBC5 shows the new variant for the company code and FS00 shows the new group on the account.

Common errors and what to check

  • posting stops with a message that the rules for the posting key and the account are set incorrectly for a field.

    Check: One side hides the field and the other requires it; the two cannot be combined.

  • a field stays optional although the group requires it.

    Check: The line is posted to a subledger account, where the field status group of the reconciliation account applies.

  • after assigning the new variant, accounts cannot be posted.

    Check: The accounts still carry groups that do not exist in the new variant.

  • the change affects more company codes than planned.

    Check: The existing shared variant was changed instead of a copy.

More in the SAP Library

Need help with a configuration error? Open ERPClimb Copilot.

Technical references & further reading