Hi Amol,
If i understood you correctly, you are trying to customize the "ErrCat" and "ErrCode". If you are trying to do this in the alert emails raised during the failures in the processing. Please go through the below links for PI single stack.
http://scn.sap.com/thread/3500630
Thanks,
Divya.