07-15-2009 8:09 PM
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
07-15-2009 8:21 PM
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
07-16-2009 3:21 AM
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