Skip to Content
author's profile photo Former Member
Former Member

year-month-week selection screen format?

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2014 at 02: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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.