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: 

Reference field unknown in smart form

Former Member
0 Kudos

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.

3 REPLIES 3

naimesh_patel
Active Contributor
0 Kudos

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

0 Kudos

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.

0 Kudos

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