‎2007 Feb 19 11:06 AM
Hello,
I have a field symbol of type any, and at run time i assign some value x to the
field symbol <fs>. however if i want to add one more value to this field symbol
what should i do?
kindly suggest me.
Thanks,
RAshmi.
‎2007 Feb 19 11:09 AM
u can directly add value to FS,
eg. vit_report-twa = vit_report-twa + <fs01>.
LOOP AT vit_zzcgl1t_twa.
CLEAR vit_report.
MOVE-CORRESPONDING vit_zzcgl1t_twa TO vit_report.
vit_report-twa = vit_zzcgl1t_twa-kslvt.
DO p_rpmax1 TIMES.
v_indx = sy-index + 4.
ASSIGN COMPONENT v_indx OF STRUCTURE vit_zzcgl1t_twa TO <fs01>.
vit_report-twa = vit_report-twa + <fs01>.
ENDDO.
COLLECT vit_report.
ENDLOOP.
‎2007 Feb 19 8:40 PM
unassign the field symbol ('UNASSIGN <fs>') and assign it again.
Regards,
Thomas