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: 

drop down

Former Member
0 Kudos

Hye techies,

I am using 2 dropdowns and 2 radio buttons

PARAMETERS: p_ducir(10) AS LISTBOX VISIBLE LENGTH 40.

PARAMETERS: p_actcir(10) AS LISTBOX VISIBLE LENGTH 40.

PARAMETERS: simulate RADIOBUTTON GROUP grp1,

update RADIOBUTTON GROUP grp1,

I am filling the values of drop down in the event AT SELECTION-SCREEN OUTPUT.

The drop downs are filled by executing a query, as the values are dynamic.

The challenge is when i select the update radio button after selecting the both the drop downs and execute

the current value(selected-p_ducir) is deleted from the database which means that it should not appear in the when i click on back.

When i am click on back, the 'key' value of p_ducir is retained in the drop down with no description. But the row corresponding to that key is not fetched when filling it in drop down. As it was previously used it is held up.

Please help.

Regards

Imran

2 REPLIES 2

guilherme_frisoni
Contributor
0 Kudos

Hi,

you can use AT SELECTION-SCREEN OUTPUT EVENT.

as you might already been using it, I suggest compare sy-ucomm.


AT SELECTION-SCREEN OUTPUT.
  IF sy-ucomm IS INITIAL.
    CLEAR parameter.
  ENDIF.

Regards,

Frisoni

Former Member
0 Kudos

Hi,

At the event back, clear the interal table in which the values are held and run the select query again.

Also clear the key and the info fields of the vrm type table.

Regards,

Dhasarathy K