SAP Automation GUI Interfaces (BC-FES-AIT)
Components of the SAP Automation GUI Interfaces
New Features in Release 4.5
New Features in Release 4.6
Restrictions
GUI Library Restrictions
GUI Component Restrictions
Kit Contents
Files You Need for Working with the GUI Library
Files You Need when Using the GUI Component
Files You Need for Using the Code Generator
Building and Running the Programs
The GUI Library
Architecture
A Bit of History
Using the GUI Library
The SAPGUI Screen and the GUI Library
The GUI Library Event Structure (IT_EVENT)
Other GUI Library Structures
Working R/3 Transactions and Screens
Connecting to R/3 Application Server
Handling Multiple Sessions
Disconnecting from R/3
Terminating the Connection to R/3
Using the Event Structure (It_Event)
Using Menus
Choosing Buttons on Toolbars
Windows Virtual Key Values
Using Controls
Using Matchcodes
Selecting a Radio Button
Handling a Tab Strip Control
Handling a Table Control
Control Hierarchy
Specifying Coordinates of Controls
Finding Controls
Callback Functions and Macro Recording
Listing Screen and Control Information
Using Screens with ActiveX Controls
Sample Program: SAMPLE.C
GUI Library Reference
Data Structures
IT_EVENT
Eventtype Member of IT_EVENT
IT_SCREEN
IT_CTRL
Control Type (Dlgtype) Values
IT_CTRL Flags Values
DwStyle Values
IT_PFKEYS
IT_PFKEY
IT_MENUS
IT_MENU
IT_TABLEINFO
Table Control Style Flags
IT_TABSTRIPINFO
Tab Strip Control Style Flags
Functions
It_AbortGetEvent
It_Dup
It_DupTo
It_FreeConnection
It_FreeEvent
It_GetEvent
It_GetEventEx
It_GetEventEx Flags
It_GetEventPtr
It_GetTransaction
It_GroupLookup
It_IsGuiRunning
It_ListControls
It_Login
It_Logoff
It_NewConnection
Connection Functions Flags
It_NewGroupConnection
It_NewServerConnection
It_PeekEvent
It_PeekTitle
It_RegisterCallback
It_SendEvent
It_SendEventEx
It_SendPFKeyID
It_SendReturn
It_ServerLookup
It_SetDelSessionHook
It_SetDumpHook
It_SetNewSessionHook
It_StartSapGui
It_StopSapGui
ItEv_CustomizeTable
ItEv_DumpEvent
Finding Controls
Specifying the Control Parameter
Specifying the Flags Parameter
ItEv_FindControl
ItEv_FindControlEx
ItEv_FindControlByPos
ItEv_FindPFKeyID
ItEv_GetAccelerator
ItEv_GetControlCode
ItEv_GetControlCount
ItEv_GetControlInfo
ItEv_GetControlTooltip
ItEv_GetSessionCount
ItEv_SetCheck
ItEv_SetControlInfo
ItEv_SetCurPos
ItEv_SetCurPosByCtrl
ItEv_SetMenu
ItEv_SetMenuID
ItEv_SetMenuKey
ItEv_SetOKCode
ItEv_SetPFKey
ItEv_SetPFKeyID
ItEv_SetTableColumnPermutation
ItEv_SetValue
ItEv_SetWidth
ItEv_SetTabButton
ItEv_SupportFlags
GUI Component: ActiveX/OLE Automation
GUI Component Objects
Connecting to R/3
Using Multiple Sessions
GUI Component Application Examples
Spreadsheet Playback from Excel
Screen Capture from Visual FoxPro
GUI Component Reference
SapEvent Object
SapEvent Properties
SapEvent Methods
Connect
DisplaySapGui
FindByField
FindByValue
FindExtended
FindFrom
FindFromExtended
FindKey
FindMenu
GetEvent
GetEventAlways
GetEventExtended
GetEventFull
GetEventFront
HasEvent
Logoff
Logon
NewGroupConnection
NewServerConnection
NewServerConnectionEx
OpenConnection
Quit
SendEvent
SendEventAlways
SendEventToFront
SendKey
SendKeyName
SendMenu
SendMenuName
SendMessageHelp
SendOKHelp
SendScrollColumn
SendScrollRow
SendTabButton
SetControlSelected
SetControlValue
SetCursorByControl
SetKeyByName
SetMenuByName
StartGui
StopGui
SupportFlags
TableEntry
Transaction
SapEvent Events
OnDelSession
OnLogoff
OnNewEvent
OnNewSession
SapMenus Object Collection
SapMenus Properties
SapMenus Methods
SapMenu Object
SapMenu Properties
SapKeys Object Collection
SapKeys Properties
SapKeys Methods
SapKey Object
SapKey Properties
SapControls Object Collection
SapControls Properties
SapControls Methods
SapControl Object
SapControl Properties
SapTableControlInfo Properties
SapTabStripControlInfo Properties
Enumerated Types
SapControlType Enumeration
SapDirection Enumeration
SapGetType Enumeration
SapGuiFlags Enumeration
SapSelectionType Enumeration
SAP Automation GUI Code Generator (BC-FES-AIT)
GUI Code Generator and Related Products
Recording the SAP Session
Starting Session Recording
Opening a Connection
Logging On
Using the Generator GUI
SAP GUI and Code Generator Display Differences
Adding a Program Variable
Creating a New Subroutine
Inserting a Message Check
Controls window
Logging Off
Adapting the Generated Program
Understanding Generated Code
Avoiding Menus
Finding Controls