07-24-2014 3:06 PM
Hi experts,
I will create sd report but I need selection screen that includes year-month-week,
example;
Year : 2012
Month : March ( Listbox for all months )
Week : 1.week
I wıll execute report like that.
This report program is going to be comparison of weeks in specific years.
How can I achieve this selection screen ?
any help will be appreciate
best regards
07-24-2014 3:21 PM
Hello Kutay,
This is an example of listbox.
PARAMETERS: listbox(1) AS LISTBOX VISIBLE LENGTH 10 DEFAULT 'N'.
AT SELECTION-SCREEN OUTPUT.
DATA:
name TYPE vrm_id,
list TYPE vrm_values,
value TYPE vrm_value.
name = 'LISTBOX'. " Name should be in UPPER CASE
value-key = '1'.
value-text = 'January'.
APPEND value TO list.
value-key = '2'.
value-text = 'February'.
APPEND value TO list.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = name
values = list
EXCEPTIONS
id_illegal_name = 0
OTHERS = 0.
Idem for week field.
I hope you help.
07-24-2014 3:31 PM
hi martinez,
for example , when ı choose the january how can I append the range includes 01.01.2014-31.01.2014
any help will be appreciate
best regards...