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: 

Updating from a field symbol

Former Member
0 Kudos

Hi all

I have a requirement where i have to update my select-option(internal table) from a field symbol. The field symbol is populated with diffrent values each time the perform is called. Now i need to put the value of the field symbol firstly into select-option-low and the second time into select-option-high.

<i>for ex s_range (my select option)

<fs_fld> (the field symbol)</i>

<b>

form f_conversion_exit using p_tabname

p_fname

p_convexit

changing p_value.

field-symbols: <fs_fld> type any table.

assign component p_field of structure <dyn_wa> to <fs_fld>.

call function p_convexit

exporting

input = p_value

importing

output = <fs_fld>.</b>

The values passed into this perform are s_range-low and s_range-high.

How do i pass the value of <fs_fld> into correct field i.e s_range-low and s_range-high of the s_range table????

Kindly Help.

Regards,

Ravish Garg

1 REPLY 1

Former Member
0 Kudos

CONCATENATE 's_range' '-' 'low' TO temp.

ASSIGN temp to <fs>.

and

CONCATENATE 's_range' '-' 'high' TO temp.

ASSIGN temp to <fs>.

you can also put the low and high in a variable char and then use it when you needed.