Hi Harsh,
Do a syntax check there ctrl+f2.
This error generally comes when, suppose in Template/table You are writing
Row 3 column 3,but You have designed 3 row & 2 column .
Check this type of similar case for wrong row or column assignment.
Check sy-subrc ,It will be probably 1 or 13.
Thanks
Gourav.