Skip to Content
0
Former Member
Sep 15, 2014 at 01:00 PM

Personas: Setting selection for a dynamic dropdown list failed, why?

181 Views

Hi Guys,

In my Personas app, I want to make a selection using script by filling a field of a "SAP built-in" dropdown list with a value (VM) that is included in the list. I used IW38. This dropdown list is shown only when first pressing the "Select All" icon on the top of the screen, and normally user would need to make selection by clicking an item in the dropdown list. Here I want to let the script do the selection.

The id of this "dynamic" field is:

ses[0]/wnd[0]/usrUSRAREA/frameB007017_BLOCK_1000/cmbDY_PARVW

The problem is: when I use "Set selection" for the dropdown list in script, it pops out error:

Step of the executed script failed!

Reason: failed to fire action

However, when I made one my own dropdown list control, I was able to make selection of one of the item in the list by scripting.

It looks like somehow there might be some special property of this "SAP built-in" dropdown list that blocks the setting selection.

Does anyone have the same problem and know a solution?

Thanks a lot!

Dong Zhu