SAP® Documentation

Single view

FAGL_SWITCH_TO_OPEN_ITEM - Activate Open Item Management for Accounts Managed on Line Item Basis

CPI1466 during Backup   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book


You can use this program to activate open item management for G/L accounts with line item management.

You can choose between ordinary open item management and open item management for clearing specific to ledger groups.



The G/L account must use line item management. If you want to opt for open item management specific to ledger groups, it is possible for the account to be already using ordinary open item management.

Since the system has to post documents, you must enter default account assignments on the selection screen (as well as make entries in some required entry fields). We recommend that you create separate master data for this because the postings made here do not correspond to any "real" business transaction.

There are situations in which it is not possible to activate open item management automatically.

  • Ledger-specific postings have already been made manually, and the balance of the account is therefore no longer identical in the different ledgers.
  • Archiving has taken place, and the balances from the totals record table no longer match the total of the line items.
  • Open item management has already been activated for an account and there are line items as well as open items on that account.


The system analyzes the account and generally posts write-offs so that the account has a balance of zero in each currency. If the amount you set in the company code for the permitted currency differences is too low, the program could terminate. If necessary, check your Customizing settings under Enter Global Parameters.

Once the write-offs have been posted successfully, the system makes transfer postings specific to ledger groups to ensure that the balance is zero for each ledger and account assignment.

The system then activates open item management and clears all existing open items. After this clearing, you have the option of having the system repost the amounts that were initially written off.

The log is very detailed, enabling you to find errors or missing Customizing settings quickly.


Standard Variants



Execute the program as a test run first.

Analyze the log.

If the program identifies a situation that cannot be handled automatically (see the examples under "Prerequisites" above), it might be necessary to hire a consultant (for which your company will be charged). In such cases, contact SAP.


You want to activate ordinary open item management.

Initial Situation:

Account balance: 1000 EUR.

The 1000 EUR is distributed across the ledgers using the following account assignments:

  • Ledger 1:
  • 400 EUR, account assignment K1

  • 600 EUR, account assignment K2

  • Ledger 2:
  • 300 EUR, account assignment K3

  • 700 EUR, account assignment K4

System Response:

The system performs the following steps:

  1. -1000 EUR is written off with account assignment X (from the selection screen). This amount is written to each ledger.
  2. A document is posted in ledger 1 with -400 EUR for account assignment K1 and 400 EUR for account assignment X
  3. A document is posted in ledger 1 with -600 EUR for account assignment K2 and 600 EUR for account assignment X
  4. A document is posted in ledger 2 with -300 EUR for account assignment K3 and 300 EUR for account assignment X
  5. A document is posted in ledger 2 with -700 EUR for account assignment K4 and 700 EUR for account assignment X
The balance on the account is now zero for each account assignment.
  1. Open item management is activated.
  2. The 1000 EUR is reposted (as an open item)
  3. Closing checks are performed.

rdisp/max_wprun_time - Maximum work process run time   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 4874 Date: 20170530 Time: 072651     sap01-206 ( 20 ms )

Our Service

Looking for Support? Questions?




Leave us your contact details and we will call you back. Panels marked with * are mandatory.