下载  >  开发技术  >  其它  > Object-Oriented Programming With Abap Objects_Original

Object-Oriented Programming With Abap Objects_Original 评分:

SAP ABAP 面向对象编程 详细讲解 英文 PDF 版本
Contents Introduction 15 PART I: Basics Introduction to object-oriented Programming 4458- 44+420 23 1.1 The Need for a better abstraction 23 1.2 Classes and objects 24 1.3 Establishing boundaries 27 1.4 euse 29 1.4.1 Composition 29 1.4.2 Inheritance 30 1.4.3 Polymorphism 31 1.5 Object Management 16 UML Tutorial: Class Diagram basics……… ■争■■·■pd 33 1.6.1C|a 34 1.6.2 Attributes 36 163 Operations… 37 1. 6. 4 Associations 1.6.5 Note 17 Summary………… 39 orkIng wit thobjecs E E U A A SECAES S sHy S TCAL EH 41 2.1 Syntax Overview 2.11 Detining Classe5…… .1.2 Declaring Components 2. 1.3 Implementing Methods 日甲,Pq 51 22 Creating and Using Object5………… 52 2. 2. 1 Object References 52 2, 2. 2 Creating objec 5 2.2.3 Object Reference Assignments 2.2, 4 Working with Instance Components 5年 2.2.5 Working with Class Components 57 2.2.6 Creating Complex Expressions Using Functional Method 51 2.3 Building Your First Object-Oriented Program 4.6 2. 4 Getting Started with the Class builder 2. 4.1 Class pool 2.4.2 Accessing the Class builder 2.4.3 Creating Classes 2.4.4 Defining Class Components 74 2. 4,5 Editing the Class Definition Section Directly 82 52 2.5 Case Study: Working with Regular Expressions 2.6 UML Tutorial: Object Diagrams 84 2.7S 6 PART II: Core Concepts 3 5.3 ed from the pro 89 3. 1.1 Decomposing Functional decomposition 90 3.1.2 Case Study a Procedural Code Library in ABAP 5.4 3.1.3 Moving Toward objects 94 5.5 3.2 Data Abstraction with Classes 94 3.3 Defining component visibilities 95 3,3. 1 Visibility Sections ■■ 6 3. 3.2 Friends 99 3. 4 Hiding the Implementation 101 5.7 3.5 Designing by Contract 102 6 UML Tutorial: Sequence Diagrams ,...,,... ◆血自◆ 103 3.7 Summary 105 6.1( 4.1 Creating o 107 52C 4.2 Controlling Object Initialization with Constructors 中甲中中由 63‖ 4.3 Taking Control of the Instantiation Process 117 4.4 Garbage collection 121 4.5 Tuning Performance 122 4.51 Design Considerations…… n123 4.5.2 Lazy Initialization 123 6 4.5.3 Reusing objects 124 64U 4.5. 4 Using class attributes 124 Contents 4.6 UML Tutorial: State Machine Diagrams 12 4.7 Summary………… 126 5.1 Generalization and Specialization ..... 128 5.2 Inheriting Components 133 52.1 Designing the Inheritance Interface…… 1133 5.2.2 Visibility of Instance Components in Subclasses 135 523 Visibility of Class Components in Subclasses……………136 5.24 Redefining№ ethods…… 136 5.25 Instance constructors 138 5.2.6 Class Constructors 140 5.3 The abstract and Final Keywords 140 53.1 Abstract Classes and methods 140 5.3.2 Final clas 143 5.3.3 Final methe 144 5.4 Inheritance versus Composition 145 55 Using the Refactoring Assistant……… sd唱甲中卓卓聊d 148 5.6 UML Tutorial: Advanced Class Diagrams Part I 5.6.1 Generalization 5.6.2 Dependencies and Composition 51 5.6.3 Abstract Classes and Methods 152 5.7 Summary 153 6.1 Object Reference Assignments Revisited…… 155 6.1.1 StatIc and Dynamic Types 156 6.1.2 Casting 158 6.2 Dynamic Method Call Binding 160 6.3 Interfaces 163 6.3.1 Interface Inheritance versus Implementation inheritance .. 164 165 6.3.3 Implementing Interfaces 167 63 4 Working with nterfa 6.3.5 Nesting Interfaces.,. 177 6.4 UML Tutorial: Advanced Class Diagrams part II 180 54.1 180 9 Contents 6.4.2 Providing and Required Relationships with interfaces 181 6.4.3 Static Attributes and Methods n,.ne,,nt 182 5.5 Summary……… 182 9.1 ABAF 9.11 cOmpond日 t-Based De:0nep31 9.1.2 9.13 7.1 Understanding the SAP Component Model 183 9.2 Creat 7.2 The Package Concept 185 9.2.1 7.2.1 What Is a Package? 186 9,2,2 2.2 Creating and Organizing Packages Using the Package 9,2,3 Buildt 9.2,4 2.3 Embedding Package 191 9.3 Case 7.2.4 Defining Package Interfa 192 9.4E 5 Creating 9.4, 7,2.6Pe ng Package Checks 195 42 7. 2.7 Pack gn concep 196 9.5 Evalu 7.3 UML Tutorial: Package Diagrams 197 9.6 Movie 斗 199 9.7 UML ,71 3 Error Handling with Exception, AETR NM-dEL201 8.1 Lessons Learned from Prior Approaches 201 9.73 8.2 The Class-Based Exception Handling Concept 97.4 8.3 Dealing with Exceptions 205 9.75 8.3.1 Handling Exceptions 205 9. 8 Summ 8.3.2 Cleaning up th .209 8.4 Raising and Forwarding Exceptions 210 211 PART III: Case 8.4.1 System-Driven Exceptions 8.4.2 The RAISE EXCEPTIoN Statement 211 8.43 Propagating Exceptions 215 10.1 8.5 Creating Exception Classes 219 10.1.1 8.5.1 Understanding Exception Class Types 220 221 10.1.2 8.5.2 Local Exception Classes 102。ver 8.5.3 Global Exception Classes 221 10.3 Gettin 854 Defining Exception Texts………… 223 10.3.1 8.5.5 Mapping Exception Texts to Message IDs 227 10.3.2 8.6 UML Tutorial: Activity Diagrams 229 10.3.3 8.7 Summary… 231 1034 10.3.5 Cont 国成订93小日A日山市2 9.1 ABAP Unit overview 山== 9.1.1 The Need for Unit Testing Frameworks 234 9.1.2 Unit Testing Terminology 235 9. 1.3 Understanding How ABAP Unit Works 236 9 Creating Unit Test Classes 9.2.1 Test Attributes 238 9.2.2 Test methods 239 9.2.3 Managing Fixtures…… 9. 2. 4 Generating Test classes for global classes 240 9.3 Case Study Creating a Unit Test in ABAP Unit 241 9. 4 Executing Unit 244 9. 4.1 Integration with the ABAP Workbench 9.4.2 Integration with the Code inspect 245 9.5 Evaluating Unit Test Results 246 9.6 Moving Toward Test-Driven Develapment 247 9.7 UML Tutorial: Use Case Diagram 248 9.7.1 Use cas巴T 249 9.7, 2 An Example Use Case 249 9.7.3 The Use Case di 251 9.7. 4 Use Cases for Requirements Verification........252 9.75 Use cases and testi 252 9. 8 Summary . .....,....,... 253 PART II Case studies 10 Working wi,平以 10.1 Overview of the SaP Control framework 257 10. Control framework architecture 258 10.1.2Su f Available Controls 259 10.2 Overview af the alv object Model 260 10.3 Getting Started with the Flight Query Report 261 10.3.1 Understanding the Report Requirements 261 10.3.2 Report Design Using the MvC Design Pattern 261 10.3.3 Develo ping the flight model Class P .262 10.3, 4 Developing the Report Controller Class 264 0.3.5 Implementing the Report View 267 Content 10.4 Event Handling with the ALv Object Model 271 10.4.1 Integrating Event Handier Methods into the Controller .....271 12 1042 Registering Event Handler Methods………………272 12.3. Case 10.43 Responding to Events 273 12. 4 Case 10.4.4 Triggering Events on the Frontend 274 12.5 Cast 10.4.5 Timing of Event Handling 275 126UM 10.5 UML Tutorial: Communication Diagrams 275 12.7 SUm 10.6 Summary 277 11.1 Object- Relational Mapping Concepts…… APPENDIX 11.2 Persistence service overview 280 11.2.1N ed object 112.2 Mapping Concepts……… d日目日卓争 1 Deb 11.2.3 Understanding the Class Agent API 285 A.1 11.3 Building persistent classes ,286 A.1 11.3.1 Creating a Persistent Class in the Class builder 287 A.7 11.3.2 Defining Persistent Attributes with the Mapping A.1 Assistant 288 A.1. 11.3.3 Working with Object Refer 292 A2 Deb 11.4 Working with Persistent Objects 293 11.4.1 Creating New Persistent objects 294 11.4.2 Reading Persistent Objects Using the Query Service 95 114.3 Updating Persistent Objects……… 297 11. 4. 4 Deleting Persistent Objects 298 Index 11.5 UML Tutorial: Advanced Sequence diagrams 11.5.1 Creating and Deleting Objects ·:44.4b日 298 11.5.2 Depicting Control Logic with Interaction Frames 300 1.6 Summary 301 12.1 XML Overview、, 303 12.1. Why Do We Need XML? 304 12.1.2 Understanding XML Syntax 305 12.1.3 Defining XML Semantics 307 12.2 XML Processing Concepts 309 12.2.1 Processing XML Using a Parser 309 1222 Modeling XML with the dOM…… 310 12.2.3 Features of the iXML Libran 310 12.3 Case Study: Developing a Reading List ADT 311 12. 4 Case Study: Building an XML Document 314 12.5 Case Study: Reading an XML Document 320 12.6 UML Tutorial: Advanced Activity Diagrams 325 12.7 Summary ∴327 3 Where to c From Here srD7NED rmE APPENDIX A Debugging Objects w AEs3 A 1 Debugging Objects Using the Classic ABAP Debugger 333 A.1.1 Displaying and Editing Attributes 333 A 1.2 Tracing Through Method 336 3 Displaying Events and Event Handler Methods 336 A.1.4 Viewing Reference Assignments for an Object 337 A.1.5 Troubleshooting Class-Based Exceptions A 2 Debugging objects Using the New ABAP Debugger 340 BT升A10 Indes 345y Introduction With all of the hype surrounding object-oriented programming, it can be difficult to separate the truth from fantasy. If you have picked up this book, it is likely that you have developed an interest in learning more about what the excitement is all about. This book provides the answers that you are looling for The goal of this book is to teach you how to think about writing abap software from an object-orienLed point-of-view. After reading this book, you will be quipped to work with many of the new and exciting ABAP-based technologies based on ABAP Objects such as Web Dynpro, ABAP Object Services, SAP Busi ness Workflow and Web services Target Group and Prerequisites This book is intended for ABAP application developers that have some basic expe rience writing ABAP programs using the ABAP Development Workbench. Basic ABAP language concepts are not covered in this book, so you have not worked with ABAP before, read ABAP Objects-ABAP Programming in SAP NetWeaver SAP PRESS, 2007). Of course, in an introductory book such as this, no prior object-oriented experience is expected The object-oriented extensions to the ABap programming language (i,e,, the Objects part of ABAP Objects)were made available in SAP R/3 4.6C. Therefore you do not havc to have the latest version of the SAP NetWeaver application Server ABAP (AS ABAP) to start working with most of the object-oriented con cepts described in this book. However, additions to the standard that were added in subsequent releases are pointed out where appropriate If you want to reproduce the examples in the book and don't have access to an as ABAP instance, you can download a trial version from thC SAP Developer Net work(http://sdn.sapcom)thatyouCanlinstallonyourlocalPc.Fromthemain page, select DOWNLOADS SoFTWARE DOWNLOADS SAP NETWEAVER MAIN RELEASES. There you will find several versions of the AS ABAP that you can install depending on your preferred operating system, and so on. Each download pack- 15

