Hello Kamli,
Can you please elaborate on your requirement of BADI in ES31 transaction? I shall try finding you one.
I trust the user exits available within the enhancement EMDI0001 ( check in transaction SMOD ) should help with most of your requirements with ES31.
Thanks.
Regards,
Mohammed.