TABLES:SFLIGHT.
SELECT-OPTIONS:S_CARRIDFORSFLIGHT-CARRIDNOINTERVALS.
TYPE-POOLS:SSCR.
DATA:RESTRICTTYPESSCR_RESTRICT,
OPTLISTTYPESSCR_OPT_LIST,
ASSTYPESSCR_ASS.
INITIALIZATION.
OPTLIST-NAME='OBJECTKEY1'.
OPTLIST-OPTIONS-EQ='X'.
OPTLIST-OPTIONS-CP='X'.
OPTLIST-OPTIONS-GE='X'.
OPTLIST-OPTIONS-LT='X'.
OPTLIST-OPTIONS-NE='X'.
APPENDOPTLISTTORESTRICT-OPT_LIST_TAB.
ASS-KIND='S'.
ASS-NAME='S_CARRID'.
ASS-SG_MAIN='I'.
ASS-SG_ADDY=SPACE.
ASS-OP_MAIN='OBJECTKEY1'.
APPENDASSTORESTRICT-ASS_TAB.
CALLFUNCTION'SELECT_OPTIONS_RESTRICT'
EXPORTING
RESTRICTION=RESTRICT
DB=''.