Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

problem in filling f4 help in select option !!!!

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Standard methods insert the header line at select-option, although we are using our own logic.... so make changes as required