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

Error in Smartform

Former Member
0 Likes
657

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
596

Please define the Itab in tables and also use data dictionary structure while refering ur internal table

4 REPLIES 4
Read only

Former Member
0 Likes
596

You might have declared internal table incorrectly...

Try this for e.g.:

DATA: T_ITAB LIKE MARA OCCURS 0 WITH HEADER LINE

Thanks,

SKJ

Read only

0 Likes
596

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.

Read only

Former Member
0 Likes
597

Please define the Itab in tables and also use data dictionary structure while refering ur internal table

Read only

0 Likes
596

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.