BC400 Introduction to the ABAP Workbench. COURSE OUTLINE Course Version: 10 Course Duration: 5 Day(s)
SAP Copyrights and Trademarks 2014 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iseries, pseries, xseries, zseries, eserver, z/vm, z/os, i5/os, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer, StreamWork, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects Software Ltd. Business Objects is an SAP company. Sybase and Adaptive Server, ianywhere, Sybase 365, SQL Anywhere, and other Sybase products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Sybase, Inc. Sybase is an SAP company.
All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. Copyright. All rights reserved. iii
iv Copyright. All rights reserved.
About This Handbook This handbook is intended to complement the instructor-led presentation of this course, and serve as a source of reference. It is not suitable for self-study. Typographic Conventions American English is the standard used in this handbook. The following typographic conventions are also used. This information is displayed in the instructor s presentation Demonstration Procedure Warning or Caution Hint Related or Additional Information Facilitated Discussion User interface control Example text Window title Example text Copyright. All rights reserved. v
vi Copyright. All rights reserved.
Contents ix Course Overview 1 Unit 1: Flow of an ABAP Program 1 Lesson: Describing the Processing of ABAP Programs 3 Unit 2: ABAP Workbench Introduction 3 Lesson: Introducing the ABAP Development Environment 3 Lesson: Organizing ABAP Developments 3 Lesson: Developing Programs 3 Lesson: Finalizing Development 5 Unit 3: Basic ABAP Language Elements 5 Lesson: Defining Elementary Data Objects 5 Lesson: Using Basic ABAP Statements 5 Lesson: Working with the ABAP Debugger 7 Unit 4: Modularization 7 Lesson: Introducing Modularization 7 Lesson: Modularizing Using Subroutines 7 Lesson: Modularizing Using Function Modules 7 Lesson: Implementing Function Modules 7 Lesson: Modularizing Using BAPIs 7 Lesson: Modularizing Using Global Classes 8 Lesson: Implementing Simple Global Classes and Static Methods 8 Lesson: Modularizing Using Local Classes 9 Unit 5: Complex Data Objects 9 Lesson: Working with Structures 9 Lesson: Working with Internal Tables 11 Unit 6: Data Modeling and Data Retrieval 11 Lesson: Modeling Data 11 Lesson: Reading Single Database Records 11 Lesson: Reading Multiple Database Records 11 Lesson: Handling Other Aspects of Database Access 12 Lesson: Working with Authorization Checks 13 Unit 7: Classic ABAP Report 13 Lesson: Implementing ABAP Lists 13 Lesson: Implementing Selection Screens 13 Lesson: Implementing Events of ABAP Reports Copyright. All rights reserved. vii
15 Unit 8: Screen 15 Lesson: Creating Screens 15 Lesson: Creating Input/Output Fields 15 Lesson: Implementing Data Transport 17 Unit 9: SAP List Viewer 17 Lesson: Using the SAP List Viewer 19 Unit 10: Web Dynpro ABAP 19 Lesson: Describing Web Dynpro ABAP 19 Lesson: Implementing Navigation in Web Dynpro 19 Lesson: Implementing Data Transport in Web Dynpro 21 Unit 11: Program Analysis Tools 21 Lesson: Using the Code Inspector 23 Unit 12: SAP Standard Software Adjustments 23 Lesson: Adjusting the SAP Standard Software viii Copyright. All rights reserved.
Course Overview TARGET AUDIENCE This course is intended for the following audiences: Application Consultant Data Consultant Development Consultant Industry / Business Analyst Consultant Support Consultant Technology Consultant Project Manager Developer Copyright. All rights reserved. ix
x Copyright. All rights reserved.
UNIT 1 Flow of an ABAP Program Lesson 1: Describing the Processing of ABAP Programs Describe the SAP NetWeaver Application Server architecture Describe the execution of a simple dialog program by the ABAP runtime system Copyright. All rights reserved. 1
Unit 1: Flow of an ABAP Program 2 Copyright. All rights reserved.
UNIT 2 ABAP Workbench Introduction Lesson 1: Introducing the ABAP Development Environment Describe the structure of the ABAP Repository Use the search tools of the ABAP Repository Use the Object Navigator for displaying Repository objects Lesson 2: Organizing ABAP Developments Describe the ABAP development infrastructure Create packages Lesson 3: Developing Programs Create ABAP programs Use the ABAP Editor Activate ABAP programs Lesson 4: Finalizing Development Create transactions Release change requests Copyright. All rights reserved. 3
Unit 2: ABAP Workbench Introduction 4 Copyright. All rights reserved.
UNIT 3 Basic ABAP Language Elements Lesson 1: Defining Elementary Data Objects Know the differences between types and variables and how to use them Lesson 2: Using Basic ABAP Statements Use the ABAP syntax of standard basic programming concepts Lesson 3: Working with the ABAP Debugger Use the ABAP Debugger to analyse values of elementary data objects during program execution. Copyright. All rights reserved. 5
Unit 3: Basic ABAP Language Elements 6 Copyright. All rights reserved.
UNIT 4 Modularization Lesson 1: Introducing Modularization Describe the basics and an overview of modularization Lesson 2: Modularizing Using Subroutines Modularize using subroutines Lesson 3: Modularizing Using Function Modules Use function modules of function groups Lesson 4: Implementing Function Modules Create function groups Create function modules Lesson 5: Modularizing Using BAPIs Modularize using BAPIs Lesson 6: Modularizing Using Global Classes Copyright. All rights reserved. 7
Unit 4: Modularization Describe object-oriented programming Use methods of global classes Handle instances Lesson 7: Implementing Simple Global Classes and Static Methods Create simple global classes Lesson 8: Modularizing Using Local Classes Handle local classes 8 Copyright. All rights reserved.
UNIT 5 Complex Data Objects Lesson 1: Working with Structures Define structured data objects Implement basic ABAP statements for structured data objects Analyze structured data objects in debugging mode Lesson 2: Working with Internal Tables Define internal tables Implement basic ABAP statements with internal tables Analyze internal tables in debugging mode Copyright. All rights reserved. 9
Unit 5: Complex Data Objects 10 Copyright. All rights reserved.
UNIT 6 Data Modeling and Data Retrieval Lesson 1: Modeling Data Explain the purpose and benefits of data models Describe the SAP flight data model Explain transparent tables Lesson 2: Reading Single Database Records Read single database records Lesson 3: Reading Multiple Database Records Implement a SELECT loop Implement an array fetch Lesson 4: Handling Other Aspects of Database Access Read client-specific data Use database indexes Explain the SAP table buffer Read data from several database tables Identify ways to change data in a database table Copyright. All rights reserved. 11
Unit 6: Data Modeling and Data Retrieval Lesson 5: Working with Authorization Checks Explain the SAP authorization concept Implement authorization checks 12 Copyright. All rights reserved.
UNIT 7 Classic ABAP Report Lesson 1: Implementing ABAP Lists Implement ABAP lists Lesson 2: Implementing Selection Screens Describe the attributes and benefits of selection screens Implement options for restricting selections of selection screens Lesson 3: Implementing Events of ABAP Reports Implement the events of ABAP reports Copyright. All rights reserved. 13
Unit 7: Classic ABAP Report 14 Copyright. All rights reserved.
UNIT 8 Screen Lesson 1: Creating Screens Create screens and understand screen processing Lesson 2: Creating Input/Output Fields Create input/output fields on screens Lesson 3: Implementing Data Transport Implement data transport on screens Copyright. All rights reserved. 15
Unit 8: Screen 16 Copyright. All rights reserved.
UNIT 9 SAP List Viewer Lesson 1: Using the SAP List Viewer Describe EnjoySAP controls Implement a simple SAP List Viewer Copyright. All rights reserved. 17
Unit 9: SAP List Viewer 18 Copyright. All rights reserved.
UNIT 10 Web Dynpro ABAP Lesson 1: Describing Web Dynpro ABAP Describe Web Dynpro ABAP Lesson 2: Implementing Navigation in Web Dynpro Implement navigation in Web Dynpro Lesson 3: Implementing Data Transport in Web Dynpro Implement data transport in Web Dynpro Copyright. All rights reserved. 19
Unit 10: Web Dynpro ABAP 20 Copyright. All rights reserved.
UNIT 11 Program Analysis Tools Lesson 1: Using the Code Inspector Explain the purpose and use of the Code Inspector Use the Code Inspector for simple analysis of programs Copyright. All rights reserved. 21
Unit 11: Program Analysis Tools 22 Copyright. All rights reserved.
UNIT 12 SAP Standard Software Adjustments Lesson 1: Adjusting the SAP Standard Software Explain various terms for adjusting the SAP standard software Describe the available options for adjusting the SAP standard software Describe various enhancement types Copyright. All rights reserved. 23