You are on page 1of 13

Vikalp

finding ways

Web-Dynpro ABAP

05/04/16

Vikalp Solutions Pvt Limited

Vikalp
finding ways

Introduction
Web Dynpro is the SAP Net Weaver
programming model for *user interfaces
and provides support when developing
the Web representation of *business
applications.
* Business application refers to any application that is important to running your
business.

User Interface is the ways in which the product is designed to interact with the
user in terms of text menus, check-boxes, click able images, drag-and-drop
approaches.

05/04/16

Vikalp Solutions Pvt Limited

Vikalp
finding ways

Structure
In Web Dynpro, each user interface is
always made up of the same basic
elements (such as UI elements or
events triggered by the user). These
basic elements are declared using Web
Dynpro tools. The event handling is
programmed in separate source code
areas which are executed automatically
at runtime when the event is triggered.

05/04/16

Vikalp Solutions Pvt Limited

Vikalp
finding ways

Why WebDynpro ?

The Web Dynpro model is based on the *Model View Controller


paradigm and has the following features that build on the
classic dynpro model:

Clear separation of business logic and display logic


Uniform metamodel for all types of user interfaces
Execution on a number of client platforms.
Extensive platform independence of interfaces
The model is used to manage information and notify
observers when that infor-mation changes. It contains only
data and functionality that are related by a common purpose.
Logic
Input --> Processing --> Output
Controller --> Model --> View

05/04/16

Vikalp Solutions Pvt Limited

Vikalp
finding ways

Components of Web Dynpro Component :


There are 3 components of Web Dynpo
Component

Component Controller
View
Windows

And Web Dynpro Application to execute the application.

05/04/16

Vikalp Solutions Pvt Limited

Vikalp
finding ways

Web-Dynpro Hierarchy

05/04/16

Vikalp Solutions Pvt Limited

Vikalp
finding ways

Custom & Component Controllers


Component controllers are created
automatically when u create a component
but custom controllers should be created
by yourself when u feel to need it.
Advantages of Component Controllers :

1) Task separation (any piece of work that is


undertaken or attempted).
2) Decreases complexity.
05/04/16

Vikalp Solutions Pvt Limited

Vikalp
finding ways

Component Controller
The component controller provides data and
processing logic that it should be possible to
display or change for all views of a component.
The component controller is the master controller
for a Web Dynpro component. As soon as you
declare the existence of a Web Dynpro component,
the component controller is automatically created.

05/04/16

Vikalp Solutions Pvt Limited

Vikalp
finding ways

View
What is View

A view describes the layout and


behavior of a rectangular area of a
user interface.
Uses of View

Every Web Dynpro application has at


least one view. The layout of a view is
made up of different user interface
elements, which can be nested in each
other.
05/04/16

Vikalp Solutions Pvt Limited

Vikalp
finding ways

Windows
Window has long been used by
the computer industry to refer to
a (usually) rectangular portion of
the display on a computer
monitor screen that presents its
contents

05/04/16

Vikalp Solutions Pvt Limited

10

Vikalp
finding ways

Web Dynpro Application


A Web Dynpro application is an
application that can be called from
the user interface. As an
independent program unit it
connects a URL that can be
accessed by the user with a
window in the Web Dynpro
component.
05/04/16

Vikalp Solutions Pvt Limited

11

Vikalp
finding ways

Windows
Hierarchy

05/04/16

Vikalp Solutions Pvt Limited

12

Vikalp
finding ways

Thank You

05/04/16

Vikalp Solutions Pvt Limited

13

Vikalp
finding ways