Application Development 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: 

Syntax error data declation in method

former_member210563
Participant
0 Kudos

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

Former Member
0 Kudos

Is the structure saved and activated?

Rob

3 REPLIES 3

Former Member
0 Kudos

Is the structure saved and activated?

Rob

0 Kudos

Yes, both

0 Kudos

SORRY !

I had misspelled a name.

Sorry for any inconvenience.