在表格中顯示當前的日期作為預設值


請嘗試以下程式碼。注意你需要設定 START-OF_SELECTION 的值

select-OPTIONS: so_date FOR sy-datlo.
INITIALIZATION.
so_date-sign = 'I'.
so_date-option = 'EQ'.
so_date-low = sy-datum.
CLEAR so_date-high.
APPEND so_date.

你也可以嘗試這個更簡單的方案 −

select-OPTIONS: so_date FOR sy-datlo default SY-DATUM.

更新時間:2020 年 2 月 25 日

193 次瀏覽

開啟你的 職業

完成課程即可獲得認證

開始學習
廣告
© . All rights reserved.