Developing Web Dynpro ABAP Applications
Create Your First Application with Web Dynpro ABAP
Step 1: Creating and Editing a Component
Step 2: Structuring 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 View in a Window
Step 8: Defining Navigation
Step 9: Creating and Testing a Web Dynpro Application
Concepts of Web Dynpro ABAP
Architecture of Web Dynpro
Web Dynpro Component
View
View Set
Plugs and Navigation Links
Web Dynpro Window
Window Plugs
Controllers
Context
Context Nodes: Properties
Data Binding and Mapping
Event
Action
Interfaces of Web Dynpro Components
Web Dynpro Application
Web Dynpro Model
Modification-Free Enhancements for Web Dynpro ABAP
Creating an Enhancement Implementation
Hiding an Enhancement Implementation
Creating an Additional View
Implementing Enhancements in a View
Implementing Enhancements in the Controller
Implementing Enhancements in a Window
Adjusting Enhancements After an Upgrade
Tasks
Initial System-Wide Configuration Settings for Web Dynpro ABAP
Active Services in SICF
Fully Qualified Domain Names (FQDN)
Web Dynpro ABAP: Development in Detail
Basics
Web Dynpro Component
View
UI Elements of Views
Structure of the View Context
Data Binding
UI Element Actions
Parameter Mapping
Action Event Handlers
Component Controller
Context Mapping
Programming Controller Methods
Reference Variable WD_CONTEXT
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
Instance Methods: 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
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
Adobe Flash Island and Themes
Adobe Flash Island and Drag & Drop
Microsoft Silverlight Islands Integration
Data Transfer for UI Element SilverlightIsland
Eventing for UI Element SilverlightIsland
HTML Integration
Communication between Web Dynpro and UI Elements for HTML Integration
Portal Integration
Portal Binding: Prerequisites
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
Highlighting Entries with Errors
Supporting Job Profiles
Dynamic Tables in Interactive Forms
Sending E-mails from Forms
Supported Elements of the Web Dynpro Native Object Library
Digital Signatures in Form Integration
Restrictions
Not Recommended and Obsolete Integration Techniques
Performance Considerations
Examples
Notes
Office Integration
Using OfficeControl
File Export
Active Component Framework (ACF)
Life Cycle of Active UI Elements
Working with White Lists
Creating Certificates
Distributing Certificates to Client Computers
Creating Whitelists
Defining Downloads (Server -> Directory)
Defining Uploads (Directory -> Server)
Defining File Enhancements
Defining Applications
Defining Parameters
Defining Parameter Values
Enhancements to Transaction WDR_ACF_WLIST
Transaction WDR_ACF_WLIST: Allowing Certificates to be Saved Using Browsers
Transaction WDR_ACF_WLIST: Releasing Client Directories
SAP List Viewer in Web Dynpro ABAP
Personalizing SAP List Viewer
Integrating ALV into your Web Dynpro Application
Defining ALV Component Usage
Providing Data for ALV Display
Embedding ALV Views
Configuring Dynamically with ALV Configuration Model
Objects of the ALV Configuration Model
Getting the ALV Configuration Model
Configuring Standard ALV Functions
Standard Functions of ALV and Presettings
Sorting
Filters
Calculating (Aggregation)
Settings for Aggregation
Intermediate Results
Specifying the Initial View of Applications
Configuring Views
Saving Configuration Data Records
Exporting
Exporting to Microsoft Excel
Print Version
Managing ALV Display Areas
Header of ALV Display
Fields
Columns
Column Headers
Position of Columns
Cell Variants and Cell Editors
Defining Multiple Cell Editors for a Column
Configuring Scroll Bars
Header and Footer Areas
Creating Modeling Objects and Elements
Design Object Settings
Creating Modeling Area
Defining the Positioning of the Settings Dialog Box
Defining the Appearance of the ALV Display
Assigning Properties to Columns and Cells
Size of ALV Display, 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
Display with Crystal Reports
Substitute Text for Empty Output
Providing Application-Specific Functions
Generating, Getting, and Deleting Functions
Preparing the Context
Defining User Interface Elements
Specifying the Position in the Toolbar
Controlling Visibility and Activation Status
Events for Handling Functions
Providing ALV Standard Functions Using Application-Specific UI Elements
Handling Interaction
Handling Interaction Without Data Change
Defining the Selection of Rows and Columns
Using Hyperlinks and Buttons as Cell Editors
Activating and Deactivating the ALV Output
Handling Interaction with Editable ALV
Controlling Write-Protection for the ALV Output
Changing the Cell Editor
Enabling Addition and Deletion of Rows
Adding Entire Pages with Input Ready Rows
Specifying Check Times
Refreshing the Display
Drag and Drop
Providing Help for Users
Web Dynpro ABAP Applications with CAF Guided Procedures
Quality Assurance and Supportability
eCATT and Web Dynpro ABAP
Web Dynpro ABAP Unit Test Framework
Running Web Dynpro ABAP Applications Without a Browser
Performing Value Checks for Web Dynpro ABAP Applications
Debugging Web Dynpro ABAP Applications
Debugging Web Dynpro Applications Using the Context Menu
Web Dynpro ABAP Debugging with Debugging Scripts
Web Dynpro Trace Tool
Performance Monitor
Runtime Analysis Tool (RAT)
Calling Runtime Analysis Tool (RAT)
Browser Help Shortcuts
Advanced Concepts
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
Reading and Settin the Lead Selection
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 Nodes
Data Binding Using Index and Key
Fixed Values of Attributes
Range Context Nodes
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
Handling Images and 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
Suggested Values for Input Fields
Controlling Input History for InputFields
Use of Search Help Exits for Suggested Value Lists
Messages
Integrating Messages
Configuration of Messages
Reusable Components and the Message Area
12-Hour Time Format
Converting Currency Amounts
DECFLOAT Data Types
Accessibility in Web Dynpro ABAP Applications
Help Texts for Web Dynpro Applications
Explanation UI Element
Explanation Property
Classic F1 Help
Setting Help Links in the Help Center
Parameters for Links to Documents in Knowledge Warehouse
Setting Help Links for a Web Dynpro Application
Setting Help Links for Multiple WD Applications and Application Configurations
Overriding Help Links Dynamically
Internationalization and Translation
Printing Web Dynpro ABAP Applications
Stylesheets in Web Dynpro ABAP
Version Comparisons in Web Dynpro ABAP
Defining Selection Criteria with Select Options
Architecture of the Select Options
Attribute Types of Select Options
Specifying Attributes for the Selection
Output Order of Atttributes
Properties and Handling of Specific Attribute and Field Types
Exceptions and Error Messages
Embedding Select Options
Defining the Layout of Select Options
Defining Multivalue Fields
Suppressing Pattern Search for Attributes
Inserting Multiple Values Simultaneously into Select Options
Collapsing and Expanding Multiple Rows of an Attribute
Fuzzy Search in the Select Options Component
Grouping Attributes in Select Options
Personalization Options for Saved Searches
Changing the Default Browser Detection
Cross-Component Programming
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
Web Dynpro ABAP Administration
Logging
Monitoring Web Dynpro ABAP Applications
Reference