nangnangchuai / sap

0 stars 0 forks source link

创建一个屏幕显示helloworld,点击exit退出程序 #8

Open nangnangchuai opened 5 years ago

nangnangchuai commented 5 years ago

图片 方法:

  1. se38创建基本可执行程序
  2. 选择 display object list -》进入80界面
  3. 在ok中写上OK_CODE
  4. 选择layout进行画面的绘制,按钮的funcode为exit
  5. 关键点在激活的时候,选择最上层文件夹,右键,选择全部激活
nangnangchuai commented 5 years ago

&--------------------------------------------------------------------- & Report ZPROGRAM_F0061 & &--------------------------------------------------------------------- & & &---------------------------------------------------------------------

REPORT ZPROGRAM_F0061. DATA OK_CODE LIKE SY-UCOMM. "定义exit按钮的funcode对应的数据变量" CALL SCREEN 2001. “调用一个屏幕,2001是设定的屏幕的号” &--------------------------------------------------------------------- & Module USER_COMMAND_2001 INPUT &---------------------------------------------------------------------*

endmodule. " USER_COMMAND_2001 INPUT

nangnangchuai commented 5 years ago

无论screen,还是主程序一定要更新