Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

field-symbol

Former Member
0 Kudos

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

3 REPLIES 3

former_member188685
Active Contributor
0 Kudos

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

peter_ruiz2
Active Contributor
0 Kudos

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

former_member598013
Active Contributor
0 Kudos

Hi Radha,

Use the Below syntax.


   assign ('(progname)fldname') TO <FS>.

tHANKS,

Chidanand