What is the posting key, and what does it control? 

Posting Keys:  Posting key in SAP is a two digits numerical key that determines the type of transaction entered in line items

Posting Keys Determines:-

  1. Account Types ( A, D, K, M, S ) 
  2. Type of postings i.e. Debit or Credit
  3. Field status of the transaction.