Hi Harish

What are you trying to do in the declaration section? You want to declare rec_tab as a type of RecTabTyp?

If so try:

rec_tab RecTabTyp%TYPE;