Skip to Content

GUIBB Form: Display value next to key input field

Hi there,

I would like to display the value of an input field with fixed values next to the input field. If I select a value from the F4 it currently displays the key.

It seems like such a trivial thing but I didn't find the right option so far. Is it possible by configuration or do I really have to create a text view field besides the input field and read the domain text myself?

I'm creating the input field like this in IF_FPM_GUIBB_FORM~GET_DEFINITION

label_text = 'Shape'(003)
fixed_values = VALUE #( ( value = 'CIR' text = 'Circle' )
( value = 'SQU' text = 'Square' )
( value = 'DIA' text = 'Diamond' )
visibility = cl_wd_uielement=>e_visible-visible ) TO et_field_description.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jul 27, 2017 at 12:54 PM

    Hi Marcus,

    if you are on UI_750 or greater you could go for an input tokenizer. This new display type (instead of INPUT_FIELD) should meet your requirement...



    Add comment
    10|10000 characters needed characters exceeded

    • Thanks for your input Fabian - the tokenizer came with a whole set of it's own problems (e.g. F4 doesn't work) so for now I'm giving up and go old school freestyle component. Thanks anyway!