Application Development 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: 

Get the contents of select-options

ujjaval-bhalala
Explorer
0 Kudos

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..???

1 ACCEPTED SOLUTION

uwe_schieferstein
Active Contributor
0 Kudos

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

2 REPLIES 2

uwe_schieferstein
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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