Introduction

During my experience as a Web Dynpro for ABAP developer, I often had  the doubt if it was better to use the UI element DropDownByKey or its brother DropDownByIndex.

In these last days, I realized that I always prefer and use the DropDownByKey, it doesn’t matter if the list is inside a table, an ALV table or a simple element in a view.

Clearly the index approach is also working well but I feel it as a more complex task that requires spending more time, and I’m wondering to know about your experience.

As a reference, I’m sharing below the step-by-step guide to build a DDL even without necessarily entering the fixed values ​​associated to a domain of the field.

(more…)