BC402_EN_Col62_FV_Part_Ltr - Advanced ABAP(1).pdf

(40008 KB) Pobierz
BC402
Advanced ABAP
SAP NetWeaver
Date
Training Center
Instructors
Education Website
Participant Handbook
Course Version: 2006 Q2
Course Duration: 5 Day(s)
Material Number: 50078917
An SAP course - use it to learn, reference it for work
893458967.032.png 893458967.033.png 893458967.034.png 893458967.035.png 893458967.001.png
 
Copyright
Copyright ¨ 2006 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.
Trademarks
¤
Microsoft§, WINDOWS§, NT§, EXCEL§, Word§, PowerPoint§ and SQL Server§ are
registered trademarks of Microsoft Corporation.
¤
IBM§, DB2§, OS/2§, DB2/6000§, Parallel Sysplex§, MVS/ESA§, RS/6000§, AIX§, S/390§,
AS/400§, OS/390§, and OS/400§ are registered trademarks of IBM Corporation.
¤
ORACLE§ is a registered trademark of ORACLE Corporation.
¤
INFORMIX§-OnLine for SAP and INFORMIX§ Dynamic ServerTM are registered trademarks
of Informix Software Incorporated.
¤
UNIX§, X/Open§, OSF/1§, and Motif§ are registered trademarks of the Open Group.
¤
Citrix§, the Citrix logo, ICA§, Program Neighborhood§, MetaFrame§, WinFrame§,
VideoFrame§, MultiWin§ and other Citrix product names referenced herein are trademarks of
Citrix Systems, Inc.
¤
HTML, DHTML, XML, XHTML 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, SAP Logo, R/2, RIVA, R/3, SAP ArchiveLink, SAP Business Workflow, WebFlow, SAP
EarlyWatch, BAPI, SAPPHIRE, Management Cockpit, mySAP.com Logo and mySAP.com are
trademarks or registered trademarks of SAP AG in Germany and in several other countries all
over the world. All other products mentioned are trademarks or registered trademarks of their
respective companies.
Disclaimer
THESE MATERIALS ARE PROVIDED BY SAP ON AN "AS IS" BASIS, AND SAP EXPRESSLY
DISCLAIMS ANY AND ALL WARRANTIES, EXPRESS OR APPLIED, INCLUDING WITHOUT
LIMITATION WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE, WITH RESPECT TO THESE MATERIALS AND THE SERVICE, INFORMATION, TEXT,
GRAPHICS, LINKS, OR ANY OTHER MATERIALS AND PRODUCTS CONTAINED HEREIN. IN
NO EVENT SHALL SAP BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL,
CONSEQUENTIAL, OR PUNITIVE DAMAGES OF ANY KIND WHATSOEVER, INCLUDING
WITHOUT LIMITATION LOST REVENUES OR LOST PROFITS, WHICH MAY RESULT FROM
THE USE OF THESE MATERIALS OR INCLUDED SOFTWARE COMPONENTS.
g200711543852
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.
Type Style
Description
Example text
Words or characters that appear on the screen. These
include field names, screen titles, pushbuttons as well as
menu names, paths, and options.
Also used for cross-references to other documentation
both internal (in this documentation) and external (in
other locations, such as SAPNet).
Example text
Emphasized words or phrases in body text, titles of
graphics, and tables
EXAMPLE TEXT
Names of elements in the system. These include report
names, program names, transaction codes, table names,
and individual key words of a programming language,
when surrounded by body text, for example SELECT
and INCLUDE.
Screen output. This includes file and directory names
and their paths, messages, names of variables and
parameters, and passages of the source text of a program.
Example text
Exact user entry. These are words and characters that
you enter in the system exactly as they appear in the
documentation.
Example text
Variable user entry. Pointed brackets indicate that you
replace these words and characters with appropriate
entries.
<Example text>
iii
2006/Q2
¨ 2006 SAP AG. All rights reserved.
893458967.002.png 893458967.003.png 893458967.004.png 893458967.005.png 893458967.006.png 893458967.007.png 893458967.008.png 893458967.009.png 893458967.010.png 893458967.011.png 893458967.012.png 893458967.013.png
 
About This Handbook
BC402
Icons in Body Text
The following icons are used in this handbook.
Icon
Meaning
For more information, tips, or background
Note or further explanation of previous point
Exception or caution
Procedures
Indicates that the item is displayed in the instructor's
presentation.
iv
¨ 2006 SAP AG. All rights reserved.
2006/Q2
893458967.014.png 893458967.015.png 893458967.016.png 893458967.017.png 893458967.018.png 893458967.019.png 893458967.020.png 893458967.021.png 893458967.022.png 893458967.023.png 893458967.024.png 893458967.025.png 893458967.026.png 893458967.027.png 893458967.028.png 893458967.029.png 893458967.030.png
 
Contents
CourseOverview ............................................................................. vii
CourseGoals.................................................................................vii
CourseObjectives ...........................................................................vii
Unit 1: ABAPRuntime.........................................................................1
ABAPRuntime................................................................................2
Unit 2: ABAP Types and Data Objects................................................... 25
Data Types andDataObjects............................................................. 27
UsingStructures ............................................................................ 64
Global Types and Global Constants. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Unit 3: Analysis Tools for Programs....................................................111
ABAP Debugger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Assertions andBreakpoints ..............................................................128
TheCode Inspector .......................................................................145
RuntimeAnalysis ..........................................................................156
Unit 4: Internal Tables ......................................................................167
Defining Internal Tables...................................................................168
Using Internal Tables......................................................................185
Unit 5: Function Groups . ..................................................................221
Function Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .222
Function Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .232
Calling Function Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .253
Unit 6: ABAPOpen SQL ...................................................................271
Architecture of theSAPWebApplicationServer......................................273
SQL Trace ..................................................................................281
Indices - TheBasics.......................................................................291
ABAPOpenSQL: OptimizingStatements..............................................307
TableBuffering .............................................................................340
v
2006/Q2
¨ 2006 SAP AG. All rights reserved.
893458967.031.png
Zgłoś jeśli naruszono regulamin