没有合适的资源?快使用搜索试试~ 我知道了~
首页sap BC412_ABAP_Dialog_Programming_Using_Enjoy_SAP_Control
资源详情
资源评论
资源推荐

BC412 ABAP Dialog Programming Using
EnjoySAP Controls
BC412
R/3 System Release 46B 24.06.2002
0


BC412 ABAP Dialog Programming Using EnjoySAP Controls................................................................................1
Copyright.................................................................................................................................................................2
ABAP Workbench...............................................................................................................................................3
Course Prerequisites............................................................................................................................................4
Target Group.......................................................................................................................................................5
Course Overview.....................................................................................................................................................1
Course Goal.........................................................................................................................................................2
Course Objectives...............................................................................................................................................3
Course Content....................................................................................................................................................4
Overview Diagram - Course Overview...............................................................................................................5
Style Conventions used in this Handbook...........................................................................................................6
Introduction to the Control Framework..................................................................................................................1
Introduction to the Control Framework: Unit Objectives...................................................................................2
Overview Diagram - BC412...............................................................................................................................3
Introduction to the Control Framework:Overview..............................................................................................4
Control Framework (CFW) - General Architecture............................................................................................5
CFW Architecture in Detail................................................................................................................................6
SAP's GUI Strategy for R/3................................................................................................................................7
Custom Controls and ABAP Objects..................................................................................................................8
Custom Controls: Automation Queue.................................................................................................................9
Custom Controls: Events...................................................................................................................................10
Control Framework: Class Hierarchy...............................................................................................................11
Introduction to the Control Framework:Controls and Screens.........................................................................12
Relationship Between Controls and Screens.....................................................................................................13
Screen Element Custom Control: Use...............................................................................................................14
Creating a Custom Control Area.......................................................................................................................15
Creating a Container Control: Proces Flow......................................................................................................16
Creating a Container Control Instance..............................................................................................................17
Syntax: Declaring Reference Variables............................................................................................................18
Information in the Class Builder.......................................................................................................................19
Syntax: Creating an Instance (With a Constructor)..........................................................................................20
Using a Flag Variable........................................................................................................................................21
Creating an EnjoySAP Control Instance: Proces Flow.....................................................................................22
Creating an Instance of the SAP Picture Control..............................................................................................23
Creating an Instance of the SAP HTML Viewer..............................................................................................24
Result: Screen, Container, and EnjoySAP Control...........................................................................................25
Introduction to the Control Framework:SAP Picture Control and SAP HTML Viewer..................................26
URL: Pointer to Data.........................................................................................................................................27
URLs for External Data Sources.......................................................................................................................28
SAP Controls: Accessing External Data by URL.............................................................................................29
SAP Controls: Accessing Internal Data by URL..............................................................................................30
SAP Picture Control: Features..........................................................................................................................31

