‎2006 Nov 10 8:40 AM
How Do Everyone!
I have a selection screen with the following:
SELECT-OPTIONS: so_spool FOR wa_spool_no NO INTERVALS.
However, when I run the code and enter a spool range say 100 to 120 I check
to see if so_spool is initial and it is. How can so_spool be initial when
I have entered a range.
Can anyone tell me?
Thanks
Andy
‎2006 Nov 10 8:48 AM
Andy,
check
if so_spool<b>[]</b> is initital.
-Anu
Message was edited by:
Anupama Reddy
‎2006 Nov 10 8:45 AM
Hello
will u please paste u r code so tht i can fix the issue easily as it isnot clear in u r question .
regards,
‎2006 Nov 10 8:46 AM
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
SELECT-OPTIONS: so_spool FOR wa_spool_no NO INTERVALS.
SELECTION-SCREEN END OF BLOCK b2.
LOAD-OF-PROGRAM.
----
Set Start Date
----
*
wa_start_date = sy-datum - 1.
START-OF-SELECTION.
IF so_spool IS INITIAL.
CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT_LO'
EXPORTING
titel = 'No Files Processed'
textline1 = ' '
textline2 = 'No Spool Numbers Entered'
textline3 = ' '
start_column = 40
start_row = 10.
EXIT.
ENDIF.
‎2006 Nov 10 8:48 AM
Andy,
check
if so_spool<b>[]</b> is initital.
-Anu
Message was edited by:
Anupama Reddy
‎2006 Nov 10 8:50 AM
‎2006 Nov 10 8:51 AM
hi
try with below code
SELECT-OPTIONS: so_spool FOR wa_spool_no .
because u r writing SELECT-OPTIONS: so_spool FOR wa_spool_no NO INTERVALS.
then u trying to put an interval.
Regs
Manas Ranjan Panda