SAP Knowledge Base Article - Public

3835393 - Functional area derived to YB99 on supplier invoice price difference posting in SAP S/4HANA Cloud Public Edition

Symptom

When posting a supplier invoice that generates a price difference (for example, when the invoiced unit price differs from the purchase order price during Logistics Invoice Verification), the Functional Area on the price difference posting line is automatically set to YB99 (Dummy Functional Area) instead of the expected functional area value.

  • The price difference line in the posted FI document shows Functional Area YB99 (Dummy Functional Area).
  • The YB99 value appears regardless of the business unit, plant, or purchasing organisation involved.
  • Segment reporting and functional area-based reporting reflect the price variance amount under the dummy segment rather than the expected functional area.
  • No error message is displayed during posting; the invoice posts successfully but with the incorrect functional area assignment.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Log in to SAP S/4HANA Cloud Public Edition.
  2. Open the Create Supplier Invoice app.
  3. Enter a purchase order reference for a stock-valuated material.
  4. Enter an invoiced unit price that differs from the purchase order price (for example, invoice price is higher than the PO price).
  5. Simulate or post the invoice.
  6. Open the posted FI document and navigate to the price difference posting line (the line posted to the Price Purchase Variance G/L account).
  7. Observe that the Functional Area field on that line displays YB99.

Cause

Price difference postings during Logistics Invoice Verification are routed to a Price Purchase Variance G/L account. The system derives the Functional Area for such posting lines using the following three-step sequence:

  1. Derive from the CO object (cost center or internal order) assigned to the posting line.
  2. Derive from the Functional Area field maintained in the G/L account master data of the Price Purchase Variance account.
  3. If neither source provides a value, apply the SAP default substitution rule "/0SAP/DEFAULT_FUNCTIONAL_AREA" and stamp YB99. 

For stock-valuated material invoice postings, no CO object is assigned to the price difference line by design — this is standard system behaviour. Step 1 therefore always yields no value. If the Price Purchase Variance G/L account also has no Functional Area maintained in its master data (step 2 yields no value), the system falls through to step 3 and stamps YB99 on every price variance posting. This is confirmed standard system behaviour and is not a product defect.

Note: The YB99 assignment is intentional — it ensures document splitting remains balanced when no Functional Area can be derived from a CO object or account master. The resolution below provides the correct configuration to supply a meaningful Functional Area value instead.

Resolution

Required access: A user with authorisation to maintain G/L account master data in Manage G/L Account Master Data (App ID: `F0731A`) or to create substitution rules in Manage Substitutions (FI) is required to apply the steps below.

Two options are available. Select the option that best matches the business requirement:

  • Assign a fixed functional area on the price variance G/L account (recommended when all price differences belong to the same functional reporting area)
    1. Open app Manage G/L Account Master Data (App ID: F0731A).
    2. Search for and open the Price Purchase Variance account (for example, account 7300000500).
    3. Click Edit.
    4. On the General tab, locate the Functional Area field.
    5. Enter the correct Functional Area value for price variance postings.
    6. Save the changes.
    7. Result: All future price difference postings will derive the Functional Area from the account master data (step 2 of the derivation sequence). The system will no longer fall through to the default substitution rule and `YB99` will no longer be stamped on price variance lines.
  • Use a substitution rule for dynamic functional area derivation (recommended when different price differences should carry different functional areas)
    1. Open app Manage Substitutions (FI) in SAP S/4HANA Cloud Public Edition.
    2. Create a new substitution rule targeting the posting key and G/L account combination used in price variance postings (for example, G/L account 7300000500).
    3. Configure the substitution step to derive and substitute the correct Functional Area based on the applicable business logic (for example, by plant, purchasing organisation, or profit centre).
    4. Activate the substitution rule.
    5. Retest by posting a new supplier invoice with a price difference and verify that the price variance posting line carries the expected Functional Area value.
    6. Result: The substitution rule intercepts the posting before the default `/0SAP/DEFAULT_FUNCTIONAL_AREA` rule applies and populates the Functional Area field dynamically according to the defined logic.

Standard system behaviour: Previously posted documents with YB99 are not retroactively corrected by either option above. Only postings made after the configuration change will reflect the correct Functional Area.

See Also

KBA 3023321 - Why default functional area YB99 is used in posting

Keywords

YB99, dummy functional area, functional area, price difference, invoice price variance, price variance, price purchase variance, Logistics Invoice Verification, LIV, MIRO, supplier invoice, Create Supplier Invoice, /0SAP/DEFAULT_FUNCTIONAL_AREA, substitution rule, G/L account master data, Functional Area field, Manage G/L Account Master Data, F0731A, Manage Substitutions, 7300000500, price variance account, CO object, cost center, stock-valuated material, account master, fixed functional area, dynamic functional area derivation, segment reporting, profit segment, segment, functional area derivation, MM-FIO-IV-2CL, SAP S/4HANA Cloud Public Edition, 2CL, Sourcing and Procurement, Invoice Management , KBA , MM-FIO-IV-2CL , Fiori UI for Invoice Verification (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions