Hi Sarika,
There is a binary search in the read statement with the keys Compcode, Ac_doc_no, but the table is not sorted on all the fields. It is only sorted on Compcode. This can cause problems.
To use binary search, please ensure that all the fields that are being used in the read condition must be sorted. So the sort statement would become
SORT IT_FIGL_O02 BY COMP_CODE, AC_DOC_NO, FISCPER ....
Regards,
Suhas