Hi Kavindra,
we configured it in Configuration Tool on web UI, it's the same as in the Configuration Tab in the BSP workbench when you have the view opened. So we don't need to do any coding, just config. I think your case was different, the Back button sometime does not call the same event handler as EH_ONSAVE, that's why your code was not called by Back button. You need to do some code in the DO_EVENT_HANDLER, or implement the BADI.
Thanks
Jayosn