Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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 ??

Former Member replied

Is the structure saved and activated?


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question