SAP ABAP中,PARAMETERS D01 RADIOBUTTON GROUP R1. SELECTION-SCREEN BEGIN OF BLOCK BL1 WITH FRAME TITLE TEXT-001. SELECTION-SCREEN: BEGIN OF LINE, COMMENT 3(60) TEXT-002, END OF LINE, BEGIN OF LINE, COMMENT 3(60) TEXT-003, END OF LINE. SELECTION-SCREEN END OF BLOCK BL1. PARAMETERS D02 RADIOBUTTON GROUP R1. PARAMETERS D03 RADIOBUTTON GROUP R1. SELECTION-SCREEN BEGIN OF BLOCK BL2 WITH FRAME TITLE TEXT-001. SELECTION-SCREEN: BEGIN OF LINE, COMMENT 3(60) TEXT-002, END OF LINE, BEGIN OF LINE, COMMENT 3(60) TEXT-003, END OF LINE. SELECTION-SCREEN END OF BLOCK BL2. ,如何在“PARAMETERS D02 RADIOBUTTON GROUP R1.”上面加入横线
时间: 2024-01-28 13:05:36 浏览: 194
要在 `PARAMETERS D02 RADIOBUTTON GROUP R1.` 上面添加横线,你可以在 `PARAMETERS D01 RADIOBUTTON GROUP R1.` 和 `PARAMETERS D02 RADIOBUTTON GROUP R1.` 之间添加 `SELECTION-SCREEN COMMENT` 语句,如下所示:
```
PARAMETERS D01 RADIOBUTTON GROUP R1.
SELECTION-SCREEN COMMENT /1(80) '----------------------------------------------------------------------'.
PARAMETERS D02 RADIOBUTTON GROUP R1.
SELECTION-SCREEN COMMENT /1(80) '----------------------------------------------------------------------'.
PARAMETERS D03 RADIOBUTTON GROUP R1.
SELECTION-SCREEN BEGIN OF BLOCK BL1 WITH FRAME TITLE TEXT-001.
SELECTION-SCREEN: BEGIN OF LINE,
COMMENT 3(60) TEXT-002,
END OF LINE,
BEGIN OF LINE,
COMMENT 3(60) TEXT-003,
END OF LINE.
SELECTION-SCREEN END OF BLOCK BL1.
SELECTION-SCREEN BEGIN OF BLOCK BL2 WITH FRAME TITLE TEXT-001.
SELECTION-SCREEN: BEGIN OF LINE,
COMMENT 3(60) TEXT-002,
END OF LINE,
BEGIN OF LINE,
COMMENT 3(60) TEXT-003,
END OF LINE.
SELECTION-SCREEN END OF BLOCK BL2.
```
在上面的代码中,我们使用 `SELECTION-SCREEN COMMENT` 语句在 `PARAMETERS D01 RADIOBUTTON GROUP R1.` 和 `PARAMETERS D02 RADIOBUTTON GROUP R1.` 之间添加了一条横线。这将在屏幕上创建一条宽度为 80 的水平线,用于将两个选项分开。
希望这可以帮助你回答你的问题。
阅读全文