1, 创建一个Smartforms

Tcode smartforms创建一个简单的smartform

如何在smartforms中插入复选框(checkbox)

创建一个import输入参数,用来控制check box是否勾上。

如何在smartforms中插入复选框(checkbox)

2, 创建alternative 节点

先创建一个alternative,

如何在smartforms中插入复选框(checkbox)

alternative的condition就是输入参数i_check

如何在smartforms中插入复选框(checkbox)

3, 创建text 节点

在true下创建一个text节点,用来放置check box勾上的图标。

如何在smartforms中插入复选框(checkbox)

在text 节点的General attributes上点击editor按钮

如何在smartforms中插入复选框(checkbox)

然后在通过menu:incoude-->characters-->SAP Symbols,选择checkbox图标

如何在smartforms中插入复选框(checkbox)

如何在smartforms中插入复选框(checkbox)

697就是checkbox图标的ID,

如何在smartforms中插入复选框(checkbox)

同样在alternative false的下面创建一个text 节点,然后放置一个空的checkbox

如何在smartforms中插入复选框(checkbox)

最后保存激活。

4, 测试

点击测试按钮,进入smartforms自动生成的函数。

如何在smartforms中插入复选框(checkbox)

输入locl打印机,然后preview

如何在smartforms中插入复选框(checkbox)

很不幸,看不到checkbox图标,不过不要紧,在预览的情况下看不到是正常的。

如何在smartforms中插入复选框(checkbox)

上特殊手段,在命令栏中输入PDF!,然后回车,注意要半角的,不要输入一个中文的叹号。。。

如何在smartforms中插入复选框(checkbox)

就能看到了。。

如何在smartforms中插入复选框(checkbox)

其他:当然也可以创建其他SAP symbol中有的图标,比如说单选按钮(radio button)。

以上。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2021-07-12
  • 2021-10-22
  • 2022-12-23
  • 2021-07-21
  • 2021-12-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-08
  • 2021-12-09
  • 2021-12-09
相关资源
相似解决方案