I put the external debugger and debug the code. I found that I am unable to debug further and got the error after this statement :
Method if_ABAP_RUNTIME~get_runtime by kernel module ab_kmgetRuntimeHR.
endmethod.
after excuting the exception in web ui portal.
Regards
Avadh