Hi All,
I have SmartForm(SF) with the following definition:
Note: Z_MATNR is a custom table.
Form Interface
P_PRINT TYPE Z_MATNR
P_PAGE TYPE I
Global Definitions
GWA_PRINT TYPE Y_MATNR
IT_PRINT TYPE TABLE OF Y_MATNR
Global Definitions>Types Tab
TYPES: BEGIN OF Y_MATNR,
MATNR TYPE MATNR,
MAKTX TYPE MAKTX,
END OF Y_MATNR.
I have a secondary window, inside it is a text node and code node.
In my code node, I have the following declared:
READ TABLE IT_PRINT INTO GWA_PRINT INDEX 3.
In my text node, I have
&GWA_PRINT-MATNR&
I'm having an error:
After doing a code check in SF, I have the error:
The field IT_PRINT is unknown, but there is a field with the similar name GWA_PRINT.
What would be the cause? I have them all declared already.
Thanks