Document Splitting

This content was generated with the assistance of AI and should be verified against the official documentation before being relied on in production.

A company that reports by area, for example one balance sheet per profit center, has a problem the moment an invoice is shared between two areas. The vendor owes one amount for the whole invoice, yet each area wants to see only its own part of the cost and its own part of the debt. Document splitting is the SAP function that solves this: when a document is posted, the system divides selected lines by the chosen dimensions, such as profit center or segment, and where the parts still do not balance it adds clearing lines so that every dimension balances to zero on its own. After reading this page you can explain what the function does, name its building blocks (splitting characteristics, item categories, business transactions, rules and methods), follow a worked vendor invoice from the lines a clerk types to the lines the ledger stores, and know which Customizing activities and which simulation tool to open. It is written against the SAP S/4HANA 2025 FPS02 on-premise documentation. The Customizing paths below are read from that documentation. This page does not describe the Cloud Public Edition settings for document splitting.

Before you read

Key terms

  • Document splitting: the function that divides document lines by selected dimensions at posting time and adds clearing lines where a dimension would not balance.

  • Document splitting characteristic: a dimension, such as profit center or segment, for which documents are split.

  • Item category: a predefined class such as vendor, expense or tax that every account is assigned to, so the rules know what kind of line they see.

  • Business transaction: the kind of business event a document represents for splitting, such as vendor invoice or payment.

  • Document splitting rule: the setting that says, for one business transaction, which item categories are split and from which lines the account assignments are taken.

  • Zero balance clearing: the extra lines the system adds so that each balancing dimension of a document nets to zero.

  • Entry view: the document as it was typed or handed over by the source application, before splitting.

  • General ledger view: the document as one ledger stores it, including split lines and clearing lines.

  • Profit center: an area of the organization whose profit and loss, and possibly balance sheet, is reported on its own.

Why documents are split

SAP describes the purpose in one sentence: with document splitting you automatically split line items for selected dimensions, for example receivable lines by profit center, or bring selected dimensions to a zero balance in the document, and in doing so the system creates additional clearing lines. The dimensions SAP lists are segments, profit centers, business areas, funds, receivables and a customer-defined field. The reason is reporting: with the split in place you can draw up a complete balance sheet, or a partial one, for each of those dimensions at any time, for example a segment balance sheet that follows a legal requirement or a profit center balance sheet that follows areas of responsibility.

Without splitting, a balance sheet account carries no profit center, because the clerk who posts a vendor invoice enters the profit center only on the cost line. The payable would then belong to nobody. Splitting copies the cost line’s account assignment to the payable, so the payable is also reported by profit center.

SAP adds two more uses. At the time of posting, additional costs such as realized or valuated exchange rate differences can be assigned to the Controlling account assignment they relate to, and fixed assets can be capitalized afterwards.

Entry view and general ledger view

A posted document is looked at in two ways. In the entry view it contains the lines as they were originally entered or transferred from the source component. In the general ledger view it contains those lines plus the split lines and any clearing lines that document splitting generated. A general ledger view always belongs to one ledger, and SAP notes that a characteristic such as profit center or segment is shown there only if it belongs to the scenarios assigned to that ledger. Display shows the leading ledger first, and a button chooses another ledger.

To see the general ledger view, display the document and choose General Ledger View, or choose Other Ledger for a ledger that is not the leading one. SAP Easy Access reaches this through Accounting, Financial Accounting, General Ledger, Document, then either Display (entry view) or Display General Ledger View.

The building blocks

Splitting characteristics

A document splitting characteristic is the account assignment object for which splitting happens, for example profit center, segment, business area or a customer field. SAP separates two groups. Characteristics for General Ledger Accounting can be marked relevant for the balance sheet, which is what triggers the zero balance clearing described below, and can be marked as a required entry field, so a posting that lacks the account assignment on any line is rejected. Additional characteristics that matter for other components, Controlling for example, are split in the entry view and are transferred together with the line item to that component. A characteristic can be used only if at least one ledger updates it, and you decide which ones a ledger carries by assigning a scenario to it or by adding a customer field. The activity is named Define Document Splitting Characteristics for General Ledger Accounting, under Financial Accounting, General Ledger Accounting, Business Transactions, Document Splitting.

