10-17-2008 9:58 AM
Hi to all
i have one Z Program, its working(linked) based on LDB'S.
in this Z program in debugging mode i am able to see the contents of (SAPDBSDF)BSIS_WHERE, where bsis_where is the internal table declared in program SAPDBSDF.
i need to use this table in Z program.
if i will write directly it wont allow.
i think we can do it by field symbols, i tried but i didnt get.
can any body help me out pls.
regards
raadha
10-17-2008 10:01 AM
you can try like this..
data: v_var(20).
field-symbols: <fs> type standard table.
v_var = '(SAPDBSDF)BSIS_WHERE[]'.
assign (v_var) to <fs>.
now <fs> will have the table what you want. Just check it
10-17-2008 10:04 AM
hi,
copy the contents of the internal table into your program via declaring a work are before changing the values.
data: wa_tab like (SAPDBSDF)BSIS_WHERE.
loop at (SAPDBSDF)BSIS_WHERE into wa_tab.
do your processing here
endloop.
regards,
Peter
10-17-2008 10:07 AM
Hi Radha,
Use the Below syntax.
assign ('(progname)fldname') TO <FS>.
tHANKS,
Chidanand