Hi,
I also use BKPF check in field AWKEY to prevent duplicate postings.
But it still generate double finance document in with same AWKEY in sequence running number(75000000001,75000000002).
This happen since we execute more than 10000 transaction in one loop.
It seems problem came from inside BAPI_ACC_DOCUMENT_POST.
Is there any duplicate check inside the bapi such as exit or enanchement spot, etc.