Ansicht
Dokumentation

SAPF124 - Automatic Clearing

SAPF124 - Automatic Clearing

Addresses (Business Address Services)   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Description

This program clears open items from customer, vendor and G/L accounts (in particular, GR/IR clearing accounts) automatically.

It selects all accounts specified in the value sets that have debit and credit postings.

The following items are not cleared:

  • Noted items
  • Statistical postings and special G/L transactions of the type bill of exchange
  • Items with withholding tax postings
  • Down payments can only be cleared if down payment clearing for the same amount has been posted

The remaining open items are grouped according to fixed system criteria:

  • Company code
  • Account type
  • Account number
  • Reconciliation account number
  • Currency key
  • BSID-WAERS for customers

  • BSIK-WAERS for vendors

  • BSIS-PSWSL for G/L accounts

  • Special G/L indicator

The program also groups items according to a maximum of five user criteria. Note that the trading partner number and the business area are no longer fixed system criteria (in comparison to the former clearing programs SAPF123 and SAPF123W). Therefore, if you want to group by business area or trading partner number, you have to enter these as user criteria.

Clearing takes place when, for the group of line items selected according to the above criteria, the balance in document currency (for customers and vendors) or in update currency (for G/L accounts) is zero. The date for clearing is the clearing date according to your selection specifications. In an update run, if the clearing transaction is successful, the clearing document number is specified.

During the program run, all accounts in which clearing can be performed are blocked. They are then unblocked again after the clearing transaction. Accounts that are blocked by other transactions or that are intended for the automatic payment run are not considered in automatic clearing.

GR/IR Accounts

For GR/IR accounts, the program tries to create a group of documents that can be cleared from a group of documents that cannot be cleared by successively omitting documents.

If, despite this action, the assignment of goods receipts to the corresponding invoice receipts using the purchase order number and purchase order item is insufficient (for example, for delivery schedules), you can set the indicator Special Processing of GR/IR Accounts. This indicator has the effect that documents are assigned to GR/IR accounts not only by means of the purchase order number and the purchase order item, but also using the material document if a goods receipt-related invoice verification is defined in the purchase order item. The program automatically uses the fields EBELN, EBELP, and the reference field XREF3 as grouping criteria. In this case, the reference field is only used to display the material document, which means that this field is not changed in the database.

Requirements

  1. The user criteria must be defined in the system setting for Accounting.
(Maintain User Criteria)
  1. Select the account types for which clearing is to be performed. You can restrict the number of accounts the system selects by entering account numbers.
  2. If tolerances are to be considered during clearing, you must have defined these in Customizing and, if necessary, also the assignment of tolerance groups to the accounts.
  3. If you want to define a clearing currency or consider expiring currencies, start transaction F13E.

Output

If, in the output control, you have selected that documents that can be cleared or documents that cannot be cleared are to be output, you receive a detailed list. If you have not set either of the indicators, the program outputs a short list.

The detail list is a list of the line items and gives information about the open or cleared (or clearable) line items selected. Group of items that comply with the system criteria and the user criteria are summarized optically. If the clearing conditions have been fulfilled, the clearing date and, in an update run, also the clearing document number are displayed if the clearing transaction was successful. If an error occurred during clearing, the message No clearing appears.

The short list of the open and cleared items provides a summary of the results of the program run. The number of open items selected per account are displayed, the number of those that can be cleared, and the items actually cleared are displayed.

From the error log, you can see which errors occurred during clearing of a group (of documents that can be cleared according to the system criteria and user criteria). Depending on the error message, you should then try to clear the group concerned manually.

If necessary, the system also issues an additional log that states that no customer, vendor, or G/L account documents could be read from the database as a result of the selection criteria. A log entry also occurs in the following cases:

  • Items with withholding tax postings
  • If accounts are blocked
  • If company codes are blocked by the payment program





TXBHW - Original Tax Base Amount in Local Currency   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 6081 Date: 20240531 Time: 091559     sap01-206 ( 114 ms )