DEFINE create_screen.
selection-screen begin of block s&1 with frame title text-s&1.
parameters:
p_param1_&1 type XXX,
p_param2_&1 type XXX,
p_param3_&1 type XXX.
selection-screen end of block s&1.
END-OF-DEFINITION.
create_screen:
01,02,03,04,05.
上述代码执行结果,在选择画面上分别创建
模快 项目
s01 p_param1_01~p_param3_01
s02 p_param1_02~p_param3_02
s03 p_param1_03~p_param3_03
s04 p_param1_04~p_param3_04
s05 p_param1_05~p_param3_05
变量&1中分别代入了01,02,03,04,05
在DEFINE~END-OF-DEFINITION中可使用&1~&9