gpt4 book ai didi

date - 选择以今天为默认日期的选项?

转载 作者:行者123 更新时间:2023-12-01 06:20:23 24 4
gpt4 key购买 nike

我正在尝试将今天的日期显示为所选日期中的默认值。

INITIALIZATION.
select-OPTIONS: so_date FOR sy-datlo.

START-OF-SELECTION.
so_date-sign = 'I'.
so_date-option = 'BT'.
so_date-low = sy-datum.
so_date-high = sy-datum.
APPEND so_date.

虽然这不起作用。有什么想法吗?

最佳答案

您必须在 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.

我认为它应该有效(无法测试是否真实)。

关于date - 选择以今天为默认日期的选项?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7223554/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com