SELECT-OPTIONS - FOR Quick Reference Syntax ... FOR {dobj|(name)} ...Alternatives: 1. ... FOR dobj 2. ... FOR (name) Effect This addition determines the data type of the columns low and high in the selection table. The data type can be defined by means of a static reference...
12.4.SELECT-OPTIONS 12.4.1.输入ABAP程序默认值时,需要加上“=” 12.4.2.选择条件内表多条件组合规则 12.4.3.使用SELECT-OPTIONS替代PARAMETERS 12.4.SELECT-OPTIONS SELECT-OPTIONSselcritFOR{dobj|(name)} screen_options[OBLIGATORY|NO-DISPLAY][VISIBLE LENGTHvlen][NO-EXTENSION][NO INTERVALS][MODIF IDid] ...
REPORTZMMR_TEST2 .TABLES:SFLIGHT.DATA:gs_scarrTYPEscarr.DATA:gv_valTYPEchar20.SELECT-OPTIONS: S_1FORsflight-carrid DEFAULT'MU',"设置初始值S_2FORgs_scarr DEFAULT'AA*'OPTIONEQSIGN I,"OPTION:EQ(等于)、BT(区间值)、NB(区间值除外)、GE(>=)、LE(《=)、GT(>)、LT(<)、NE(不等于)"SIGN...
SELECT-OPTIONS selcrit FOR{dobj|(name)} [OBLIGATORY|NO-DISPLAY] [VISIBLE LENGTH vlen] [NO-EXTENSION] [NO INTERVALS] [MODIF ID modid] [DEFAULT val1[TO val2][OPTION opt][SIGN sign]] [LOWER CASE] [MATCHCODE OBJECT search_help]
1.SELECT语句嵌套: 2.FOR ALL ENTRIES选项: Open SQL在WHERE子句中提供了FOR ALL ENTRIES附加项,选出符合已存在内表中所有满足条件的数据值: SELECT ... FOR ALL ENTRIES IN itab WHERE <condition> ... 3.使用视图: 可通过视图(view)将多个数据库表的选择结合在同一个SELECT居于中进行。
ABAP培训:SELECT OPTIONS自由帮助的使用 1.定义选择屏幕 DATA:LO_CONTROLLER_SEL TYPE REF TO IF_WD_CONTROLLER, LO_COMPONENT_SEL TYPE REF TO IF_WD_COMPONENT. LO_CONTROLLER_SEL = wd_this->m_wd_select_options->WD_GET_API( ). LO_COMPONENT_SEL = LO_CONTROLLER_SEL->GET_COMPONENT( ). ...
本次案例讲述的内容,一个选择屏幕内容, 我们这里设定4个SELECT-OPTIONS分别为,真必输,假必输,没有必输. 数据准备 代码语言:javascript 复制 SELECTION-SCREENBEGINOFBLOCKbk1WITHFRAMETITLETEXT-001.SELECT-OPTIONS:s_vkorgforVBAK-VKORG.SELECT-OPTIONS:S_SPARTforVBAK-SPART.SELECT-OPTIONS:S_AUARTforVBAK-AUAR...
1. SELECT...ENDSELECT 代码语言:javascript 复制 REPORTZWYZTEST_FOR_MANGO.DATA:GT_SFLIGHTTYPETABLEOFSFLIGHT.DATA:GS_SFLIGHTTYPESFLIGHT.SELECT*INTOGS_SFLIGHTFROMSFLIGHTWHERECARRID='AC'.WRITE:/GS_SFLIGHT-CARRID,GS_SFLIGHT-CONNID.ENDSELECT. ...
•SELECT…ENDSELECT. 逻辑控制 RETURN 多用于子程序的返回,所有的传出参数会因此命令将当前值返回 EXIT 如果用在循环中,跳出循环开始执行循环结束后的下一条命令 如果用在子程序中,跳出子程序并且放弃返回传出参数内容 CONTINUE 终止当前循环,并从头开始下一次循环 ...
SELECT-OPTIONS: s_option FOR dbtab-matnr. READ TABLE s_option INDEX 1. VAR = s_option-low. LOOP AT s_option. VAR = s_option-low. ENDLOOP. Best regards. Valter Oliveira. Reply Former Member 2008 May 16 4:04 PM 0 Kudos 316 SAP Managed Tags: ABAP Development Hi, in f...