Skip to Content

Get the contents of select-options

Hello

I want contents of select-options.

Ex.

SELECT-OPTIONS :YEAR FOR MVER-GJAHR.

if i set options like low=100 and high=200 on selection-screen

then i want to print these contents from 100 to 200 in final execution means on report page...........

would ypu please help me..???

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Oct 10, 2010 at 02:40 PM

    Hello

    There are 2 fm's available:

    RS_REFRESH_FROM_SELECTOPTIONS   to fetch select-options from a selection-screen
    RS_PRINT_SELECTIONS             to display select-options

    Regards

    Uwe

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 11, 2010 at 12:15 AM

    Hi,

    Write your select query base on select-options then use SAP List viewer to display your content.

    data: gt_data type table of mver.
    
    select *
    into table gt_data 
    from mver
    where gjahr in year.
    

    P/S: I have a ques: r you fresher of ABAP?

    Thanks,

    Thien

    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.