Hello Kishore,
Thanks for clarifying it. You can get TRXCOD and TRXID from TRACKINGHEADER internal table which you would have filled at the time of calling /SAPTRX/BAPI_EH_ADDEVENTMSG_02 and go to table /SAPTRX/EVM_HDR search based on TRXCOD and TRXID.
Make sure to check against /SAPTRX/EH_EVMSG whether EVM_GUID is linked to event handler or not as there may be possible that your EH is locked and EVM_GUID is not linked to your event handler.
Hope this will help.
Thanks,
Kinjal Rathod