没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Dominik Ofenloch and Roland Schwaiger
Getting Started with
Web Dynpro ABAP
™
Bonn
�
Boston
311 Book.indb 3 10/7/09 12:13:45 PM
www.sap-press.com
Contents at a Glance
1 Introduction ................................................................ 19
2 Web Dynpro Architecture ........................................... 33
3 Developing Web Dynpro Applications ....................... 103
4 Dynamic Web Dynpro Applications ............................ 239
5 Web Dynpro Standard Components ........................... 279
6 Input Help and Semantic Help .................................... 323
7 Conguration, Customizing, and Personalization ....... 377
8 Practical Tips and Hints .............................................. 397
9 Web Dynpro in the Enhancement Framework ............ 447
A Appendix ..................................................................... 457
B The Authors ................................................................. 461
311 Book.indb 5 10/7/09 12:13:45 PM
www.sap-press.com
7
Contents
Preface ......................................................................................... 13
1 Introduction ................................................................. 19
1.1 Model View Controller ................................................. 20
1.1.1 Model .............................................................. 21
1.1.2 View ................................................................ 22
1.1.3 Controller ......................................................... 22
1.1.4 MVC Interaction Example ................................. 22
1.2 Evolution of SAP User Interfaces ................................... 23
1.2.1 Console ............................................................ 24
1.2.2 Dynpros ........................................................... 25
1.2.3 Business Server Pages ....................................... 27
1.2.4 Web Dynpro .................................................... 30
1.3 Summary ...................................................................... 31
2 Web Dynpro Architecture ............................................ 33
2.1 Components and Applications ...................................... 34
2.1.1 Example: Library ............................................... 35
2.1.2 Web Dynpro Explorer ....................................... 36
2.2 View ............................................................................. 40
2.2.1 Views ............................................................... 40
2.2.2 Windows and Plugs .......................................... 49
2.3 Controllers .................................................................... 64
2.3.1 Hook Methods’ Flow Sequence ........................ 69
2.3.2 Usage and Visibility of Controllers .................... 73
2.3.3 Actions and Events ........................................... 77
2.3.4 Assistance Class ................................................ 80
2.4 Context ......................................................................... 81
2.4.1 Structure of a Context ...................................... 82
2.4.2 Data Binding .................................................... 85
2.4.3 Mapping .......................................................... 95
2.4.4 Supply Functions .............................................. 99
311 Book.indb 7 10/7/09 12:13:45 PM
www.sap-press.com
8
Contents
2.4.5 Controlling the Visibility of UI Elements
via the Context ................................................. 101
2.5 Summary ...................................................................... 102
3 Developing Web Dynpro Applications ....................... 103
3.1 Context Programming ................................................... 104
3.1.1 Changing Attribute Values of an Element .......... 110
3.1.2 Reading Attribute Values of One or More
Elements .......................................................... 117
3.1.3 Creating Context Elements ............................... 123
3.1.4 Removing Context Elements ............................. 137
3.2 Layouts and Containers ................................................. 138
3.2.1 Containers ........................................................ 139
3.2.2 Layouts ............................................................ 141
3.2.3 Example ........................................................... 151
3.3 Using Important View Elements .................................... 153
3.3.1 TextView .......................................................... 154
3.3.2 InputField and Label ........................................ 157
3.3.3 Button .............................................................. 161
3.3.4 TabStrip ............................................................ 166
3.3.5 Tree .................................................................. 170
3.3.6 Table ................................................................ 184
3.3.7 FileUp/Download ............................................. 200
3.4 Messages and Internationalization ................................ 208
3.4.1 Texts from the ABAP Dictionary ........................ 209
3.4.2 Texts from the Online Text Repository .............. 210
3.4.3 Texts from the Assistance Class ......................... 213
3.4.4 Messages ......................................................... 217
3.5 Summary ...................................................................... 236
4 Dynamic Web Dynpro Applications ............................ 239
4.1 Advantages and Disadvantages of Dynamic
Programming ................................................................ 241
4.2 Types of Dynamic Changes ............................................ 242
4.3 Adjusting Context at Runtime ....................................... 243
4.3.1 Determining a Description Object
(Meta Information) for a Context Node ............ 246
311 Book.indb 8 10/7/09 12:13:45 PM
www.sap-press.com
9
Contents
4.3.2 Creating and Adding Context Nodes ................. 247
4.3.3 Creating and Adding Context Attributes
Individually ...................................................... 251
4.3.4 Creating and Adding Context Attributes in
Bundles ............................................................ 253
4.3.5 Other Methods for Dynamic Context
Manipulation ................................................... 255
4.3.6 Conclusion ....................................................... 259
4.4 Adjusting the User Interface at Runtime ........................ 260
4.4.1 Adding a View Element to a Container ............. 261
4.4.2 Assigning Actions to View Element Events ........ 274
4.4.3 Conclusion ....................................................... 277
4.5 Summary ...................................................................... 277
5 Web Dynpro Standard Components ........................... 279
5.1 Multi-Component Architectures .................................... 280
5.1.1 Component Usages .......................................... 281
5.1.2 Cross-Component Mapping .............................. 293
5.1.3 Component Interfaces ...................................... 300
5.2 SAP List Viewer ............................................................ 301
5.2.1 Integrating ALV ................................................ 303
5.2.2 ALV Conguration Model ................................. 305
5.2.3 Methods and Events of the Interface Controller ... 308
5.2.4 Changes to the Column Set .............................. 312
5.2.5 Changing the Toolbar ....................................... 316
5.3 POWER List .................................................................. 318
5.3.1 Example: Dening Custom Queries ................... 318
5.3.2 Additional Information ..................................... 322
5.4 Summary ...................................................................... 322
6 Input Help and Semantic Help .................................... 323
6.1 Implementing Selection Options ................................... 324
6.1.1 DropDown ....................................................... 325
6.1.2 RadioButton ..................................................... 330
6.1.3 CheckBox ......................................................... 333
6.1.4 CheckBoxGroup ............................................... 334
311 Book.indb 9 10/7/09 12:13:45 PM
www.sap-press.com
剩余156页未读,继续阅读
资源评论
- zhwpro20082012-09-05只有第三章,还以为全的呢
- yeah_cn20002012-12-20我靠,这也拿来挣分。 还以为是全的呢。这个免费章节可以直接在sap press 网站上下载。 http://www.sap-press.com/products/Getting-Started-with-Web-Dynpro-ABAP.html 顺便说一下,下面这些介绍web dynpro 的视频非常好。 http://scn.sap.com/people/thomas.jung/blog/2006/06/20/web-dynpro-abap-demonstration-videos
- bluenew2012-05-02此书对于刚要学习WebDynpro的人而言是本不错的入门教材, 只可惜仅第3章,要是有全版的就好了。 下载也要注意了。
llh_l
- 粉丝: 2
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功