Item categories

The system cannot guess what an account is for, so every account is assigned an item category, a predefined class. SAP lists the categories and says you cannot add your own. A few that appear on this page:

Category Meaning in the SAP documentation

01000

Balance sheet account

01001

Zero balance posting (free balancing units)

03000

Vendor

04000

Cash account

05100

Tax on sales and purchases

20000

Expense

30000

Revenue

You must assign balance sheet accounts, bank accounts (cash fund), expense accounts and revenue accounts yourself in the activity Classify G/L Accounts for Document Splitting. SAP states that the assignment of all other accounts is predefined in table T8G16, and that an indicator allows you to override it, for example to treat special general ledger accounts of customers or vendors as the detailed categories 02100 or 03100.

Business transactions

Splitting must know what kind of event a document records, because a vendor invoice is split differently from a payment. SAP predefines the business transactions and you cannot create your own. Examples from the list are 0200 customer invoice, 0300 vendor invoice and 1000 payment. Each has a business transaction variant, and the delivered variant 0001 (Standard) contains all item categories available for that transaction. A customer invoice, for instance, cannot contain the vendor category. You link a document type to a business transaction in Classify Document Types for Document Splitting. SAP says that mixing different business processes under one document type is not supported, so each business transaction needs its own document type, and that a document containing several business processes at once, for example a payment and an invoice, cannot be split.

Rules and methods

A document splitting rule is defined for one business transaction and one variant. It lists the item categories to be split and, for each, the basis item categories from which the account assignments are taken. The system works through both lists from bottom to top and stops for an item category as soon as one basis category yields the account assignment. A method is just the collection of the rules that share its key. SAP delivers the standard method 0000000012 (follow-up costs online), which can be used unchanged in most cases, and two methods for US Fund Accounting. The method in use is set in Assign Document Splitting Method under Extended Document Splitting, with the standard method as default. SAP recommends copying a delivered method before changing it and never changing the delivered one.

Active and passive splitting

SAP divides the work in two. Active splitting covers everything done without reference to an earlier document, such as the invoice in the example below, and you control it through Customizing. Passive splitting covers the processes the system performs internally and that Customizing cannot control, such as clearing, reversal and invoices referenced in a payment: the system copies the account assignments already stored on the original lines.

Missing assignments: inheritance and standard account assignment

When active splitting leaves a line without the characteristics, two options, both switched on when you activate document splitting, can fill the gap. Inheritance projects the characteristics of the document onto lines without any, provided the combination in the document is unique, and it also produces a zero balance. A standard account assignment writes a constant you define into lines still lacking one. Both can be deactivated for single item categories in a rule. The activity is Activate Document Splitting.

How the system splits a document

The documented process, in order, is shown below.

flowchart TD A["Posting: document type, accounts, amounts"] --> B["Document type gives the business transaction"] B --> C["Accounts give the item categories; check they are allowed for the transaction"] C --> D["Passive splitting: copy account assignments from preceding documents"] D --> E["Active splitting: apply the document splitting rule"] E --> F["Missing assignments: inheritance or standard account assignment"] F --> G["Zero balance setting: add clearing lines where a dimension does not net to zero"] G --> H["General ledger view stored per ledger"]

After posting, the split lines are available to later processes. SAP names the realized exchange rate difference, which can use the Controlling account assignments on clearing or partial payment, and closing operations such as foreign currency valuation of open items, which can be run for the splitting characteristics.

A worked example: one vendor invoice, two profit centers

