cancel
Showing results for 
Search instead for 
Did you mean: 

GUIBB Form: Display value next to key input field

0 Kudos

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

APPEND VALUE #( name = 'SHAPE'
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.

Thanks,

Marcus

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

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...

https://blogs.sap.com/2016/12/20/team-fpm-input-tokenizer-in-fpm-guibbs/

Regards

Fabian

0 Kudos

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!

Answers (0)