I want to display the keys in a dropdown field next to the text. I know how I can do this via the options but for our customers I am looking to set this up via my ABAP coding. Is there a way to do this in my ABAP code or does the customers set this by himself via the options?
Greetings Dominic
I looked for any setting in the VRM_SET_VALUES function and stuff like that.
The listbox values may contain anything you want, you can simulate the option to force the display of key values... No need to look for a setting in
VRM_SET_VALUES.With the below program, according to the user's SAP GUI option "Show keys in dropdown list" whether it's on or off:
If off, the user will see:
If on, the user will see the same output:
Demo code: