09-08-2008 2:27 PM
Hi,
I have created a f4 help in the select option.... in 'AT-SELECTION-SCREEN ON VALUE REQUEST FOR <field name>.
But when i select a value in the single value of select-option and hit the F8(copy) button an extra value is duplicated !!!
I am sure that I have filled the select-option properly and also cleared work-area properly......
What can be the possible cause for this ?
Thanks & Regards
Akash
09-08-2008 2:36 PM
Hi,
Write the code AT-Selection screen on output and use FM VRM_SET_VALUES to fill listbox. This could reslove your problem.
Regards
Bhupal Reddy
09-08-2008 3:01 PM
name = 'p_desig1'.
value-key = '01'.
value-text = 'Vice Chairman and Managing Director'.
append value to list.
value-key = '02'.
value-text = 'Chief Financial Officer'.
append value to list.
call function 'VRM_SET_VALUES'
exporting
id = name
values = list.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(25) text-dg1.
SELECTION-SCREEN POSITION 33.
parameters: p_desig1(40) type c as listbox visible length 40.
SELECTION-SCREEN END OF LINE.
*/ End
Regards
Anbu B
10-23-2008 10:06 AM
Standard methods insert the header line at select-option, although we are using our own logic.... so make changes as required