...展开详情
2014-12-02 上传 大小:53.41MB
举报 收藏
分享

评论 下载该资源后可以进行评论 共2条

ijkkgjkgjkjkghjhgjhj 扫描版的,读起来很难受,确实是这一本。https://www.sap-press.com/object-oriented-programming-with-abap-objects_3597/
2019-01-20
回复
ptyqsh 还不错,帮助我解决了问题!
2015-10-14
回复
Object-Oriented Programming with Object-C

Object-Oriented Programming with Object-C Object-C 进阶书籍---面向对象

立即下载
IMS DB Hierarchy Design Examples - App Prog Ref

学习IMS数据库很好的参考 IMS这方面资料网上很难找的

立即下载
MINIGUI-PROG-GUIDE-V1.6-C.pdf

MINIGUI-PROG-GUIDE-V1.6-C.pdfMINIGUI-PROG-GUIDE-V1.6-C.pdfMINIGUI-PROG-GUIDE-V1.6-C.pdfMINIGUI-PROG-GUIDE-V1.6-C.pdf

立即下载
MINIGUI-PROG-GUIDE-V1.3

MINIGUI-PROG-GUIDE-V1.3-c

立即下载
MINIGUI-PROG-GUIDE-V2.0-4C.pdf

MINIGUI-PROG-GUIDE-V2.0-4C.pdf

