Application Development and Automation 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: 
Read only

regarding

former_member206396
Active Participant
0 Likes
714

hai SDNs,

i have written this code for displaying LIST BOX and populating with values..

its working fine..

but if i select any thing i need to process correpondingly.. is there any thing for that. pls check my code and can any one pls help me out

TYPE-POOLS : vrm.

DATA : v TYPE vrm_values.

DATA : vw LIKE LINE OF v.

PARAMETERS : a(10) TYPE c AS LISTBOX VISIBLE LENGTH 10.

INITIALIZATION.

vw-key = '1'.

vw-text = 'Jan'.

APPEND vw TO v.

vw-key = '2'.

vw-text = 'Feb'.

APPEND vw TO v.

vw-key = '3'.

vw-text = 'Mar'.

APPEND vw TO v.

CALL FUNCTION 'VRM_SET_VALUES'

EXPORTING

id = 'A'

values = v

EXCEPTIONS

id_illegal_name = 1

OTHERS = 2.

Thaning you,

Ramu

7 REPLIES 7
Read only

Former Member
0 Likes
690

Hai,

What kind of processing do you want ? Can you exactly specify what you want ? You can manipulate with At selection-screen, start of selection events.

Read only

0 Likes
690

hai Sakthi Seithur ,

see there are 5 items in listbox. is i select any item,

corresponding report program should trigger.

we can do this by submit , but what is the fucncion code, how to find particular thing is seleted . (how to find which item is being selected).

thanks

Read only

0 Likes
690

Parameter a will have the selected value.

Read only

0 Likes
690

Hi,

Check the DEMO programs

DEMO_DYNPRO_DROPDOWN_LISTBOX

RSDEMO_DROPDOWN_LISTBOX

Cheers

VJ

Read only

former_member206396
Active Participant
0 Likes
690

pls check the previous mail...

Read only

Former Member
0 Likes
690

Hai,

Whether you want to process in the same screen or in next screen ?

Read only

Former Member
0 Likes
690

Hai,

The selection item will be stored in the parameter name what you have defined, in your case 'a'. Try the code in the event.

at selection-screen.

case a.

when '1'.

do first option statements.

when '2'.

do second option statements.

when '3'.

do third option statements.

endcase.