没有合适的资源?快使用搜索试试~ 我知道了~
SAPERPguixt屏幕编程操作手册[整理].pdf
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 108 浏览量
2021-10-12
00:15:42
上传
评论
收藏 1.58MB PDF 举报
温馨提示
试读
16页
SAPERPguixt屏幕编程操作手册[整理].pdf
资源推荐
资源详情
资源评论
简单屏幕编程操作手册
*******************************************************************************
*******************************************************************************
以下是我记录简单屏幕编程的操作手册, 希望能对你有所帮助, 由于本人也是刚刚接触到屏
幕编程,所以难免有好多的东西没有能说明清楚,期待与您共同讨论。
1, 创建一个程序
输入 Title
Type: 一般创建的时候选择 Module Pool,但是为了测试方便,我这里就选
择“ Executable program”
点“Save”
选择 Package : ”$TMP”
选择 Local Object (此时不产生请求号)
2, 创建如下的代码
REPORT ZSCREEN.
parameters: pa_anum type sbook-agencynum.
data wa_booking type sbc400_booking.
*workarea for single booking to be changed
data:wa_sbook type sbook.
data: w_sbook type sbook.
*workarea for dynpro
tables sdyn_book.
*variable for function code of user action
data: ok_code like sy-ucomm.
start-of-selection.
set pf-status 'LIST'.
set titlebar 'LIST'.
*selecting data using a dictionary view to get the data from sbook
* and the customer name from scustom
select carrid connid fldate bookid customid name
from sbc400_booking
into corresponding fields of wa_booking
where agencynum = pa_anum.
if sy-subrc = 0.
write: / wa_booking-carrid color col_key,
wa_booking-connid color col_key,
wa_booking-fldate color col_key,
wa_booking-bookid color col_key,
wa_booking-name.
hide: wa_booking-carrid,
wa_booking-connid,
wa_booking-fldate,
wa_booking-bookid,
wa_booking-name.
endif.
endselect.
clear wa_booking.
at line-selection.
select single *
from sbook
into wa_sbook
where carrid = wa_booking-carrid
and connid = wa_booking-connid
and fldate = wa_booking-fldate
and bookid = wa_booking-bookid.
if sy-subrc = 0.
move-corresponding wa_sbook to w_sbook.
* move wa_booking-name to sdyn_book-name.
call screen 100.
else.
message id 'BC400' type 'S' number '047' with wa_booking-carrid.
endif.
3, 如图:
4, 接下来就创建状态栏
在程序的名称上右键 Create GUI Status
输入 Status and Short Text Status type选择 Normal Screen
5, 输入 Pick ,并双击出现如下的对话框,选择第一个 Radiobutton Static text
回车(确定)
剩余15页未读,继续阅读
资源评论
czq131452007
- 粉丝: 2
- 资源: 12万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功