Syntax error data declation in method
I have created a structure name zstruct. Further to that I have a table type name ztabtyp.
After having created a method, I declare this in my method:
DATA: wa_mydata type zstruct.
Why does this give a syntax that says that zstruct has not been declared as a local object and if I doubleclick the name I am asked to create it ??