Is there anyone who knows how to implement CL_TABLECONTROL class.
Normally this is not done on such a low-level. Just create a dynpro, open this with (graphical) screen painter and use the table control wizard.
You will get a table control and the basic functions (like scrolling) are already implemented.
You would be wasting a great deal of your development IF you did not follow Christian advice.
SAP has done all of the "hard work" for us with the table control. Simply drag-andd-rop it onto a screen and start adding your custom logic.