立即下载
MINIGUI-PROG-GUIDE-V2.0-3C_编程指南

MINIGUI-PROG-GUIDE-V2.0-3C_编程指南

立即下载
ATMEL SAM-BA 和 SAM-PROG用户手册

挺不错的,从安装到烧写 有例子 AT91SAM7S,AT91SAM7X,AT91SAM260/9261的具体操作

立即下载
MINIGUI-PROG-GUIDE-V2.0-4E

minigui 编程指南英文版,通俗易懂

立即下载
dpdk-prog-guide-1.7.0

dpdk program guide dpdk 编程向导

立即下载
QL-PROG系列编程器使用说明

QL-PROG系列编程器使用说明

立即下载
MINIGUI-PROG-GUIDE-V2.0-3C(xcf comment).pdf

minigui 编程指导 能用于linux的2.0版本

立即下载
ic-prog(PIC编程软件)

This is a simple program for Win95/98/XP to program the PIC firmware from a HEX-file (the type generated by Microchip's MPLABTM) into a PIC microcontroller. Most modern PICs (like the PIC16F84, 16F628, 12F675, dsPIC30Fxxxx) can be reprogrammed many times, because the program can be erased el

立即下载
真正的ATMEL SAMBA and SAM-PROG 用户手册

真正的ATMEL SAMBA and SAM-PROG 用户手册,过去从CSDN上下的全是一个差的版本,下完后记得感谢我哦

立即下载
JLINK V8 固件恢复办法(使用SAM-PROG)

JLINK V8 固件恢复办法(使用SAM-PROG),其中包括Install AT91-ISP v1.13安装文件,jlink-v8.bin文件以及使用说明

立即下载
IC-Prog 1.0.6B 多语种版

IC-Prog 1.0.6B编程器上位软件 支持JDM-Programmer, STK200, AN589等多种编程器 支持PIC大多数单片机,51单片机89S52 89S53, Atmel Tiny22 ,支持多种eeprom, flash等

立即下载
prog1209

prog1209prog1209

立即下载
MINIGUI编程指南V3.0(PROG-GUIDE-V3.0-C).rar

MINIGUI编程指南V3.0(PROG-GUIDE-V3.0-C).rar MINIGUI编程指南V3.0(PROG-GUIDE-V3.0-C).rar

立即下载
关于泊松点过程的生成方法-Report1_POISSON_Prog.pdf

关于泊松点过程的生成方法-Report1_POISSON_Prog.pdf 在百度上看很多人问平面内泊松点怎么生成,以前我也迷茫的很久,刚好今天找到一个很有用的方法,分享给大家! Report1_POISSON_Prog.pdf 泊松点生成

立即下载
Prog虚拟软件

prog是一款虚拟软件,可以在你的电脑上实现虚拟空间

立即下载