Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8581

Re: Multiple listbox in screen painter with same field

$
0
0

Hello,

 

You can use the FM VRM_SET_VALUES to create a drop-down field on the screen with your values and keys.

 

TYPE-POOLS vrm.              

DATA: name  TYPE vrm_id,     
            list  TYPE vrm_values
            value LIKE LINE OF list.

 

value-key = 'YOUR_KEY'

value-text = 'YOUR_TEXT'

APPEND value TO list

...

 

CALL FUNCTION 'VRM_SET_VALUES'
     EXPORTING               
         id     = 'FIELD_NAME'         
         values = list.    

 

But I think you should create five different fields and create a logic in your program to do what you want.

 

Use it in a simple field and transfer the value to your table workarea before save in the database.

 

Att,

Filipe

 

 

   


Viewing all articles
Browse latest Browse all 8581


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>