‎2010 Apr 28 8:38 AM
Hi,
I have a dropdown list in a screen that I fill with the FM VRM_SET_VALUES.
Because the key of the values is a GUID, I want to hide this key in the dropdown list and show only the text.
Is this possible?
Thx!
‎2010 Apr 28 8:57 AM
you can show/hide keys in drop down lists: options (alt F12)-> Expert
‎2010 Apr 28 10:38 AM
I'm not following...
This is a user setting?? Or can we program this in the code that we only show the vrm text in the dropdown?
Thx!
‎2010 Apr 28 10:41 AM
>
> Or can we program this in the code that we only show the vrm text in the dropdown?
Depends on what values you have passed to VRM_SET_VALUES ?
‎2010 Apr 28 10:45 AM
lt_vrm_values1-key = ls_categorie_1-cat_guid.
lt_vrm_values1-text = ls_categorie_1-cat_desc.
APPEND lt_vrm_values1.
I cannot leave the key field blank, because my second dropdown depends on the value of the first dropdown...
Or is there another method to do this?
Regards,
Hans
‎2015 Feb 11 5:52 PM
Hi..
The only solution, if you don't want to set the parameter from gui's options or by using a listbox without key, is to set the KEY and the TEXT with the same value. In this way you'll see only one column that is the text column.
Hope to help
Bye