Hi all,
i have got a sample for Field-symbol.
i am using this program to fill my field symbol but i am getting dump.
i m providing you with my code as well as my dump.
<code>
Data: lv_tab type char40,
lv_tabix type sy-tabix,
i type i.
Field-symbols: <fs_intb> type standard table,
<fs_wa> type any.
Field-symbols: <fs_temp> type any.
lv_tab = '(SAPMZF112)IT_IP_PAX_INFO[]'.
Assign (lv_tab) to <fs_intb>.
*Assign (lv_tab) to <fs_intb> casting type any.
*Assign (lv_tab) to <fs_intb> casting type c.
lv_tab = 10.
Assign (lv_tab) to <fs_intb>. " casting type (lv_tab).
loop at <fs_intb> ASSIGNING <fs_wa>.
i = i + 1.
write i.
if i = 5.
exit.
endif.
endloop.
</code>
Dump : Field symbol has not yet been assigned.
I am getting dump at
<code>
>>>>> loop at <fs_intb> ASSIGNING <fs_wa>.
79 i = i + 1.
80 write i.
81 if i = 5.
82 exit.
83 endif.
</code>
Frnds please suggest what can be done to rectify.
regards,
kamal