Sort Key Purpose


Can anyone clarify me on the following issues

1. While posting billing document in TC: VF01 on what base system will trigger GL accounts. I know it is from VKOA but my doubt is how system knows this GL gets posted debit and another GL gets posted credit. Look at an example on the following entry...

At the time of billing for Sales:

Customer A/c Dr

VAT Payable A/c Dr

To Sales

At the time of sales returns

Sales Returns A/c Dr

To Customer

To VAT Payable

2. What is the purpose Sort Key & Definition

Thanks in advance


Helpful Answer