The various steps involved in setting up clearing variants are as follows:
1. Define the grouping and sorting features.
SAP provides a set of standard fields that can be used for grouping and sorting the
open items. These fields are from the FKKOP structure. Standard function
module FSC_SAMPLE_TFK116 can also be used to create a custom function module
based on requirements for the grouping fields, as shown in Figure 5.99.
Figure 5.99: Grouping and Sorting Fields
2. Define a clearing variant and the clearing steps.
A clearing variant is created that is specific to the processes through which the
clearing process is executed, such as account maintenance, invoicing, and incoming
payments, as shown in Figure 5.100.
Figure 5.100: Clearing Variants
Clearing steps are created next for the clearing variants created. Clearing steps use the
grouping and sorting fields defined for grouping the items and sorting them, as shown
in Figure 5.101.