SAP Picture Control: DISPLAY_MODE.........................................................................................................32
SAP HTML Viewer: Features...........................................................................................................................33
Introduction to the Control Framework:Changing the Attributes of a Control.................................................34
Displaying Data: Proces Flow...........................................................................................................................35
Displaying a Picture in the Picture Control.......................................................................................................36
Syntax: Calling Instance Methods.....................................................................................................................37
Syntax: Reading Instance Attributes.................................................................................................................38
Method Calls and the Automation Queue.........................................................................................................39
Sending the Automation Queue to the GUI: End of PBO.................................................................................40
Dependent Method Calls...................................................................................................................................41
Solution: Explicit Flush.....................................................................................................................................42
Automation Queue: Using the ABAP Debugger..............................................................................................43
Automation Queue: Using the Automation Trace.............................................................................................44
Destroying Control Instances............................................................................................................................45
Overview: Control Events Overview................................................................................................................46
Recap: Control Events.......................................................................................................................................47
Control Events: General Overview...................................................................................................................48
Overview: Control Events - ABAP Objects Events..........................................................................................49
Control Events: Overview.................................................................................................................................50
Overview: ABAP Objects Events.....................................................................................................................51
Events of ABAP Objects Instances...................................................................................................................52
Events of the SAP Picture Control....................................................................................................................53
Events of the SAP HTML Viewer....................................................................................................................54
ABAP Objects: Creating Handler Methods......................................................................................................55
Creating an Event Handler Method:Static Methods.........................................................................................56
Syntax: Local Classes........................................................................................................................................57
Syntax: Methods of Local Classes....................................................................................................................58
Syntax: Handler Method for an Event...............................................................................................................59
ABAP Objects: Registering Handler Methods..................................................................................................60
Linking an Event to a Handler Method.............................................................................................................61
Syntax: Linking an Event to a Static Handler Method......................................................................................62
Syntax: Linking an Event to an Instance Handler Method...............................................................................63
Overview: Control Events - Control Events and the Control Framework........................................................64
Control Events: Overview.................................................................................................................................65
Control Events: Automation Control as Filter..................................................................................................66
Control Events: Configuring the Control Framework.......................................................................................67
SAP Picture Control Events: Event IDs............................................................................................................68
SAP HTML Viewer Events: Event IDs............................................................................................................69
Registering Control Events with the CFW........................................................................................................70
Overview: Control Events - Event Types.........................................................................................................71
Event Type: System Event................................................................................................................................72
Event Type: Application Event.........................................................................................................................73

Registering Application Events.........................................................................................................................74
Screen and Control:Call Sequence for Application Events..............................................................................75
Application Events and Screen Input Checks (1)..............................................................................................76
Application Events and Screen Input Checks (2)..............................................................................................77
System Event and set_new_ok_code................................................................................................................78
Introduction to the Control Framework:Controls and Program Modularization..............................................79
Modularization Used So Far.............................................................................................................................80
Other Modularization Possibilities....................................................................................................................81
Introduction to the Control Framework: Unit Summary...................................................................................82
Control Framework Basics Exercise 1..............................................................................................................83
Note on the Sample Solutions for Unit 02........................................................................................................94
Introduction to the Control Framework Solution Task 1..................................................................................95
SAP Container.........................................................................................................................................................1
SAP Container: Unit Objectives.........................................................................................................................2
Overview Diagram BC412..................................................................................................................................3
SAP Container Overview:The Container Concept..............................................................................................4
Uses for Containers.............................................................................................................................................5
SAP Container Classes........................................................................................................................................6
Graphical Visualization of Containers................................................................................................................7
Dialog Box Level and Top-Level Container.......................................................................................................8
Technical Methods for Attaching SAP Containers.............................................................................................9
Visibility and Lifetime of SAP Containers.......................................................................................................10
SAP Container Overview:SAP Custom Container Control..............................................................................11
SAP Custom Container: Features......................................................................................................................12
Creating an Instance of the SAP Custom Container Control............................................................................13
Relinking an SAP Custom Container................................................................................................................14
SAP Container Overview:SAP Dialog Box Container Control........................................................................15
SAP Dialog Box Container: Features................................................................................................................16
Creating an Instance of the SAP Dialog Box Container Control......................................................................17
SAP Container Overview:SAP Docking Container Control.............................................................................18
SAP Docking Container: Features....................................................................................................................19
SAP Docking Container: Linking to the Screen...............................................................................................20
Creating an Instance of the SAP Docking Container Control...........................................................................21
Reading and Setting Attributes.........................................................................................................................22
Relinking an SAP Docking Container..............................................................................................................23
SAP Container Overview:SAP Splitter Container Control...............................................................................24
SAP Splitter Container: Features......................................................................................................................25
SAP Splitter Container: Use..............................................................................................................................26
Creating an Instance of the SAP Splitter Container Control.............................................................................27
SAP Splitter Container: Finding a Cell Reference............................................................................................28
Reading and Setting Attributes.........................................................................................................................29
SAP Container Overview:SAP Easy Splitter Container Control......................................................................30
剩余63页未读,继续阅读

















安全验证
文档复制为VIP权益,开通VIP直接复制

评论1