LIST交互列表
1.Title names can be up to 20 characters in length and must be entered all in capital letters. A title that is
set stays active until a new one is set.
You can display variables within the GUI title using SET TITLEBAR <TITLE> WITH <f1>.
標題名字最多20 個字符,必須全部是大寫字母。標題會一直顯示直到設置一個新標題。
2.You can display the current details list in a modal dialog box with statement WINDOW STARTING AT.
3.
可以使用GET CURSOR 語句根據光標位置創建細節列表。如果用戶點在其中一個字段上,跟該字段相應 的信息就會顯示,點另一個字段,可以顯示其他信息。
注意,不要在SELECT 語句的WHERE 條件里使用參數VALUE 的值,因為它可能導致跟非字符字段的沖突,從而得到意外的結果。這時最好使用HIDE。
4.
SY-LSIND Index for the current list
SY-LISTI Index of the last list displayed
SY-LILLI Absolute number of a selected line in the list displayed
SY-CPAGE Number of the upper-most displayed line in the list displayed
SY-CUCOL Number of the column in the window where the cursor was last
positioned in the list displayed
SY-CUROW Number of the line in the window where the cursor was last
positioned in the list displayed
SY-STACO Number of the first column displayed in the list displayed
SY-STARO Number of the first visible line in the top displayed page
(SY-PAGE) in the list displayed (not including header lines)
SY-UCOMM Function code that triggered the interactive event in the
list displayed
SY-PFKEY Status of the list displayed
在每個交互式列表中都會自動支持下列系統字段
sy-lsind: 當前列表的索引
sy-listi: 最后顯示列表的索引
sy-lilli: 顯示列表的選擇行的絕對序號
sy-cpage: 顯示列表中最上面顯示行的序號
sy-cucol: 顯示列表中光標最后定位的窗口中的列的序號
sy-curow: 顯示列表中光標最后定位的窗口中的行的序號
sy-staco: 顯示列表中顯示的第一列的序號
sy-staro: 顯示列表中顯示頁的第一個可見行的序號
sy-ucomm: 顯示列表中觸發交互式事件的功能碼
sy-pfkey: 顯示列表的狀態
set stays active until a new one is set.
You can display variables within the GUI title using SET TITLEBAR <TITLE> WITH <f1>.
標題名字最多20 個字符,必須全部是大寫字母。標題會一直顯示直到設置一個新標題。
2.You can display the current details list in a modal dialog box with statement WINDOW STARTING AT.
3.
可以使用GET CURSOR 語句根據光標位置創建細節列表。如果用戶點在其中一個字段上,跟該字段相應 的信息就會顯示,點另一個字段,可以顯示其他信息。
注意,不要在SELECT 語句的WHERE 條件里使用參數VALUE 的值,因為它可能導致跟非字符字段的沖突,從而得到意外的結果。這時最好使用HIDE。
4.
SY-LSIND Index for the current list
SY-LISTI Index of the last list displayed
SY-LILLI Absolute number of a selected line in the list displayed
SY-CPAGE Number of the upper-most displayed line in the list displayed
SY-CUCOL Number of the column in the window where the cursor was last
positioned in the list displayed
SY-CUROW Number of the line in the window where the cursor was last
positioned in the list displayed
SY-STACO Number of the first column displayed in the list displayed
SY-STARO Number of the first visible line in the top displayed page
(SY-PAGE) in the list displayed (not including header lines)
SY-UCOMM Function code that triggered the interactive event in the
list displayed
SY-PFKEY Status of the list displayed
在每個交互式列表中都會自動支持下列系統字段
sy-lsind: 當前列表的索引
sy-listi: 最后顯示列表的索引
sy-lilli: 顯示列表的選擇行的絕對序號
sy-cpage: 顯示列表中最上面顯示行的序號
sy-cucol: 顯示列表中光標最后定位的窗口中的列的序號
sy-curow: 顯示列表中光標最后定位的窗口中的行的序號
sy-staco: 顯示列表中顯示的第一列的序號
sy-staro: 顯示列表中顯示頁的第一個可見行的序號
sy-ucomm: 顯示列表中觸發交互式事件的功能碼
sy-pfkey: 顯示列表的狀態
總結
- 上一篇: sy-repid 和 sy-cprog的
- 下一篇: TYPE-POOLS