Example Trading Co. (company code EX01, leading ledger 0L) receives one supplier invoice of EUR 1,000.00 for services that two departments use. The clerk assigns EUR 600.00 of the cost to profit center EX-RETAIL and EUR 400.00 to profit center EX-WHOLE. Account names, profit center names and the numbers are illustrative values for this site, not delivered content. Tax is left out to keep the arithmetic readable. How the tax line is treated is set in the delivered rule for the vendor invoice and is not described here. The group currency is GBP and, for this example only, one euro is worth 0.85 pound, so every line also carries the amount in GBP. Splitting characteristic: profit center.

What the clerk enters (entry view)

The vendor line, as in the invoice entry, has no profit center. Debit is positive, credit is negative.

Item category Account Profit center EUR (company code currency) GBP (group currency)

20000 expense

Consulting expense

EX-RETAIL

600.00

510.00

20000 expense

Consulting expense

EX-WHOLE

400.00

340.00

03000 vendor

Supplier payable

-1,000.00

-850.00

What the ledger stores (general ledger view, ledger 0L)

For the vendor invoice the payable is split by the cost lines it pays for, so the one payable line becomes two.

Item category Account Profit center EUR GBP

20000 expense

Consulting expense

EX-RETAIL

600.00

510.00

20000 expense

Consulting expense

EX-WHOLE

400.00

340.00

03000 vendor

Supplier payable

EX-RETAIL

-600.00

-510.00

03000 vendor

Supplier payable

EX-WHOLE

-400.00

-340.00

The entry view still shows the single payable of EUR 1,000.00. The split lines exist so that each profit center is complete in the general ledger view.

The figure: T accounts by profit center

The same four lines as T accounts, grouped by profit center, with the debit side and the credit side of each. Within a profit center the debit and the credit are equal, so each profit center balances on its own.

Profit center T account Debit (EUR) Credit (EUR)

EX-RETAIL

Consulting expense

600.00

Supplier payable

600.00

Total

600.00

600.00

EX-WHOLE

Consulting expense

400.00

Supplier payable

400.00

Total

400.00

400.00

The check is one equation per profit center. For a profit center with debits and credits the balance is , and it is zero for both:

The same holds in GBP, and . The document as a whole stays balanced too: . A simple way to read this is that the invoice produced one balanced document for each profit center inside the one posted document.

Source for the mechanism, with an equivalent vendor invoice example split by segment: Document Splitting (SAP Help Portal, on premise). This worked example requires an SAP system to reproduce; not run here.

Paying the invoice (passive splitting)

When Example Trading Co. pays the whole invoice, the payment refers to it. The payment clears the payable and the system splits it passively: the payable lines are reversed per profit center, and the bank line is split in the same proportion. The result in the general ledger view is 600.00 and 400.00 on the payable lines and 600.00 and 400.00 on the bank line, so each profit center again nets to zero. SAP’s own payment example, a payment of 95 with cash discounts for an invoice of 100 split between two segments, shows the bank and discount lines split the same way.

Zero balance clearing lines

The invoice above balanced by itself in each profit center. That is not always so. SAP describes the case in which the dimensions of a document do not net to zero: the system then creates extra clearing lines so that they do. This is switched on by setting the Zero Balance indicator on the characteristic (the characteristic is then relevant for the balance sheet). In the document splitting rule you can name one of the account keys that you created under Define Zero-Balance Clearing Account, and the clearing lines are posted to the account behind that key. If the document lines already carry partner characteristics (the sender and receiver of an assignment), the clearing follows those. If they do not, the system builds two-sided clearing lines with an amount procedure and fills the partner assignment from the matching line.

A constructed illustration of the mechanism, not taken from SAP: suppose the payment of the example invoice reaches the system with the bank line already carrying a third, illustrative profit center, EX-CENTRAL, while the payable lines it clears carry EX-RETAIL (debit 600.00) and EX-WHOLE (debit 400.00).

Line Profit center EUR Item category

Supplier payable

EX-RETAIL

600.00

03000

Supplier payable

EX-WHOLE

400.00

03000

Bank

EX-CENTRAL

-1,000.00

04000

