05-11-2009 4:37 AM
Hi Frndz
I need your help.
My problem is i have a field symbol like
<fs> type any .
I am using <fs> as dynamic and it can have structure of Table MARA,KNA1,VBAK .
Now problem comes here ..How to write the <fs> individual column.Cos <fs> can be any table.
I know i can write directly : write <fs>. but i have to write individual column,
Please help me.
Subham
05-11-2009 4:47 AM
hi,
use 'assign .. components' ... type this on the editor and you will have more F1 help....
regds,
Madan..
05-11-2009 4:56 AM
Hi,
Try using ,
ASSIGN COMPONENT 'COULMN_NAME' OF STRUCTURE is_structure TO <fs_column> .
Regards,
Ujwal
05-11-2009 5:22 AM
hai subham ,
u can use the following state ment to write the valeus
do .
assign component sy-index of work area to <fs>
if sy-subrc ne 0.
exit.
else.
write <fs>.
endif.
enddo.
this way u can write all teh fields assigned in the work area
hope it resolves ru issue
afzal