11-26-2007 3:40 PM
Hi,
In smart form I have defined one internal table under form interfaces table option and that is populating in driver program. I have defined by referring the structure like it_itab like zab(structure). In driver program also I have defined the internal table by referring the same structure like
Data: begin of it_itab occurs 0.
Include structure zab.
Data: end of it_itab.
The structure zab contains following fields.
ARKTX ,
NTGEW,
NETWR,
TETXT.
And in smartform I used drag and drop operation for printing all these internal table fields data.
But while running the transaction it is giving the error message as
Reference field IT_ITEM1-NTGEW unknown in form.
Please help me where I did mistake. I will give points.
Thanks a lot in advance.
11-26-2007 3:54 PM
You have somewhere given the reference of the IT_ITEM1-NTGEW to some other field in the GLOBAL data definition.
Chnage it to appropriate dictionay types (refrences) say NTGEW.
Regards,
Naimesh Patel
11-26-2007 3:59 PM
hi thanks for your reply.
but i am not given any thing under global definition. What exactly i need to give under global definition. Please help me.
11-26-2007 4:07 PM
Ok.. I thought you have some variables which in the Global definitiona and you are referring to it with IT_ITEM1.
Now, check :
1. your Table name. Is it IT_ITEM<b>1</b> or IT_ITEM.
2. In the TABLE of the MAIN area, under the tab DATA, you must had defined like
IT_ITEM INTO some workarea(wa_item)
Then you need to use the fields from the work area instead of the table direct.
like
WA_ITEM-NETWR
Regards,
Naimesh Patel