component usage
来源:互联网 发布:电信4g网络制式 编辑:程序博客网 时间:2024/05/16 05:43
实例说明:使用系统标准的component SALV_WD_TABLE,WDR_SELECT_OPTIONS来实现通过界面上的选择条件,ALV输出符合条件的数据。
1,在component的属性used components增加上面两个所说的component的作为used componenet。
2,在component controller属性里增加WDR_SELECT_OPTIONS的INTERFACECONTROLLER,因为要使用select options的一些方法。
3,在component controller的method,WDDOINIT实现如下代码,生产选择条件。
4,创建context node,attribute,类型为marc。并创建一个读取数据的方法。
5,在视图里对context做mapping,并在layout里创建两个viewcontaineruielement,一个按钮。
并在action对应的事件处理方法里调用component里读取数据的方法。
6,在右侧的树形结构里,选择component usages,在alv相关的interfacecontroller_usage里,点击
controller usage,并按右侧需要alv显示的数据,拖到左侧的data节点上。
7,然后在window里,分别为两个viewcontaineruielement做embed view。第一个嵌入选择表的,第二个嵌入alv table的。
8,创建application,保存,激活。如下。
- component usage
- Unable to load class 'org.gradle.api.internal.component.Usage'
- Unable to load class 'org.gradle.api.internal.component.Usage'
- usage
- Error:Unable to load class 'org.gradle.api.internal.component.Usage'.
- Android Studio 3.0升级--Unable to load class ‘org.gradle.api.internal.component.Usage’.
- @Component
- Component
- component
- @component
- WinDbg Usage
- cscope usage
- doxygen usage
- Maven Usage
- Vss usage
- mq_notify usage
- CVS Usage
- NETLINK usage
- Google告别施密特十年
- 【C#】[网络]网页源码读取(WebClient+StreamReader)
- Seven streams in the DW/BI project approach
- 【C#】[窗体]窗体无标题栏拖动
- makefile 中的 wildcard 与 patsubst 函数
- component usage
- listview item背景设置为透明
- FS2410 开发板linux-2.6.35内核 jffs2根文件系统镜像
- 【mysql】mysql性能的检查和调优方法
- RIL.java【3】
- for循环语句头的执行顺序
- 【C#】[网络]WebBrowser网页操作(提取元素,自动填表)
- j2me学习笔记【4】——Item类的学习
- 恢复xp_cmdshell SQL Server阻止了对组件 'xp_cmdshell' 的过程'sys.xp_cmdshell' 启用