Getting Started with ABAP
Download the complete source code!
(Sprache: Englisch)
Learn to code in ABAP, SAP's programming language! This book explains ABAP in simple terms, and provides the guidance you need to become fluent in basic ABAP. Once you understand the basics, you'll write your first application, and then learn about more...
Leider schon ausverkauft
versandkostenfrei
Buch (Kartoniert)
49.95 €
Produktdetails
Produktinformationen zu „Getting Started with ABAP “
Klappentext zu „Getting Started with ABAP “
Learn to code in ABAP, SAP's programming language! This book explains ABAP in simple terms, and provides the guidance you need to become fluent in basic ABAP. Once you understand the basics, you'll write your first application, and then learn about more advanced language concepts. Step-by-step instructions, sample code, and hands-on exercises help ensure that you can apply the skills you learn to real-life scenarios. With the help of this book you can take your coding to the next level.Programming Basics
Become familiar with the very basics of ABAP, from syntax, string manipulation, and object creation, to code formatting, data types, and application development.
Programming Tools
Discover the tools at your disposal including the ABAP editor in Eclipse, updated programming features in the new release, and more.
Sample Code
Follow along with step-by-step instructions and full sample code, and become familiar with the intricacies of ABAP as you create your very first programs.Highlights:
ABAP basics
Flow control
Debugging
Creating tables
Defining objects
Data storage in standard memory
Modularization
Table syntax
Lock objects
Pretty print
Inhaltsverzeichnis zu „Getting Started with ABAP “
Introduction ... 15
PART I The Foundation
1 ... The History of SAP Technologies ... 21
... From R/1 to S/4 HANA ... 21
... Navigating an ABAP System ... 23
... Overview of the ABAP Screen in SAP GUI ... 23
... Overview of ABAP Screen in SAP NWBC ... 27
... Overview of ABAP Screen in SAP Fiori ... 27
... ABAP System Landscapes ... 28
... Client/Server Architecture ... 28
... Background Jobs ... 29
... Sandbox, Dev, QA, PRD ... 31
... Finding the Version of a System in SAP GUI ... 33
... The Limitations of Backward Compatibility ... 34
... Summary ... 36
2 ... Creating Your First Program ... 37
... Hello, World! .... 37
... Creating a New Program with Eclipse ... 37
... Creating a New Program in Transaction SE80 ... 40
... Writing a "Hello, World!" Program ... 44
... Data Types ... 46
... The Data Keyword ... 46
... Numeric Data Types ... 47
... Character Data Types ... 49
... Inline Data Declarations ... 51
... Arithmetic and Basic Math Functions ... 52
... Arithmetic Operations ... 52
... Math Functions ... 54
... Flow Control ... 56
... IF Statements ... 56
... CASE Statements ... 59
... DO Loops ... 60
... WHILE Loops ... 60
... Formatting Code ... 61
... Comments ... 63
... Common Commenting Mistakes ... 64
... Using Comments while Programming ... 64
... Classic Selection Screen Programming ... 65
... SELECTION-SCREEN ... 66
... BLOCK ... 67
... PARAMETER .... 69
... SELECT-OPTIONS ... 72
... Selection Texts ... 74
... Program Lifecycle ... 75
... AT SELECTION-SCREEN ... 75
... START-OF-SELECTION ... 76
... Debugging Basics ... 76
... Program to Debug ... 77
... Breakpoints in Eclipse ... 79
... Breakpoints in the SAP GUI ... 83
... Watchpoints in Eclipse ... 88
... Watchpoints in SAP GUI ... 91
... Tying It All Together ... 92
... The Problem ...
... mehr
93
... The Solution ... 94
... Summary ... 95
3 ... Creating Data Dictionary Objects ... 97
... What Is a Data Dictionary? ... 97
... What Is a Database? ... 97
... Data Elements ... 99
... Entity Relationship Diagrams ... 100
... Database Normalization ... 101
... Relationships in ERDs ... 103
... The Flight Data Model ... 105
... Flight Example ERD ... 105
... Creating and Editing Tables ... 108
... Viewing the Flight Table Configuration ... 109
... Viewing the Flight Data ... 116
... Setting Up the Flights Example ... 118
... Creating an Append Structure ... 119
... Creating a Custom Transparent Table ... 122
... Data Elements ... 130
... Viewing the S_BOOK_ID Data Element ... 130
... Creating a New Data Element ... 133
... Domains ... 135
... Viewing the BOOLEAN Domain ... 136
... Creating a New Domain ... 138
... Documentation ... 140
... Maintenance Dialogs ... 141
... Structures and Table Types ... 143
... Creating Structures ... 143
... Creating Table Types ... 145
... Summary ... 146
4 ... Accessing the Database ... 149
... SQL Console in Eclipse ... 149
... SELECT Statements ... 151
... Basic SELECT Statements ... 151
... SELECT SINGLE ... 153
... SELECT...UP TO n ROWS ... 155
... SELECT...WHERE ... 155
... INSERT ... 156
... MODIFY/UPDATE ... 158
... DELETE ... 159
... INNER JOIN ... 160
... LEFT OUTER JOIN ... 163
... FOR ALL ENTRIES IN ... 165
... With SELECT Options ... 167
... New Open SQL ... 169
... Table Locks ... 170
... Viewing Table Locks ... 172
... Creating Table Locks ... 174
... Setting Table Locks ... 175
... Performance Topics ... 179
... Obsolete Database Access Keywords ... 180
... SELECT...ENDSELECT ... 181
... Short Form Open SQL ... 181
... Summary ... 181
5 ... Storing Data in Working Memory ... 183
... Using ABAP Data Dictionary Data Types ... 183
... Data Types ... 183
... Creating Your Own Structures ... 185
... Field Symbols ... 186
... Standard Table ... 188
... Defining Standard Tables ... 188
... READ TABLE ... 190
... LOOP AT ... 193
... Inserting Rows in a Standard Table ... 195
... Changing Rows of a Standard Table ... 196
... Deleting Rows of a Standard Table ... 197
... Sorted Table ... 199
... Defining Sorted Tables ... 199
... Inserting, Changing, and Deleting Sorted Rows ... 200
... BINARY SEARCH ... 202
... DELETE ADJACENT DUPLICATES FROM ... 204
... Hashed Table ... 205
... Defining Hashed Tables ... 205
... Reading Hashed Tables ... 206
... Inserting, Changing, and Deleting Hashed Table Rows ... 207
... Which Table Should Be Used? ... 208
... Updating ABAP Data Dictionary Table Type ... 210
... Copying Table Data ... 212
... Displaying Data from Working Memory ... 213
... Obsolete Working Memory Syntax ... 214
... WITH HEADER LINE ... 215
... OCCURS ... 215
... Square Brackets ([]) ... 215
... Short Form Table Access ... 215
... Summary ... 216
6 ... Making Programs Modular ... 217
... Separation of Concerns ... 217
... Introduction to Object-Oriented Programming ... 220
... What Is an Object? ... 221
... Modularizing with Object-Oriented Programming ... 222
... Structuring Classes ... 223
... Implementation vs. Definition ... 223
... Creating Objects ... 224
... Public and Private Sections ... 225
... Class Methods ... 226
... Importing, Returning, Exporting, and Changing ... 230
... Constructors ... 236
... Recursion ... 237
... Inheritance ... 239
... Global Classes ... 241
... How to Create Global Classes in Eclipse ... 242
... How to Create Global Classes in Transaction SE80 ... 243
... Using the Form-Based View in Transaction SE80 ... 245
... Obsolete Modularization ... 249
... Function Modules ... 249
... Form Subroutines ... 257
... Summary ... 258
7 ... Creating a Shopping Cart Example ... 261
... The Design ... 262
... The Database ... 263
... The Global Class ... 263
... The Access Programs ... 264
... Database Solution ... 266
... Data Elements ... 266
... Transparent Tables ... 271
... Accessing the Database Solution ... 280
... Creating Classic Screens for the Solution ... 286
... Product Maintenance Program ... 286
... Shopping Cart Maintenance Program ... 290
... Summary ... 295
PART II Finishing Touches
8 ... Working with Strings and Texts ... 299
... String Manipulation ... 299
... String Templates ... 299
... String Functions ... 302
... Text Symbols ... 304
... Creating Text Symbols ... 304
... Translating Text Symbols ... 309
... Translating Data in Tables ... 311
... Obsolete Strings and Text ... 316
... Updating the Shopping Cart Example ... 316
... Applying Text Symbols ... 316
... Updating the Database ... 319
... Using the Translation Table ... 324
... Summary ... 327
9 ... Working with Dates, Times, Quantities, and Currencies ... 329
... Dates ... 329
... Date Type Basics ... 330
... Factory Calendars ... 331
... Datum Date Type ... 335
... System Date Fields ... 336
... Date-Limited Records ... 336
... Times ... 337
... Calculating Time ... 338
... Timestamps ... 338
... SY-UZEIT (System Time vs. Local Time) ... 341
... Quantities ... 341
... Data Dictionary ... 342
... Converting Quantities ... 344
... Currencies ... 345
... Data Dictionary ... 346
... Converting Currencies ... 347
... Updating the Shopping Cart Example ... 348
... Updating the Database ... 349
... Updating the Global Class ... 356
... Updating the ABAP Programs ... 358
...Summary ... 361
10 ... Error Handling ... 363
... SY-SUBRC ... 363
... Message Classes ... 364
... Displaying a Message Class ... 364
... Creating a Message Class ... 367
... Using the MESSAGE Keyword ... 368
... Exception Classes ... 372
... Unhandled Exceptions ... 373
... TRY/CATCH Statements ... 378
... Custom Exception Classes ... 381
... Obsolete Exceptions ... 386
... Non-Class-Based Exceptions ... 386
... Updating the Shopping Cart Example ... 389
... Summary ... 392
... Appendices ... 393
A ... Preparing your Development Environment ... 395
B ... Modern UI Technologies ... 431
C ... Other Resources ... 439
D ... The Author ... 443
... The Solution ... 94
... Summary ... 95
3 ... Creating Data Dictionary Objects ... 97
... What Is a Data Dictionary? ... 97
... What Is a Database? ... 97
... Data Elements ... 99
... Entity Relationship Diagrams ... 100
... Database Normalization ... 101
... Relationships in ERDs ... 103
... The Flight Data Model ... 105
... Flight Example ERD ... 105
... Creating and Editing Tables ... 108
... Viewing the Flight Table Configuration ... 109
... Viewing the Flight Data ... 116
... Setting Up the Flights Example ... 118
... Creating an Append Structure ... 119
... Creating a Custom Transparent Table ... 122
... Data Elements ... 130
... Viewing the S_BOOK_ID Data Element ... 130
... Creating a New Data Element ... 133
... Domains ... 135
... Viewing the BOOLEAN Domain ... 136
... Creating a New Domain ... 138
... Documentation ... 140
... Maintenance Dialogs ... 141
... Structures and Table Types ... 143
... Creating Structures ... 143
... Creating Table Types ... 145
... Summary ... 146
4 ... Accessing the Database ... 149
... SQL Console in Eclipse ... 149
... SELECT Statements ... 151
... Basic SELECT Statements ... 151
... SELECT SINGLE ... 153
... SELECT...UP TO n ROWS ... 155
... SELECT...WHERE ... 155
... INSERT ... 156
... MODIFY/UPDATE ... 158
... DELETE ... 159
... INNER JOIN ... 160
... LEFT OUTER JOIN ... 163
... FOR ALL ENTRIES IN ... 165
... With SELECT Options ... 167
... New Open SQL ... 169
... Table Locks ... 170
... Viewing Table Locks ... 172
... Creating Table Locks ... 174
... Setting Table Locks ... 175
... Performance Topics ... 179
... Obsolete Database Access Keywords ... 180
... SELECT...ENDSELECT ... 181
... Short Form Open SQL ... 181
... Summary ... 181
5 ... Storing Data in Working Memory ... 183
... Using ABAP Data Dictionary Data Types ... 183
... Data Types ... 183
... Creating Your Own Structures ... 185
... Field Symbols ... 186
... Standard Table ... 188
... Defining Standard Tables ... 188
... READ TABLE ... 190
... LOOP AT ... 193
... Inserting Rows in a Standard Table ... 195
... Changing Rows of a Standard Table ... 196
... Deleting Rows of a Standard Table ... 197
... Sorted Table ... 199
... Defining Sorted Tables ... 199
... Inserting, Changing, and Deleting Sorted Rows ... 200
... BINARY SEARCH ... 202
... DELETE ADJACENT DUPLICATES FROM ... 204
... Hashed Table ... 205
... Defining Hashed Tables ... 205
... Reading Hashed Tables ... 206
... Inserting, Changing, and Deleting Hashed Table Rows ... 207
... Which Table Should Be Used? ... 208
... Updating ABAP Data Dictionary Table Type ... 210
... Copying Table Data ... 212
... Displaying Data from Working Memory ... 213
... Obsolete Working Memory Syntax ... 214
... WITH HEADER LINE ... 215
... OCCURS ... 215
... Square Brackets ([]) ... 215
... Short Form Table Access ... 215
... Summary ... 216
6 ... Making Programs Modular ... 217
... Separation of Concerns ... 217
... Introduction to Object-Oriented Programming ... 220
... What Is an Object? ... 221
... Modularizing with Object-Oriented Programming ... 222
... Structuring Classes ... 223
... Implementation vs. Definition ... 223
... Creating Objects ... 224
... Public and Private Sections ... 225
... Class Methods ... 226
... Importing, Returning, Exporting, and Changing ... 230
... Constructors ... 236
... Recursion ... 237
... Inheritance ... 239
... Global Classes ... 241
... How to Create Global Classes in Eclipse ... 242
... How to Create Global Classes in Transaction SE80 ... 243
... Using the Form-Based View in Transaction SE80 ... 245
... Obsolete Modularization ... 249
... Function Modules ... 249
... Form Subroutines ... 257
... Summary ... 258
7 ... Creating a Shopping Cart Example ... 261
... The Design ... 262
... The Database ... 263
... The Global Class ... 263
... The Access Programs ... 264
... Database Solution ... 266
... Data Elements ... 266
... Transparent Tables ... 271
... Accessing the Database Solution ... 280
... Creating Classic Screens for the Solution ... 286
... Product Maintenance Program ... 286
... Shopping Cart Maintenance Program ... 290
... Summary ... 295
PART II Finishing Touches
8 ... Working with Strings and Texts ... 299
... String Manipulation ... 299
... String Templates ... 299
... String Functions ... 302
... Text Symbols ... 304
... Creating Text Symbols ... 304
... Translating Text Symbols ... 309
... Translating Data in Tables ... 311
... Obsolete Strings and Text ... 316
... Updating the Shopping Cart Example ... 316
... Applying Text Symbols ... 316
... Updating the Database ... 319
... Using the Translation Table ... 324
... Summary ... 327
9 ... Working with Dates, Times, Quantities, and Currencies ... 329
... Dates ... 329
... Date Type Basics ... 330
... Factory Calendars ... 331
... Datum Date Type ... 335
... System Date Fields ... 336
... Date-Limited Records ... 336
... Times ... 337
... Calculating Time ... 338
... Timestamps ... 338
... SY-UZEIT (System Time vs. Local Time) ... 341
... Quantities ... 341
... Data Dictionary ... 342
... Converting Quantities ... 344
... Currencies ... 345
... Data Dictionary ... 346
... Converting Currencies ... 347
... Updating the Shopping Cart Example ... 348
... Updating the Database ... 349
... Updating the Global Class ... 356
... Updating the ABAP Programs ... 358
...Summary ... 361
10 ... Error Handling ... 363
... SY-SUBRC ... 363
... Message Classes ... 364
... Displaying a Message Class ... 364
... Creating a Message Class ... 367
... Using the MESSAGE Keyword ... 368
... Exception Classes ... 372
... Unhandled Exceptions ... 373
... TRY/CATCH Statements ... 378
... Custom Exception Classes ... 381
... Obsolete Exceptions ... 386
... Non-Class-Based Exceptions ... 386
... Updating the Shopping Cart Example ... 389
... Summary ... 392
... Appendices ... 393
A ... Preparing your Development Environment ... 395
B ... Modern UI Technologies ... 431
C ... Other Resources ... 439
D ... The Author ... 443
... weniger
Autoren-Porträt von Brian O'neill
O'Neill, BrianBrian has a bachelor's degree in Computer Information Systems from California State University, Chico and a master's degree in Information Systems from the University of Nevada, Reno. He has worked in various IT positions, from business analyst to ABAP developer, at International Game Technology in Reno, Nevada; currently, he is writing applications that can connect to an SAP backend using SAP Gateway. He is also an SCN blogger and was a finalist in the 2011 TechEd DemoJam. In his free time, Brian is also a successful background actor and an unsuccessful stand-up comedian.
Bibliographische Angaben
- Autor: Brian O'neill
- 2015, 451 Seiten, mit Abbildungen, Maße: 17,4 x 22,8 cm, Kartoniert (TB), Englisch
- Verlag: Rheinwerk Verlag
- ISBN-10: 1493212427
- ISBN-13: 9781493212422
Sprache:
Englisch
Kommentar zu "Getting Started with ABAP"
0 Gebrauchte Artikel zu „Getting Started with ABAP“
Zustand | Preis | Porto | Zahlung | Verkäufer | Rating |
---|
Schreiben Sie einen Kommentar zu "Getting Started with ABAP".
Kommentar verfassen