Profit center EX-RETAIL now nets to 600.00, EX-WHOLE to 400.00 and EX-CENTRAL to -1,000.00, so none of the three balances on its own. Two-sided clearing lines, with each amount shown on both sides of the partner pair, bring each to zero:

Clearing line (item category 01001) Profit center Partner EUR Effect

On the zero balance clearing account

EX-RETAIL

EX-CENTRAL

-600.00

EX-RETAIL nets 600.00 - 600.00 = 0

On the zero balance clearing account

EX-CENTRAL

EX-RETAIL

600.00

EX-CENTRAL so far -1,000.00 + 600.00

On the zero balance clearing account

EX-WHOLE

EX-CENTRAL

-400.00

EX-WHOLE nets 400.00 - 400.00 = 0

On the zero balance clearing account

EX-CENTRAL

EX-WHOLE

400.00

EX-CENTRAL now -1,000.00 + 600.00 + 400.00 = 0

The four clearing lines sum to , so the document stays balanced, and each profit center nets to zero. A real system’s lines depend on the rule and the Customizing in force, so confirm them by simulating the document. This illustration requires an SAP system to reproduce; not run here.

Setting it up: the Customizing path

All of these activities are in the Implementation Guide under Financial Accounting, General Ledger Accounting, Business Transactions, Document Splitting (on premise). Read from the SAP documentation:

Activity What you decide

Define Document Splitting Characteristics for General Ledger Accounting

Which dimensions are split, whether each is relevant for the balance sheet (zero balance) and whether it is a required entry field.

Classify G/L Accounts for Document Splitting

The item category of each balance sheet, bank, expense and revenue account.

Classify Document Types for Document Splitting

The business transaction and variant of each document type.

Activate Document Splitting

Inheritance and standard account assignment.

Define Zero-Balance Clearing Account

The account keys for the clearing lines.

Extended Document Splitting: Define Document Splitting Method, Define Document Splitting Rule, Assign Document Splitting Method

Your own rules, copied from the delivered method.

These activities require an SAP system; not run here. The Public Edition equivalents are not described on this page. SAP warns that implementing splitting needs careful analysis of the business processes and often changes to the document types. If splitting is introduced into a productive system that already uses General Ledger Accounting, SAP points to the General Ledger Migration Cockpit with scenario 6, and for later changes to SAP Note 891144.

Testing a split without posting

During document entry you can simulate the general ledger view. In General Posting choose Document, then Simulate General Ledger View, and the screen shows the lines of the leading ledger. With document splitting active, the Expert Mode button opens a screen that shows the Customizing for the business transaction and details of the split document. For a document already posted, report FAGL_SHOW_SPLIT calls the same expert mode. SAP says this is particularly useful when you test the Customizing for document splitting.

Limits and traps

  • Splitting needs each document to belong to one business process. A document that mixes a payment and an invoice cannot be split.

  • Splitting is driven by the document type. Give each business transaction its own document type.

  • A characteristic appears in the general ledger view of a ledger only if that ledger carries it.

  • SAP recommends copying a delivered splitting method and changing the copy, never the delivered method itself.

  • Material written for SAP ERP describes document splitting as a feature of "new General Ledger Accounting" next to the classic general ledger. SAP’s current help pages still use that wording, but the Universal Journal of SAP S/4HANA stores the lines, so read that older material for the concepts and check each setting against the current documentation.

Summary

  • Document splitting divides selected lines of a document by dimensions such as profit center or segment, so that reports and balance sheets can be drawn for each.

  • An account’s item category and a document type’s business transaction decide how a line is treated; a rule and a method collect the settings, and the delivered standard method is usually enough.

  • Active splitting follows Customizing, and passive splitting copies assignments from earlier documents.

  • A vendor invoice of EUR 1,000.00 with cost lines of 600.00 and 400.00 on two profit centers produces two payable lines of the same amounts, so each profit center balances alone.

  • Where a dimension does not net to zero, zero balance clearing lines are added.

  • Simulating the general ledger view, with the expert mode, shows the rule that was applied.