‎2008 May 15 3:16 PM
Can anyone identify a transaction/program that has a range (low/high and all the associated options) within a screen, but NOT a selection-screen. I'm trying to implement the same functionality as supplied when using the SELECT-OPTIONS command, but within a standard screen.
If I can identify an existing SAP program that does this I'll take a look at the code. I thought I knew a few transactions but when looking I suddenly realised that it's not that easy to find such a transaction/program.
‎2008 May 16 7:11 AM
Hi,
use FM: 'COMPLEX_SELECTIONS_DIALOG'
here an example
*--
DATA: h_range(16.
RANGES r_range FOR h_range.
*--
CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
EXPORTING
title = 'Auswahl'
text = 'Bitte wählen Sie'
TABLES
range = r_range
EXCEPTIONS
no_range_tab = 1
cancelled = 2
internal_error = 3
invalid_fieldname = 4
OTHERS = 5.
you need to create a button with icon "ICON_DISPLAY_MORE".
Reward if helpfull...
Cheers,
Ameen.
‎2008 May 15 3:22 PM
Why not use a selection screen and then use CALL SCREEN #### to enter into your other screen processing?
‎2008 May 16 7:11 AM
Hi,
use FM: 'COMPLEX_SELECTIONS_DIALOG'
here an example
*--
DATA: h_range(16.
RANGES r_range FOR h_range.
*--
CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
EXPORTING
title = 'Auswahl'
text = 'Bitte wählen Sie'
TABLES
range = r_range
EXCEPTIONS
no_range_tab = 1
cancelled = 2
internal_error = 3
invalid_fieldname = 4
OTHERS = 5.
you need to create a button with icon "ICON_DISPLAY_MORE".
Reward if helpfull...
Cheers,
Ameen.