Hi Bharani,
Basically you can use
either REUSE_ALV_GRID_DISPLAY
or CL_GUI_ALV_GRID.
1. REUSE_ALV_GRID_DISPLAY
is having inbuilt command for BACK / CANCEL and EXIT, you not need to declare these again in you PF-STATUS,
either of this, if you declaring something in not exist or something which is require in your business function, those only you have to declare in PF-STATUS and based on that you have to write the code in USER_COMMAND.
2. CL_GUI_ALV_GRID,
Since it's a class based ALV grid, to display this alv you have to declare a new screen and a container object.
Since, it's on screen level, so you have to write the code on PBO on screen event for back / cancel and exit.
Regards.
Praveer.