第1个回答 推荐于2016-03-08
通过AT SELECTION-SCREEN实现,举例如下:
REPORT zsunfeiquan.
PARAMETERS: rb1 RADIOBUTTON GROUP g1 DEFAULT 'X' USER-COMMAND f1,
rb2 RADIOBUTTON GROUP g1.
PARAMETERS: pc_file LIKE rlgrap-filename OBLIGATORY.
AT SELECTION-SCREEN OUTPUT.
IF rb2 = 'X'.
pc_file = 'D:\Parts_Bonus_Template.xls'.
ELSEIF rb1 = 'X'.
pc_file = 'D:\Parts_Bonus.txt'.
ENDIF.本回答被提问者采纳