Skip to Content
0
Former Member
Feb 28, 2006 at 04:24 PM

Loop through a selction screen internal table

20 Views

I have

<b>SELECT-OPTIONS: so_perbl FOR ce22000-perbl.</b>

on the selection screen of the program to get range of fiscal period.

I need to loop through the internal table <b>so_perbl</b>and capture all the distinct values of the fiscal period. But when I look at the internal table in the debug mode it only has one record as

SIGN OPTION LOW HIGH

I BT 2006005 2007006

How do I capture all the fiscal periods in the range separately (2006005, 2006006, 20006007, 2006008...2007006)

Another problem is what if the user enters one fiscal period to be excluded. How will I capture everything else? Any help will be greatly appreciated.