‎2007 May 11 3:06 AM
I was trying to practice a smartform listing the sales order details. I am done with steps in smartforms. On activating I got 2 errors
1) %code1 "T_ITAB is not an internal table - the occurs n specification is missing
2)%loop1 "T_ITAB is neither specified under "TABLES" nor defined as an internal table
How would I fix this error.
‎2007 May 11 3:22 AM
Please define the Itab in tables and also use data dictionary structure while refering ur internal table
‎2007 May 11 3:21 AM
You might have declared internal table incorrectly...
Try this for e.g.:
DATA: T_ITAB LIKE MARA OCCURS 0 WITH HEADER LINE
Thanks,
SKJ
‎2007 May 11 6:00 AM
In the global definition i declared like this.
W_ITAB TYPE VBAK
T_ITAB TYPE STANDARD TABLE OF VBAK.
Please explain me with reference to my code.
Thanks
Venkat.
‎2007 May 11 3:22 AM
Please define the Itab in tables and also use data dictionary structure while refering ur internal table
‎2007 May 11 6:17 AM
In the global definition i declared like this.
W_ITAB TYPE VBAK
T_ITAB TYPE STANDARD TABLE OF VBAK.
Please explain where i need to define itab in tables.
Thanks,
Venkat.