‎2008 Feb 04 9:58 AM
Dear Abap experts,
When I click on the select option dropdown it opens a drop down box containing a correct list of data followed by a half deformed drop down box which appear only in a flick second on the upper left side of the screen. The program works well but with this thing it looks very odd. Below is the sample program which I'm currently testing.
tables kna1.
data:
begin of t_values occurs 2,
value like kna1-begru,
end of t_values,
t_return like ddshretval occurs 0 with header line.
select-options s_begru for kna1-begru.
at selection-screen on value-request for s_begru-low.
refresh t_values.
t_values = 'PAR*'.
append t_values.
t_values = 'UGG'.
append t_values.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'BEGRU'
value_org = 'S'
tables
value_tab = t_values
return_tab = t_return
exceptions
parameter_error = 1
no_values_found = 2
others = 3.
if sy-subrc = 0.
read table t_return index 1.
s_begru-low = t_return-fieldval.
endif.
Thanks
Regards
Adis
‎2008 Feb 04 10:02 AM
initialization.
refresh t_values.
t_values = 'PAR*'.
append t_values.
t_values = 'UGG'.
append t_values.
at selection-screen on value-request for s_begru-low.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'BEGRU'
value_org = 'S'
tables
value_tab = t_values
return_tab = t_return
exceptions
parameter_error = 1
no_values_found = 2
others = 3.
if sy-subrc = 0.
read table t_return index 1.
s_begru-low = t_return-fieldval.
endif.
try with this
‎2008 Feb 05 6:09 AM
Hi
Is it because the drop down list triggered at least twice during actions on selection screens linked into another selection screen as a subscreen? Or maybe the cause is due to the target cursor?
I managed to capture the screen shot of the problem and if you need to see it I'll send it to you.
Thanks
Adis
‎2008 Feb 06 7:58 AM
Hi,
I discovered this problem occurred when using ECC 6.0 but ver 4.6C is working well.
Thanks
Regards
Adis
‎2008 Feb 13 2:27 AM
Dear all,
Do anyone of you ever encounter this problem in ECC 6.0?
Thanks
Regards
Adis