Web Dynpro for ABAP
Web Dynpro for ABAP
Content
Web Dynpro for ABAP
Getting Involved
Architecture of Web Dynpro
Web Dynpro Component
View
View Set
Plugs and Navigation Links
Web Dynpro Window
Window Plugs
Controller
Context
Context Nodes: Properties
Data Binding and Mapping
Event
Action
Interfaces of Web Dynpro Components
Web Dynpro Application
Web Dynpro Model
Go and Create First Application with Web Dynpro ABAP
Schritt 1: Creating and Editing a Component
Step 2: Designing the First View
Step 3: Context Mapping of the First View
Step 4: Binding the Attribute
Step 5: Designing the Second View
Step 6: Maintaining the Context of the Second View
Step 7: Embedding the Views in a Window
Step 8: Defining the Navigation
Step 9: Creating and Testing a Web Dynpro Application
Web Dynpro ABAP: Development in Detail
Basics
Web Dynpro Component
Web Dynpro View
UI Elements of the View
Structure of the View Context
Data Binding
UI Element Actions
Parameter Mapping
Action Event Handlers
Component Controller
Context Mapping
Programming Controller Methods
WD_CONTEXT Reference Variable
WD_THIS Reference Variable and the Local Controller Interface
Methods of the Local Controller Interface
Hook Methods: Methods Called by the Runtime
Predefined Methods of the Local Controller Interface
Events and Event Arguments
Supply function
Free Methods in Application Development
Cross-Controller Method Call
Web Dynpro Runtime APIs
Filling the Context
Phase Model
Client Implementation
Web Dynpro Window
Navigating Between Two Views
Window Plugs: Startup and Exit
Restrictions in CLOSE WINDOW Functions
Web Dynpro Application
URL of a Web Dynpro Application
Fully Qualified Domain Names (FQDN)
URLs and Namespaces
Using Parameters to Call a Web Dynpro Application
Cross-Component Programming
The Controllers of a Web Dynpro Component
Component Usages
Component Usage without Controller Access
Component Usage with Controller Access
Navigation Through Window Plugs
Cross-Component Context Mapping
External Context Mapping
Working with Web Dynpro Component Interfaces
Creating a Web Dynpro Component Interface Definition
Implementing a Web Dynpro Interface Definition
Example for the Implementation of an Interface Definition
Working With Faceless Components
Dynamic Programming
Dynamic Layout Manipulation
Working Dynamically with Parameter Mappings
Dynamic Context Manipulation
Working Dynamically with Component Usages
Dynamically Creating Component Usages
Dynamically Embedding an Interface View
Method Call in a Dynamically Created Component Usage
Dynamically Registering an Event Handler to an Event
Integration
Adobe Flash Islands Integration
Data Transfer for UI Element FlashIsland
Eventing for UI Element FlashIsland
Portal Integration
Binding to Portal: Prerequisites
Creating Web Dynpro ABAP iViews
Portal Events
Triggering a Portal Event
Registering and Handling an Event
Portal Navigation
Object-Based Navigation (OBN)
Absolute Navigation
Relative Navigation
Resume Plugs and Portal Navigation
Work Protect Mode
Integrating Forms
Integration Scenarios
Prerequisites for Form Integration
Creating Web Dynpro Applications Using Forms
Supported Elements of the Adobe Library
Digital Signatures in Form Integration
Restrictions
Not Recommended and Obsolete Integration Techniques
Performance Considerations
Examples
Notes
File Export
SAP List Viewer in Web Dynpro ABAP
Attributes, Fields, and Columns
Integration of ALV in Your Application
Defining the Component Usage
Providing the Data
Using the ALV Views
Objects of the ALV Configuration Model
Getting the ALV Configuration Model
Class Diagram
Managing ALV Output Areas
Header of ALV Output
Fields
Columns
Column Header
Position of Columns
Footer and Paginators
Header and Footer Areas
Creating Design Objects and Elements
Design Object Settings
Examples of Design Objects
Settings Dialog Box
Appearance of ALV Output
Assigning Properties to Columns and Cells
Size of ALV Output, Columns, and Cells
Visibility of Individual Areas
Color of ALV Output, Columns, and Cells
Text Properties
Lines Between Columns and Rows
Table as Hierarchy
Table Data as Business Graphic
Substitute Text for Empty Output
Predefining Standard ALV Functions
Sort
Filtering
Calculation (Aggregation)
Settings for Aggregation
Intermediate Results
Configuring and Personalizing the ALV Output
Saving Configuration Data Records
Specifying the Initial View of Applications
Export
Microsoft Excel
Adobe Acrobat
Functions, Interactions, and Events
Providing Functions
Providing Standard ALV Functions
Creating, Getting, and Deleting Functions
Preparing the Context
Specifying User Interface Elements
Specifying the Position in the Toolbar
Controlling Visibility and Activation Status
Events for Handling Functions
Handling Interaction Without Data Changes
Selecting Rows and Columns
Using Hyperlinks, Buttons, and Toggle Buttons
Handling Interaction in Editable ALV
Write-Protection and Activation
Adding and Deleting Rows
Changing Cell Content
Specifying Check Times
Refreshing the Display
Providing Help for Users
Methods and Events of the Interface Controller
DATA_CHECK
GET_CONFIG_DATA
Configuration Key
GET_MODEL
GET_MODEL_EXTENDED
SET_FOCUS
SET_DATA
ON_AFTER_CONFIG
ON_CELL_ACTION
ON_CLICK
ON_DATA_CHECK
ON_FUNCTION
ON_LEAD_SELECT
ON_SELECT
ON_STD_FUNCTION_AFTE
ON_STD_FUNCTION_BEFO
Web Dynpro ABAP Applications with CAF Guided Procedures
Advanced Concepts
System Logon
Prerequisites
Configuration Settings
Password Logon Scenarios
Changing Your Password with Basic Authentication
Password Changes in the SSO Environment
User-specific Changes
Example
Context in Detail
Declaration of the Context
Context at Design Time and Runtime
Programming of the Context
Direct Reference to a Context Node
Reference Path to Deeper Context Nodes
Reading the Attribute Value of a Context Element
Reading the Structure from a Context Element
Writing Data to Existing Context Elements
Writing Data to New Context Elements
Data Binding of User Interface Element Properties
Properties of Context Attributes
Data Types in the Context Node
Data Binding Using Index and Key
Fixed Values of Attributes
Context Change Log (Recording User Entries)
Working with the Assistance class
Service Calls in a Web Dynpro Application
Creating a Service Call
Using a Service Call
Suspend and Resume Calls
Window: Inbound and Outbound Plug Parameters
Modification-Free Enhancements
Creating an Additional View
Implementing Enhancements in a View
Implementing Enhancements in the Controller
Implementing Enhancements in a Window
Implementing Enhancements in a Component
Adjusting Enhancements After an Upgrade
Handling Web Icons
Drag and Drop
Working with Dialog Boxes
Calling Dialog Boxes of the Same Component
Calling Dialog Boxes of a Used Component
Calling a Confirmation Dialog Box
Input Help
ABAP Dictionary Search Help
OVS Value Help
Freely Programmed Input Help
Select Options
Messages
Message Integration
Configuration of Messages
Reusable Components and the Message Area
Adaptation
Using Adaptation
Component Configuration
New Configuration Editor
Creating a Configuration in the Component Configurator
Editing the Configuration in the Component Configurator
Standard Configuration Editor for Component-Defined Configuration
Special Context Attribute Types
Generic Primary Attributes
Configuration Parameters
Application Configuration
Personalization and Customizing
Component-Defined Adaptation
Creating and Changing Component-Defined Configuration Data
Creating and Changing Component-Defined Customization Data
Delta Handling in Customizing and Personalization
Notes on Working with Adaptation Data
Decorative UI Elements
Configuration of an Included ALV Component
12-Hour Time Format
Accessibility in Web Dynpro ABAP Applications
Help Texts for Web Dynpro Applications
Explanation UI Element
Explanation Property
Classic F1 Help
Internationalization and Translation
Stylesheets in Web Dynpro ABAP
Version Comparisons in Web Dynpro for ABAP
Quality Assurance and Supportability
Debugging Web Dynpro ABAP Applications
Web Dynpro Trace Tool
ICM Tracing
HTTP Browser Tracing
HTTP Proxy
Performance Monitor
Unified Rendering Light Speed in Web Dynpro ABAP
Focus Handling in Browser
Demo Applications in Package SWDP_DEMO
DEMODYNAMIC
DEMO_CONTEXT_CHANGE
DEMO_VALUE_HELP
DEMO_COMMON_ASSISTANCE1
DEMO_CONTEXT_MENU_DYNAMIC
DEMO_CONTEXT_MENU_STATIC
DEMO_CUSTOM_EXT_FIELDS
DEMO_CONFIG_TABLE_READER
DEMO_BG_GANTT
Programming Notes for Web Dynpro ABAP Applications
Special Features of Web Dynpro ABAP Programming
Number, Size, and Genericness of Components
Context
Controller
User Interface
Delta Rendering
Tuning and Error Search
Gantt Charts
Multiple Parallel Applications
Using Components and Component Interfaces
Creating and Deleting Components and Views
Checklist for High-Performance WDA Programming
Performance Monitor
Reference
Web Dynpro Tools in the ABAP Workbench
Component Editor
Controller Editor
Controller: Properties
Controller: Context
Creating and Maintaining Context Nodes
Create and Maintain Context Attributes
Defining Mapping
Controller: Attributes
Controller: Events
Controller: Methods
View Editor
View: Layout
View: Inbound and Outbound Plugs
View: Components of the View Controller
Window Editor
Window: View Hierarchy
Window: Inbound and Outbound Plugs
Navigation Links from Outbound Plugs of a Window
Window: Components of a Window Controller
Display an Interface View
Displaying and Defining the Interface Controller
Web Dynpro Application
Web Dynpro Code Wizard
Screen designtime conversion
Restrictions
Transformation Rules
Layout Management
Dynpro Controls
Checkbox
Frame
I/O Field
Pushbutton
Radio Button
Step Loop
Subscreen
Table Control
TabStrip
Text Field
Web Dynpro Text Browser
Web Dynpro ABAP Runtime Analysis
Memory Analysis
Package Assignment and Transport Entry
User Interface Elements
Favorites Category
text Category
Caption
Caption Properties
Explanation
Explanation Properties
Formats for UI Element Explanation
FormattedTextEdit
FormattedTextEdit Properties
FormattedTextView
FormattedTextView Properties
FormattedTextView Events
FormattedTextView Aggregations
Supported Tags
SimpleFormattedTextField
SimpleFormattedTextField Properties
InputField
InputField Properties
Label
Label Properties
SectionHeader
SectionHeader Properties
TextEdit
TextEdit Properties
TextView
TextView Aggregations
TextView Properties
Abstract UI Element Interfaces
AbstractCaption
AbstractCaption Properties
AbstractFormattedTextField
AbstractFormattedTextField Properties
AbstractInputField
AbstractInputField Properties
AbstractInputField Events
action Category
Button
Button Properties
ButtonChoice
LinkChoice
LinkToAction
LinkToAction Properties
LinkToAction Events
LinkToAction Aggregations
LinkToURL
LinkToURL Properties
LinkToURL Aggregations
TimedTrigger
TimedTrigger Properties
TimedTrigger Events
Abstract UI Element Interfaces
AbstractButton
AbstractButton Properties
AbstractButton Events
AbstractButtonChoice
AbstractButtonChoice Properties
selection Category
CheckBox
CheckBox Properties
CheckBoxGroup
CheckBoxGroup Properties
CheckBoxGroup Events
DropDownByIndex
DropDownByKey
ItemListBox
ItemListBox Properties
ItemListBox Events
ItemListBox Aggregations
RadioButton
RadioButton Properties
RadioButton Events
RadioButtonGroupByIndex
RadioButtonGroupByIndex Properties
RadioButtonGroupByIndex Events
RadioButtonGroupByIndex Aggregations
RadioButtonGroupByKey
RadioButtonGroupByKey Properties
RadioButtonGroupByKey Events
ToggleButton
ToggleLink
ToggleLink Properties
TriStateCheckBox
TriStateCheckBox Properties
TriStateCheckBox Events
Abstract UI Element Interfaces
AbstractDropDown
AbstractDropDown Properties
AbstractDropDownByIndex
AbstractDropDownByIndex Properties
AbstractDropDownByIndex Events
AbstractDropDownByKey
AbstractDropDownByKey Properties
AbstractDropDownByKey Events
AbstractToggle
AbstractToggle Properties
AbstractToggle Events
AbstractToggleButton
AbstractToggleButton Properties
complex Category
BreadCrumb
BreadCrumb Properties
BreadCrumb Events
BreadCrumb Aggregations
BreadCrumbStep
BreadCrumbStep Properties
MultipleBreadCrumbStep
MultipleBreadCrumbStep Properties
DateNavigator
DateNavigator Properties
DateNavigator Events
DateNavigator Aggregations
DateNavigatorLegend
DateNavigatorLegend Properties
DateNavigatorMarking
DateNavigatorMarking Properties
Legend
Legend Properties
Legend Aggregations
LegendItem
LegendItem Properties
FrameworkLegendItem
FrameworkLegendItem Properties
MultipleLegendItem
MultipleLegendItem Properties
PhaseIndicator
PhaseIndicator Properties
PhaseIndicator Events
PhaseIndicator Aggregations
Phase
Phase Properties
MultiplePhase
MultiplePhase Properties
RoadMap
RoadMap Properties
RoadMap Events
RoadMap Aggregations
RoadMapStep
RoadMapStep Properties
MultipleRoadMapStep
MultipleRoadMapStep Properties
Shuttle
Shuttle Properties
Shuttle Events
Table
Table Properties
WDUI_TABLE_CELL_DESIGN
Table Events
Table Aggregations
TableColumn
TableColumn Properties
TableColumn Aggregations
TableColumnGroup
TableColumnGroup Aggregations
Popin
Popin Properties
TablePopin
TablePopinToggleCell
TablePopinToggleCell Properties
TablePopinToggleCell Events
TextBar
TextBar Properties
TableRowGrouping
TableRowGrouping Properties
TableRowGrouping Aggregations
TableScrollTipProvider
TableScrollTipProvider Properties
TableStandardCell
TableStandardCell Properties
TableStandardCell Aggregations
TableSingleMarkableCell
TableSingleMarkableCell Properties
TableSingleMarkableCell Aggregations
TreeByKeyTableColumn
TreeByKeyTableColumn Properties
TreeByNestingTableColumn
Tree
Tree Properties
Tree Events
Tree Aggregations
TreeItemType
TreeNodeType
TreeNodeType Properties
TreeNodeType Events
Abstract UI Element Interfaces
AbstractLegendItem
AbstractLegendItem Properties
AbstractMasterTableColumn
AbstractMasterTableColumn Properties
AbstractMasterTableColumn Aggregations
AbstractPopin
AbstractPopin Properties
AbstractPopin Events
AbstractPopin Aggregations
AbstractTableCellVariant
AbstractTableCellVariant Properties
AbstractTableColumn
AbstractTableColumn Properties
AbstractTableColumn Events
AbstractTableColumn-Aggregationen
AbstractTreeNodeType
AbstractTreeNodeType Properties
AbstractTreeNodeType Events
AbstractTreeNodeType Aggregations
AbstractTreeTableColumn
AbstractTreeTableColumn Properties
AbstractTreeTableColumn Events
layout Category
ContextualPanel
ContextualPanel Properties
ContextualPanel Events
ContextualPanel Aggregations
FreeContextualArea
FreeContextualArea Properties
FreeContextualArea Aggregations
ViewSwitch
ViewSwitch Properties
ViewSwitch Events
DropTarget
DropTarget Events
DropTarget Aggregations
HorizontalContextualPanel
HorizontalContextualPanel Properties
HorizontalContextualPanel Events
MessageArea
MessageArea Properties
MessageArea Events
NavigationList
NavigationList Properties
NavigationList Events
NavigationList Aggregations
ExpandableTitle
ExpandableTitle Properties
ExpandableTitle Events
PageHeader
PageHeader Properties
PageHeader Aggregations
PageHeaderArea
PageHeaderArea Properties
PageHeaderArea Aggregations
ButtonRow
ButtonRow Aggregations
HorizontalGutter
HorizontalGutter Properties
InvisibleElement
MultiPane
MultiPane Properties
MultiPane Events
MultiPane Aggregations
TabStrip
TabStrip Properties
TabStrip Events
TabStrip Aggregations
Tab
Tab Properties
Tab Aggregations
ViewContainerUIElement
Group
Group Properties
Group Aggregations
ScrollContainer
ScrollContainer Properties
TransparentContainer
TransparentContainer Properties
Tray
Tray Properties
Tray Events
Tray Aggregations
Layout Basics
Layout
LayoutData
UI Element Container
Layout Optimization for FlowLayout and MatrixLayout
General Layout UI Elements
FlowData
FlowData Properties
FlowLayout
FlowLayout Properties
MatrixData
MatrixData Properties
MatrixHeadData
MatrixLayout
MatrixLayout Properties
PageLayout
PageLayout Aggregations
PagePanel
PagePanel Properties
PagePanel Aggregations
PageFullWidthPanel
PageFullWidthPanel Properties
PageFullWidthPanel Aggregations
RowData
RowHeadData
RowHeadData Properties
RowLayout
GridData
GridData Properties
GridLayout
GridLayout Properties
GridLayout Events
GridLayout Aggregations
UIElement
UIElement Properties
UIElementContainer
UIElementContainer Properties
UIElementContainer Aggregations
Abstract UI Element Interfaces
AbstractPagePanel
AbstractPagePanel Properties
graphic Category
Gantt
UI-Element Gantt
Gantt Properties
Gantt Events
BusinessGraphics
BusinessGraphics Properties
UI Element BusinessGraphics (chartType gantt)
BusinessGraphics Events
BusinessGraphics Aggregations
Accessing Further Methods in a Business Graphics Element
Chart Designer Integration
Editing with the Chart Designer
Category
Category Properties
NumericValue
NumericValue Properties
Point
Point Properties
Point Aggregations
Series
Series Properties
Series Aggregations
SimpleSeries
SimpleSeries Properties
TimeValue
TimeValue Properties
GeoMap
GeoMap Properties
GeoMap Events
ValueComparison
ValueComparison Properties
Image
Image Properties
Image Aggregations
ProgressIndicator
ProgressIndicator Properties
ProgressIndicator Aggregations
Abstract UI Element Interfaces
AbstractIgsElement
AbstractIgsElement Properties
AbstractSeries
AbstractValue
Integration Category
AcfExecute
AcfUpDownload
AcfUpDownload Events
InteractiveForm
InteractiveForm Properties
InteractiveForm Events
BIApplicationFrame
BIApplicationFrame Properties
Access to Actions of a BEx Web Application
OfficeControl
OfficeControl Properties
OfficeControl Events
FileDownload
FileDownload Properties
FileUpload
FileUpload Properties
IFrame
IFrame Properties
Abstract UI Element Interfaces
AbstractActiveComponent
AbstractActiveComponent Properties
AbstractApplet
AbstractApplet Properties
Root Elements of Views
ActiveX
ActiveX Properties
ActiveX Events
ActiveX Aggregations
FlashIsland
FlashIsland Properties
FlashIsland Aggregations
GACDataSource
GACDataSource Properties
GACDataSource Aggregations
GACEvent
GACEvent Properties
GACEvent Events
GACEvent Aggregations
GACEventParameter
GACEventParameter Properties
GACProperty
GACProperty Properties
Abstract UI Element Interfaces
AbstractGenericActiveComponent
AbstractGenericActiveComponent Properties
AbstractGenericActiveComponent Aggregations
UI Elements Without a Category
ContextMenuProvider
ContextMenuProvider Properties
RowRepeater
RowRepeater Properties
RowRepeater Aggregations
DragSourceInfo
DragSourceInfo Properties
DropTargetInfo
DropTargetInfo Properties
ThresholdSlider
ThresholdSlider Properties
ThresholdSlider Events
ThresholdSlider Aggregations
Threshold
Threshold Properties
MultipleThreshold
MultipleThreshold Properties
General Subordinate UI Elements
Link
Link Properties
Menu
Menu Properties
Menu Aggregations
MenuItem
MenuItem Properties
MenuActionItem
MenuActionItem Properties
MenuActionItem Events
MenuCheckBox
MenuCheckBox Properties
MenuCheckBox Events
MenuRadioButton
MenuRadioButton Properties
MenuRadioButton Events
MenuSeparator
MenuBar
MenuBar Properties
MenuBar Aggregations
ToolBar
ToolBar Properties
ToolBar Aggregations
ToolBarButton
ToolBarButton Properties
ToolBarButtonChoice
ToolBarButtonChoice Properties
ToolBarDropDownByIndex
ToolBarDropDownByIndex Properties
ToolBarDropDownByKey
ToolBarDropDownByKey Properties
ToolBarInputField
ToolBarInputField Properties
ToolBarLinkChoice
ToolBarLinkChoice Properties
ToolBarLinkToAction
ToolBarLinkToAction Properties
ToolBarLinkToAction Events
ToolBarLinkToURL
ToolBarLinkToURL Properties
ToolBarSeparator
ToolBarSeparator Properties
ToolBarToggleButton
ToolBarToggleButton Properties
Abstract UI Element Interfaces
AbstractActionChoice
AbstractActionChoice Properties
AbstractActionChoice Aggregations
ViewElement
Methods and Properties of UI Elements
activateAccessKey
hotkey
Primary Property
Properties Used in MultiPane or TablePopin
Data Segments in the Context
InputField in a Table
Deprecated Objects and Functions
Programming Interfaces
Runtime APIs
IF_WD_ACTION
IF_WD_APPLICATION
IF_WD_COMPONENT
IF_WD_COMPONENT_USAGE
IF_WD_COMPONENT_USAGE_GROUP
IF_WD_CONTROLLER
IF_WD_MESSAGE_MANAGER
IF_WD_NAVIGATION_SERVICES
IF_WD_NAVIGATION_SERVICES_NEW
Runtime Repository APIs
IF_WD_REPOSITORY_HANDLE
IF_WD_RR_APPLICATION
IF_WD_RR_CMP_USAGE_GROUP
IF_WD_RR_COMPONENT
IF_WD_RR_COMPONENT_USAGE
IF_WD_RR_CONTROLLER
IF_WD_RR_VIEW
IF_WD_RR_VIEW_CNT_ASSIGNMENT
IF_WD_RR_VIEW_USAGE
IF_WD_RR_WINDOW
IF_WD_VALIDATION
IF_WD_VIEW
IF_WD_VIEW_CONTROLLER
IF_WD_VIEW_ELEMENT
IF_WD_WINDOW
IF_WD_WINDOW_CONTROLLER
IF_WD_WINDOW_MANAGER
CL_WD_CUSTOM_EVENT
Context APIs
IF_WD_CONTEXT
IF_WD_CONTEXT_NODE
IF_WD_CONTEXT_NODE_INFO
IF_WD_CONTEXT_ELEMENT
Structure WDR_CONTEXT_ATTRIBUTE_INFO
Personalization APIs
IF_WD_PERSONALIZATION
Portal Integration APIs
IF_WD_PORTAL_INTEGRATION
CL_WDR_PORTAL_OBNWEB_SERVICE
Service Classes and Interfaces
CL_WD_CONTEXT_SERVICES
CL_WD_DYNAMIC_TOOL
CL_WD_RUNTIME_SERVICES
CL_WD_UTILITIES
CL_WD_TRACE_TOOL and IF_WD_TRACE_TOOL
IF_WD_SELECT_OPTIONS
CL_WD_WEB_ICON
CL_WEB_DYNPRO
Dynamic and Static Context Menus
IF_WD_CONTEXT_MENU_EVENT
IF_WD_CONTEXT_MENU_MANAGER
DEMO_CONTEXT_MENU_DYNAMIC
DEMO_CONTEXT_MENU_STATIC
URL Parameters and Application Parameters
Authorizations Checks for Personlization and Customizing
Information for End Users
Using ABAP Dictionary Search Helps
End User and Administrator Personalization (Customizing)
Tutorials
Go and Create First Application with Web Dynpro ABAP
Schritt 1: Creating and Editing a Component
Step 2: Designing the First View
Step 3: Context Mapping of the First View
Step 4: Binding the Attribute
Step 5: Designing the Second View
Step 6: Maintaining the Context of the Second View
Step 7: Embedding the Views in a Window
Step 8: Defining the Navigation
Step 9: Creating and Testing a Web Dynpro Application
Creating a Simple Flight Info Application
Part 1: Creating and Editing the "Search” View
Part 2: Testing the First View
Part 3: Creating and Editing the "DISPLAY” View
Part 4: Implementing the Data Transport
Part 5: Setting Up Navigation
Interactive Form Use