I declared in the smartform as below.
gt_itab like zitab. "zitab is a structure and gt_itab is a table i am getting from program.
I have declared the field kbetr in structure as follows
component componenttype datatype refenrencetable reffield
KBETR KWERT CURR KOMK WAERK
In the smartform I am looping at gt_itab into gw_itab and printing the data in the table in main window.
At the time of display smartform is giving error like below.
Reference field gw_itab-kbetr unkown in the form
Please tell how to correct this error.