‎2006 Sep 27 10:48 AM
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
‎2006 Sep 27 10:54 AM
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.
‎2006 Sep 27 10:52 AM
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
‎2006 Sep 27 10:54 AM
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.
‎2006 Sep 27 10:54 AM
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.
‎2006 Sep 27 10:54 AM
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.