Supported by
Supported by Inetum

No one cares for LISTBOX

images/thumbnail.jpg - Thumbnail

For some strange reason, LISTBOX is rarely used in report selection screens. Even though it’s widely used throughout the web. Who knows why.

Dear reader, I suggest you pay attention to its advantages:

  • Whenever the value list is not too long, using LISTBOX avoids having to use F4 look up because its values are already available on the screen

    • Besides its code, the selected option description is also shown, resulting in increased readability

It’s so simple:

TABLES: kna1.
PARAMETERS: p_land1 LIKE kna1-land1 AS LISTBOX
                    VISIBLE LENGTH 25 DEFAULT 'PT' OBLIGATORY.

It then looks like this:

And you, did you use it already?

Greetings from Abapinho.