Sorting String

Embed Size (px)

Citation preview

  • 8/6/2019 Sorting String

    1/2

    Sorting string

    The sorting string controls both the processing sequence of the individual item groups defined through thegrouping string and the sequence in which the open items within these groups are cleared.

    A simple example is sorting by due date:

    The sorting string can consist of up to five sorting characteristics. The characteristics required for sorting aredefined in the activity Define grouping and sorting characteristics. By making the appropriate entry in the Sortfield, you can change the sort sequence for each sorting characteristic from ascendingto descending.

    To allow you to model complex sorting requirements, you can also define an alternate ranking in addition tosorting by the current or derived characteristic values in settlement control.

    The additional ranking rules are defined for each sorting characteristic and settlement step by activating aranking rule in the Rank. orderfield.

    Define alternate sorting for sorting characteristics

    To simplify definition of the ranking, there are several control options for activating the ranking in a settlementstep.

    For all the settings described below, the priority is fixed for all the characteristic values defined in the ranking.The differences in sorting are due to the handling of characteristic values that are not defined in the ranking.

    The following settings are possible:

    1: Priority corresponds to ranking, otherwise characteristic value

    For all unlisted characteristic values, the value itself is treated as the priority.

    2: Priority corresponds to ranking, otherwise to priority 000

    Priority 000 is used for all unlisted characteristic values. You can use this setting to display certaincharacteristic values at the end.

    3: Priority corresponds to ranking, otherwise to priority 999

    You can use this setting to sort certain characteristic values at the beginning.

    4: Priority corresponds to ranking, otherwise to priority 500

    Priority 500 is used for all characteristic values that are not listed. This setting is an addition to settings2 and 3. You can use it if certain characteristic values are to be sorted at the beginning, and othercharacteistic values are to be sorted at the end.

    Example

    You want to allocate budget billing payments first within an item group. Otherwise, allocation is to take place inaccordance with the due date, regardless of the transaction.

  • 8/6/2019 Sorting String

    2/2