cancel
Showing results for 
Search instead for 
Did you mean: 

Accesing content of select-options

Former Member
0 Kudos

Hi,

I need to access to the content of a field from a select-options in order to check if there is any value on it.

My idea is to have two fields in the select options, one of them, is disable at the beggining. If the user fills the first field, so the second field is enabled.

How can access to the content of field on the screen that belongs to a select options?

Thanks in advance!

Accepted Solutions (1)

Accepted Solutions (1)

S-H
Active Participant
0 Kudos

Hi Jorge,

you can use the method get_range_table_of_sel_field to get the value of select options.

Sample code:

  • Retrieve the data from the select option

rt_carrid = wd_this->m_handler->get_range_table_of_sel_field(

i_id = 'S_CARR_ID' ).

  • Assign it to a field symbol

assign rt_carrid->* to <fs_carrid>.

Also find the detail info at:

<a href="/people/rich.heilman2/blog/2005/12/20/using-select-options-in-a-web-dynproabap-application:///people/rich.heilman2/blog/2005/12/20/using-select-options-in-a-web-dynproabap-application

Best regards,

Suresh

Answers (0)