Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

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:


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

Former Member

Strange... using the Enter Value script command with the actual key (for instance BU) works fine for me... just tried it in the same transaction, with the same field:

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question