I have fetched some data from BSIS to the internal table. Internal table has fields HKONT, ZUONR, BELNR, BUZEI, BLDAT, SHKZG, DMBTR, PRCTR. Only one GL will be selected at a time in internal table. Here I have to sort internal table in ascending order by PRCTR, ZUONR and BLDAT. Now I have to clear documents whose debit credit entries are of the same amount. Please can you let me know with sample code, how I should pick up documents for clearing from internal table. I have done till sorting.