Skip to Content
0
Former Member
Apr 09, 2008 at 07:39 AM

Field symbols

14 Views

Hi gentlemen,

I have fieldsymbols ,<dyn_table> and <dyn_wa> are declared in the following way ,

FIELD-SYMBOLS: <dyn_table> type standard table ,

<dyn_wa>.

Now at runtime ,field symbol <dyn_table> is gettin populated with some 10 records

Now i want to bring the data from the field symbol to internal table itab which has the same structure .How to go about this issue ?????

im gettin error when i use the following code .

loop at <dyn_table> into <dyn_wa> .

it_data-mandt = <dyn_wa>-mandt .

it_data-wl_no = <dyn_wa>-wl_no .

it_data-wc_no = <dyn_wa>-wc_no .

it_data-EFF_FROM_DT = <dyn_wa>-eff_from_dt .

it_data-EFF_TO_DT = <dyn_wa>-eff_to_dt .

it_data-CNTRY_CD = <dyn_wa>-cntry_cd .

it_data-PRI_GEO_LOC = <dyn_wa>-pri_geo_loc .

it_data-REG_ID = <dyn_wa>-reg_id .

append it_data to it_data .

endloop .

Many Thanks,

Hemanth .