FM实现F4帮助系列四:弹出框多筛选…
函数:
效果图:
本例子代码:
*&-------------------------------------------------------------------
REPORT
zlm_test_044.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME
TITLE text-001.
PARAMETERS:
p_matnr TYPE
matnr.
SELECTION-SCREEN END OF BLOCK
b1.
AT
SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
*&---------------------------------------------------------------------*
*&
Form
frm_f4
*&---------------------------------------------------------------------*
*
text
*----------------------------------------------------------------------*
FORM
frm_f4.
ENDFORM.
"frm_f4
*&-------------------------------------------------------------------
*&
设置显示模式
*&-------------------------------------------------------------------
FORM frm_list
TABLES record_tab STRUCTURE seahlpres
ENDFORM.
"FRM_LIST
另外一个F4增强的例子,也是添加筛选字段:
http://blog.sina.com.cn/s/blog_c0978c9b0101h1qf.html
http://blog.sina.com.cn/sapliumeng