on 02-12-2009 4:39 PM
hey all,
i am getting error message : The statement TABLE is not expected A correct similar statement is TABLES under global definition..you have any idea..what could be the error....it is directing me to form routine tab when i click this error message...it doesnt say me under which line no error is.
Edited by: Deepan Gunalan on Feb 12, 2009 5:40 PM
Hey Guys,
It is so weird the fact..we transported this code from one envirnment to another editor..
for some editor moved ..one line comment to second line..unfortunately in second line Table was the comment which was uncommented...but took hours to hours to identify..what after hours of hours...i moved the code to abap workbench editor..but there it was very easy to find..lt gave me which line no error..so it is resolved...thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deepan,
You have declared your table right.
You have to declare it as tables.
You can do that in global definitions -> initialization if you have declared it in your form or else check the same in your program.
Hope it helps!
Much Regards,
Amuktha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Check the Form routines -
and Global definitions -
if you have declared it correctly there
try checking in the Initialization tab if you have written and source code there. If you have written any thing there you need to mention in the input and output parameters also.
regards
sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi deepan,
In the global definitions --> check global data define the variable name
and type assignment check whether you have declared as type tables of decalre it as type table of .
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Search in FORM ROUTINES/TYPES tab for any Data Declaration.
This is simple ABAP error, where a Table is Declared with TABLE instead of TABLES...
e,g, -
TABLES: T001W, MARA.
P.S. -
Please close your open threads -
Total Questions: 50 (42 unresolved)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.