select option多项选择中只显示单一数值

前端之家收集整理的这篇文章主要介绍了select option多项选择中只显示单一数值前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。


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=''.

猜你在找的设计模式相关文章