Application Development and Automation 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: 
Read only

Select Options

Former Member
0 Likes
550

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
527

Andy,

check

if so_spool<b>[]</b> is initital.

-Anu

Message was edited by:

Anupama Reddy

5 REPLIES 5
Read only

shishupalreddy
Active Contributor
0 Likes
527

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,

Read only

0 Likes
527

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.

Read only

Former Member
0 Likes
528

Andy,

check

if so_spool<b>[]</b> is initital.

-Anu

Message was edited by:

Anupama Reddy

Read only

0 Likes
527

Thanks very much Anu

Much appreciated

Read only

Former Member
0 Likes
527

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