HI Experts,
I face an issue while using field symbols, kindly help me out. Here <lts_commercial> and <lfs_commercial> is of both same data type, but still I get the error message that the field "Product_guid" is not an component.
field-symbols:
<lts_commercial> type ANY TABLE,
<lfs_commercial> type any,
CREATE DATA ref_itab type STANDARD TABLE OF (lc_commercial)
WITH NON-UNIQUE DEFAULT KEY.
assign ref_itab->* to <lts_commercial>.
create data ref_ls like line of <lts_commercial>.
assign ref_ls->* to <lfs_commercial>.
ASSIGN <ls_set>-data->* TO <lts_commercial>.
READ TABLE <lts_commercial> into <lfs_commercial> with KEY product_guid = lt_comp_det-object_guid.
ERROR MESSAGE:
The specified type has no structure and therefore no component called
"PRODUCT_GUID". component called "PRODUCT_GUID".