'POPUP_TO_DECIDE_LIST'函数测试
来源:互联网 发布:发现利润区 知乎 编辑:程序博客网 时间:2024/06/04 19:23
(效果图)
*&---------------------------------------------------------------------*
*& Report ZTEST_1 *
*& *
*&---------------------------------------------------------------------*
*& *
*& *
*&---------------------------------------------------------------------*
report ztest_1 .
* 定义函数需要的变量
data: begin of spoplist occurs 15.
include structure spopli.
data: end of spoplist.
data: antwort type c.
* 添加选择参数
spoplist-varoption = 'Creditor'.
append spoplist.
spoplist-varoption = 'Material'.
append spoplist.
spoplist-varoption = 'Account '.
spoplist-selflag = 'X'.
call function 'POPUP_TO_DECIDE_LIST'
exporting titel = 'Possible entra: Order'
textline1 = 'By which criteria'
textline2 = 'should orders'
textline3 = 'be selected?'
mark_max = 2
mark_flag = 'X'
importing answer = antwort
tables t_spopli = spoplist
exceptions too_much_answers = 1
too_much_marks = 2.
if sy-subrc = 2.
write: 'Too many answers chosen.'.
endif.
* 取消
if antwort = 'A'.
write: 'Popup canceled.'.
else.
write: 'Options chosen:'.
loop at spoplist where selflag = 'X'.
write: / spoplist-varoption.
endloop.
endif.
- 'POPUP_TO_DECIDE_LIST'函数测试
- 函数模块:POPUP_TO_DECIDE_LIST
- 函数模块:POPUP_TO_DECIDE_LIST
- Funtion:POPUP_TO_DECIDE_LIST
- POPUP_TO_DECIDE_LIST 弹出选择框
- 测试函数
- 测试数据库连接的函数
- VBA测试函数
- 字符测试函数
- php相关函数测试
- C 函数调用测试
- Python性能测试函数
- 基本测试函数
- 构造函数 测试
- 字符串函数测试
- 阈值函数测试
- 经典hash函数测试
- 经典hash函数测试
- 注册表reg文件语法规则
- Windows Media Encode 9简介及SDK
- 人啊,
- c#如何捕获摄像头内容?
- Discuz7.0程序二次开发必备:目录详解
- 'POPUP_TO_DECIDE_LIST'函数测试
- JS读取本地文件及目录的方法
- js插件
- 一个简单的 Qt GUI 程序
- zoj 3121 Arne Saknussemm
- 创建非模态对话框
- 使用AES算法加密字符串
- extjs拼json串
- ZOJ 1642 Match for Bonus