Hi
,Please check your local datatype declaration, you might not have included the field in your declaration you want to use in your prgram.
Ex :
REPORT ZRWST_SCN.
Tables : sflight.
TYPES : BEGIN OF ty_flight,
test1 TYPE sflight-carrid,
test2 TYPE sflight-connid,
END OF ty_flight.
Data : it_tab TYPE TABLE OF ty_flight,
wa_fli TYPE ty_flight.
wa_fli-test3 = 100.
Will give you the errror.
Include test3 in your declaration of ty_flight as:
TYPES : BEGIN OF ty_flight,
test1 TYPE sflight-carrid,
test2 TYPE sflight-connid,
test3 TYPE sflight-currency,
END OF ty_flight.
Regards