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

PULL DOWN MENU

Former Member
0 Likes
680

IN HR REPORT I HAVE TO USE STANDARD SELECTION SCREEN THIS WIIL GET WHEN I USE LOGICAL DATABASE. BUT I NEED ONE MORE SELECTION PARAMETER WHICH HAS PULL DOWN MENU .

CAN ANY BODY PLS LET ME KNOW HOW TO GET PULL DOWN MENU IN SELECTION SCREEN

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
543

hi,

create a new program and specify your ldb name in Logical database of this new program. As usual create a drop down menu in your selection screen. When you execute this new program, you will be first getting the selection screen of ldb and below that you can find your program's selection screen (the drop down menu which you have created).

regards,

Sailaja.

4 REPLIES 4
Read only

andrea_galluccio2
Contributor
0 Likes
543

Hi,

if u declare a field like one filed that have the pull-down menu (that is generated by a foreign-key) that u want, u'll have the same in your field.

For exmaple :

data : datum like sy-datum.

U'll have a variabile with a pulldown menu type calendar

Bye

Andrea

Read only

former_member188770
Active Participant
0 Likes
543

Hi,

U can create ur own parameter at selection screen.

The pull down menu can be created by using FM

CALL FUNCTION 'VRM_SET_VALUES'

EXPORTING

id = wg_taxcd

values = wi_list1.

Hope this helps.

Read only

Former Member
0 Likes
544

hi,

create a new program and specify your ldb name in Logical database of this new program. As usual create a drop down menu in your selection screen. When you execute this new program, you will be first getting the selection screen of ldb and below that you can find your program's selection screen (the drop down menu which you have created).

regards,

Sailaja.

Read only

Former Member
0 Likes
543

I guess u r asking for list box

report zcha .
type-pools: vrm.data: 
ivrm_values type vrm_values.
data: xvrm_values like line of ivrm_values.
data: name type vrm_id.
parameters: p_month as listbox visible length 10.
parameters: p_year as listbox visible length 4.
at selection-screen output. 
 name = 'P_MONTH'.
  refresh ivrm_values.
  xvrm_values-key = '1'. 
 xvrm_values-text = 'January'.  
append xvrm_values to ivrm_values.  
xvrm_values-key = '2'.  
xvrm_values-text = 'February'. 
 append xvrm_values to ivrm_values. 
 xvrm_values-key = '2'. 
 xvrm_values-text = 'March'. 
 append xvrm_values to ivrm_values.
  call function 'VRM_SET_VALUES'       
exporting            id     = name       
     values = ivrm_values.  
name = 'P_YEAR'. 
 refresh ivrm_values.  
xvrm_values-key = '2001'. 
 xvrm_values-text = '2001'. 
 append xvrm_values to ivrm_values. 
 xvrm_values-key = '2002'.
  xvrm_values-text = '2002'.
  append xvrm_values to ivrm_values.
  xvrm_values-key = '2003'.  
xvrm_values-text = '2003'. 
 append xvrm_values to ivrm_values. 
 call function 'VRM_SET_VALUES'    
   exporting            id     = name      
      values = ivrm_values.