Skip to Content
0

GUIBB Form: Display value next to key input field

Jul 26, 2017 at 01:22 PM

53

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Vogt Fabian Jul 27, 2017 at 12:54 PM
0

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

Show 1 Share
10 |10000 characters needed characters left 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!

0