Sie sind auf Seite 1von 9

Web Dynpro ABAP Training Day 5

[Advanced Concepts, Enhancements, Best Practices]

Confidential | Copyright Larsen & Toubro Infotech Ltd.

Agenda
Introduction

Course Objectives Participant Expectations

Integration with Adobe Forms Adobe Flash Island Integration Modification Free Enhancements Best Practices and Standards Checklist for high performing WDA Programming Reference s Hands-on Exercises

Integration with Adobe Forms

Review Objectives and Participant Expectations Action Items Test

Confidential | Copyright Larsen & Toubro Infotech Ltd.

Hands-On - Integration with Adobe Forms


Print Scenario printing and displaying forms
Interactive Scenario forms containing input enabled elements Offline Scenario upload existing Forms as MIME Objects into Web Dynpro component Digital Signatures forms containing digital signatures The exercise will help understand the following Integrating interactive/print form into a Web Dynpro ABAP application

Confidential | Copyright Larsen & Toubro Infotech Ltd.

Advance Concepts - Adobe Islands


Integrate Adobe Flash or Flex content into Web Dynpro ABAP Adobe Flex Builder required for Flash development - not part of the SAP NetWeaver shipment

With Adobe Flex Builder, an Adobe Flash application is created and loaded into the Mime repository of a Web Dynpro component.

This Mime object is referenced by the Flash Island UI element

Confidential | Copyright Larsen & Toubro Infotech Ltd.

Modification Free Enhancements


Create/Change Enhancement Implementation
Enhance View layout and Navigation Enhance Controller

Attributes Context Pre-exit, Post-exit, Overwrite

Enhance Component

Show Enhancement Framework in the system using any SAP application

Confidential | Copyright Larsen & Toubro Infotech Ltd.

Best Practices
Some tell-tale signs to look out for:
Little

or no use made of Web Dynpro Logic placed within View of redundant workarounds

Component concept
Business

Controllers
Development

added to overcome a lack of understanding, not a deficiency in Web Dynpro


Inefficient

use of backend resources performance problems are

Consequently,

often built-in to the architecture

Principle: The Web Dynpro Component is both the fundamental unit of development and the unit of reuse; 1 Component = 1 Business Task
Confidential | Copyright Larsen & Toubro Infotech Ltd. 6

Best Practices coding standards


Dont make Web Dynpro components too large
Distributing

work between several developers is harder

Reusability

is poor

Dont make Web Dynpro components too small


The The

application might not perform well resulting sea of components might reduce maintainability level too small system overheads

Reuse

Higher

Web Dynpro ABAP Object naming conventions

Web Dynpro ABAP estimation sheet will be released soon by the Quality team
Confidential | Copyright Larsen & Toubro Infotech Ltd. 7

Checklist for high Performing WDA Programming


Do not write your entire application source code in Web Dynpro components Write source code in ABAP OO classes Use dynamic navigation or dynamic component usages only if it is absolutely necessary Do not create a mega context for all data belonging to one application View context should contain only the data necessary for the view Use the assistance class or other ABAP OO classes for the data exchange Do not create deep-nested contexts. Use singleton nodes if nesting is necessary Do not use dynamic attributes (IF_WD_CONTEXT_NODE_INFO>ADD_ATTRIBUTE) Do not insert any TransparentContainer UI elements into Container UI elements, for example, Groups As far as possible, do not use the UI element tree
Confidential | Copyright Larsen & Toubro Infotech Ltd. 8

References

SAP Help Library


SDN Tutorials L&T Infotech TeamSAP http://teamsap.lntinfotech.com/sites/km/nw/KnowledgeBase/Forms/AllItems. aspx?FilterField1=Technology&FilterValue1=Web%20Dynpro%20for%20 ABAP

Confidential | Copyright Larsen & Toubro Infotech Ltd.

Das könnte Ihnen auch gefallen