cancel
Showing results for 
Search instead for 
Did you mean: 

WebDynpro ALV grid with a drop down cell - upper vs lower case

0 Kudos

Hello,

I’m facing an interesting issue in WebDynpro with a drop down functionality in the editable ALV grid. All expected values appear correctly on the drop down list.

There are 4 possible values: 

Key:      Description:

BUN     Bundle

CAS     Case

PAC     Package

PAL      Pallet

User can select a value by clicking on the dropdown key or by pressing a first letter of the key.

Here is the issue:

  Value “Bundle” will appear after pressing lower “b” or upper “B” letters.

  Value “Case” will appear after pressing lower “c” or upper “C” letters.

However, values “Package” and “Pallet” will respond only to the upper case of the letter “P”. Pressing the lower case letter “p” doesn’t have any effect at all.

Is it a normal behavior because there are more than 1 values starting with the same letter or something can be done to make the values “Package” and “Pallet” respond to the lower letter?

SAP Environment:

  • SAP ECC 6.0
  • SAP_BASIS  702
  • SAP_ABA     702
  • Service pack 14

PC Environment:

  • Windows 7
  • MS Explorer ver. 10
  • SAP Logon 703

ABAP Code details:

DATA: lo_ dropdown TYPE REF TO cl_salv_wd_uie_dropdown_by_idx.

. . . .

. . . .. 

   CALL METHOD lo_ dropdown->set_type
   
EXPORTING
     
value = if_salv_wd_c_uie_drdn_by_index=>TYPE_KEY_VALUE.

All ideas are welcome!

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member193460
Contributor
0 Kudos

Hi Alex,

     i have used a number in the key field and the text in the value field as below.

Move 1 TO  lw_filter_list-key.

Move '1-Package' TO lw_filter_list-value.

append lw_filter_list-value TO lt_filter_list-value.

Move 2 TO  lw_filter_list-key.

Move '2-Package' TO lw_filter_list-value.

append lw_filter_list-value TO lt_filter_list-value

by doing this, User can select the required value by pressing the corresponding number '1-Package'.

I know this isnt exactly what you are looking for, but can definitely solve the problem if the list in dropdown is small.

Thanks&Regards,

Tashi

0 Kudos

Hi Tashi, Your idea would definitely work. Prior to posting this question on the forum, I have offered the idea of changing the key values but they were not in favor of re-training all users. Regards