Hello Sandeep,
When you are declaring structure using TYPES statement then in between the structure you cannot use DATA statement since TYPES does not allocate any memory but if you are using DATA then you can basically allocating memory to it.
For Example:
TYPES BEGIN OF t_test.
DATA date TYPE sy-datum.
TYPES END OF t_test.
If you are declaring like above then you will get this error.
See this for reference: http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb2ff3358411d1829f0000e829fbfe/content.htm
Regards,
Rahul