SE11建立的搜索帮助来实现关联搜索帮助。

参照下面的几个图及选择屏幕来理解:

申请单类型和审批人ID在一个表里,均为主键;

申请单类型的搜索帮助采用的是域里的“用固定值输入帮助”

要求在选定了申请单类型后,审批人ID里的搜索帮助只显示对应申请单类型相对应的值。

【ABAP】SE11建立的搜索帮助来实现关联搜索帮助。【ABAP】SE11建立的搜索帮助来实现关联搜索帮助。

【ABAP】SE11建立的搜索帮助来实现关联搜索帮助。

【ABAP】SE11建立的搜索帮助来实现关联搜索帮助。

【ABAP】SE11建立的搜索帮助来实现关联搜索帮助。
选择屏幕部分程序如下:
report  zwf_report001.
include zwf_report001_top.
selection-screen  begin of block search1 with frame title text-001.
select-options:
                  s_ptype for zwf_hragent002-ztype no intervals no-extension obligatory,
                 s_ptype for zwf_hr002-ptype no intervals no-extension obligatory,
                  s_pernum for zwf_hr002-pernum ,
                  s_tbda for zwf_hr002-tbda ,
                  s_zstat for zwf_hr002-zstat,
                  s_date for zwf_hr002-app_date,
                  s_name for zwf_hragent002-uname "MATCHCODE OBJECT Z_SHLP_APP_UNAME no intervals no-extension
                 s_name for zwf_hr002-app_uname MATCHCODE OBJECT Z_SHLP_APP_UNAME no intervals no-extension
                 matchcode object zuname
                  .
selection-screen end of block search1 .

initialization.
 clear : s_tbda.
 s_tbda-sign = 'I'.
 s_tbda-option = 'BT'.
 s_tbda-low = sy-datum - 30.
 s_tbda-high = sy-datum.
 append s_tbda.

start-of-selection.
  perform get_data.
end-of-selection.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值