Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Syntax error data declation in method

Former Member
0 Likes
560

Hi,

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
525

Is the structure saved and activated?

Rob

3 REPLIES 3
Read only

Former Member
0 Likes
526

Is the structure saved and activated?

Rob

Read only

0 Likes
525

Yes, both

Read only

0 Likes
525

SORRY !

I had misspelled a name.

Sorry for any inconvenience.