BC412_EN_Col63_FV_Part_A4.pdf

(33428 KB) Pobierz
BC412
ABAP Dialog Programming Using
EnjoySAP Controls
SAP NetWeaver
Date
Training Center
Instructors
Education Website
Participant Handbook
CourseVersion:63
CourseDuration:5Days
Material Number: 50085285
An SAP course - use it to learn, reference it for work
893192477.032.png 893192477.033.png 893192477.034.png 893192477.035.png 893192477.001.png
 
Copyright
Copyright ¨ 2007 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.
g2007102211540
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
2007
¨ 2007 SAP AG. All rights reserved.
893192477.002.png 893192477.003.png 893192477.004.png 893192477.005.png 893192477.006.png 893192477.007.png 893192477.008.png 893192477.009.png 893192477.010.png 893192477.011.png 893192477.012.png 893192477.013.png
 
About This Handbook
BC412
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
¨ 2007 SAP AG. All rights reserved.
2007
893192477.014.png 893192477.015.png 893192477.016.png 893192477.017.png 893192477.018.png 893192477.019.png 893192477.020.png 893192477.021.png 893192477.022.png 893192477.023.png 893192477.024.png 893192477.025.png 893192477.026.png 893192477.027.png 893192477.028.png 893192477.029.png 893192477.030.png
 
Contents
CourseOverview......................................................... vii
CourseGoals...........................................................vii
CourseObjectives .....................................................vii
Unit 1: Introduction to EnjoySAPControls ..........................1
Introduction toEnjoySAPControls ...................................2
Unit 2: Control Framework Basics.....................................7
Control Framework BasicsOverview.................................8
Controls and Screens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Changing the Attributes of a Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
AutomationQueue.................................................... 57
Control Events......................................................... 78
Unit 3: SAPContainer .................................................119
TheContainer Concept .............................................121
SAPCustomContainer Control....................................126
SAPDialogBoxContainer Control ................................130
SAPDockingContainer Control ...................................134
SAPSplitter Container Control.....................................159
SAPEasy Splitter Container Control ..............................190
Unit 4: Context Menus.................................................195
Context Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .196
Unit 5: Text Edit Control...............................................233
Text Edit Control......................................................234
Unit 6: SAPGridControl ..............................................265
SAP Grid Control: Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .267
Transporting Data and Additional Information. . . . . . . . . . . . . . . . . . . .286
Adapting the Grid Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .293
Events .................................................................317
Unit 7: Tree Control.....................................................347
TreeControl: Introduction...........................................349
Tree Control: Creating a Tree Control Instance . . . . . . . . . . . . . . . . .361
TreeControl: Creating aHierarchy................................380
Tree Control: Additional Functions of the Tree Model . . . . . . . . . .389
v
2007
¨ 2007 SAP AG. All rights reserved.
893192477.031.png
Zgłoś jeśli naruszono regulamin