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: 

"MARA" has already been declared.

Former Member
0 Kudos

Hi all,

When I want to declare some tables in an include and then, put this include at program side, I get the error like above, the table name is not important...

Even if I have not put Mara elsewhere in code, it says Mara or something else also, has already been declared.

What is happening?

Thanks.

4 REPLIES 4

Former Member
0 Kudos

Hi,

Check whether you have declared MARA table in both include and main program.

i.e, TABLES : MARA.

If it exist in both, then only it gives such error message.

0 Kudos

Hi Hirial,

I have not declared it elsewhere.

However I get this error.

I have searched the code and not found any ' tables 'statement, just one is available and it is in include.

Thanks.

former_member387317
Active Contributor
0 Kudos

Hi Deniz Topark,

1 Check Main program in which u r using the include program...

2 Check each & every include program which u r using in Main program..

Hope it will solve your problem..

Reward points if useful...

Thanks & Regards

ilesh 24x7

former_member202957
Contributor
0 Kudos

Hi Deniz,

IF you have multiple includes in your program once if you delcare the tables in any of the table it will give that error showing table already exits.

Use Ctrl+ F to find is there any tables already delcared or not? If your tyring to put mara it is giving error try to remove mara and see wht is happening any new error is getting or not? if it says no table exits so try to keep give tables name in main program not in include and check.

<b>reward if useful</b>

Regardds,

sunil kairam.