GET CURSOR FIELD lv_field LINE lv_line OFFSET lv_offset. WRITE: '当前光标所在字段:', lv_field, '当前光标所在行号:', lv_line, '当前光标相对行首偏移量:', lv_offset. 参数说明 •<field>:字段变量,用于存储光标所在位置的字段名称。该参数必须是字符型或字符串型。 •<line>:行号变量,用于存储...
在ABAP中,get cursor语法可以通过以下方式来使用: 1. 获取光标所在屏幕的行号和列号: ``` DATA: lv_row TYPE sy-tabix, lv_col TYPE i. GET CURSOR FIELD lv_row LINE lv_col. ``` 在上述代码中,通过GET CURSOR语句获取光标所在屏幕的行号和列号,并将其分别赋值给lv_row和lv_col变量。 2. 获取光标...
11、set cursor设置焦点 set cursor field 这个是设置鼠标焦点到字段 SET CURSOR <COL> <ROW> 设置到鼠标焦点列还是行 SET CURSOR LINE <ROW> 设置鼠标焦点到行 这个是设置鼠标焦点的。 GET CURSOR field 这个相对应的获取鼠标焦点得到的字段 12、SAP系统显示多条message函数(C14Z_MESSAGES_SHOW_AS_POPUP) 13、...
GET CURSOR FIELD FIELD1. CHECK FIELD1(8) EQ 'WA_TADIR'. READ TABLE JTAB WITH KEY OBJ_NAME = SY-LISEL+1(20). MOVE JTAB-OBJECT TO WF_OBJECT. CASE WF_OBJECT. WHEN 'SMOD'. SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10). CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN. WHEN '...
GET CURSOR{{FIELD field [VALUE val] [LENGTH len] [[DISPLAY|MEMORY]OFFSET off] [LINE line] [AREA area]} |{LINE line [VALUE val] [LENGTH len] [[DISPLAY|MEMORY]OFFSET off]}}. Effect Additions FIELD field Returns the name of the screen element of the field displayed on a list infield...
set cursor field 这个是设置鼠标焦点到字段 SET CURSOR <COL> <ROW> 设置到鼠标焦点列还是行 SET CURSOR LINE <ROW> 设置鼠标焦点到行 这个是设置鼠标焦点的。GET CURSOR field 这个相对应的获取鼠标焦点得到的字段
26、RACE-FILE v1GET: GET etab1 LATE FIELDS v1 . GET CURSOR FIELD f OFFSET v1 LINE v1 VALUE v1 LENGTH v1 GET CURSOR LINE lin OFFSET v1 VALUE v1 LENGTH v1 GET TIME GET RUN TIME GET RUN TIME FIELD v1 GET PARAMETER ID key1 FIELD v1 GET PROPERTY OF name1 attrib2 = v3 NO ...
get cursor field mf_dynpfields-fieldname. append mf_dynpfields. mf_hlp_repid = sy-repid. do 2 times. call function 'DYNP_VALUES_READ' exporting dyname = mf_hlp_repid dynumb = sy-dynnr tables dynpfields = mf_dynpfields exceptions ...
10 CURSOR tc_mm001-current_line. 11 MODULE tc_mm001_get_lines. 12 *&SPWIZARD: MODULE TC_MM001_CHANGE_FIELD_ATTR 13 ENDLOOP. 14 15 PROCESS AFTER INPUT. 16 *&SPWIZARD: PAI FLOW LOGIC FOR TABLECONTROL 'TC_MM001' 17 LOOP AT G_TC_MM001_ITAB. ...
no_fielddescription=06 undefind_error=07. ifsy-subrc=3. mf_hlp_repid='SAPLALDB'. else. readtablemf_dynpfieldsindex1. translatemf_dynpfields-fieldvalueusing'_'. exit. endif. enddo. ifsy-subrc=0. callfunction'CONVERSION_EXIT_PERI_INPUT' exporting input=mf_dynpfields-fieldvalue importing outp...