Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
4Activity
0 of .
Results for:
No results containing your search query
P. 1
Exercise # 2

Exercise # 2

Ratings: (0)|Views: 87 |Likes:
Published by api-3735504

More info:

Published by: api-3735504 on Oct 15, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

03/18/2014

pdf

text

original

Exercise # 2:
Objectives:
Develop Web Dynpro Application with more than one view and facilitating navigation
from one view to the other.
Tasks required to be performed for development:
1.Creation of package :
\ue000Refer exercise # 1 for creation of package.
2.Creation of Web Dynpro component with a window:

\ue000Select Web dynpro Component / Intf. from the list
\ue000Enter a name (Suggested name: \u2018ZWD_<your number>_EX2\u2019)
\ue000A dialog box appears with the message, \u2018The WD object does not exist .Create

Object?\u2019 .Click on \u2018Yes\u2019.
\ue000The WD component description and the Window name are entered and clicked on
\u2018\u221a\u2019 .Assign this object to the package.
\ue000We get some of the defaults in the hierarchy.
3.Creation of Web Dynpro view:
\ue000Right click on the Web Dynpro Component ,select Create\ue001View
\ue000Enter View Name and Description
\ue000We get number of tab sheets and in the layout of the view, place the UI Element
which is found under the \u2018Favorites\u2019 which is explained in point # 4.
\ue000Repeat the above 3 process and create another view in the similar way.
4.Placing UI element on the view layout:

\ue000Drag the UI element \u2018Button\u2019 and place it on the Layout of both the views.
\ue000In the \u2018Text\u2019 properties of the button control, Enter the \u2018Button Description\u2019
\ue000Click \u2018Events \u2018onAction\u2019 property of the button, a dialog box is displayed where the

action, description and the outbound plug is specified.
\ue000When double clicked on the \u2018onAction\u2019 ,it takes you to the method list as shown
below:
\ue000\ue000Repeat the same process with the button on the other view.
5.Embed both views in the window:
\ue000Double click on the Window \ue001\u2018MAIN_WINDOW\u2019, to the right side, \u2018MAIN_WINDOW\u2019
appears. Right click on the \u2018MAIN_WINDOW\u2019 and click on \u2018Embed view\u2019.
\ue000Select the \u2018View to Be Embedded\u2019 and \u2018Component of View\u2019 from the F4 provided.

After the views are embedded, the navigation link is created between both the
views. Once this is done, you will be able to find the links created as in the
following snapshot.

\ue000

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->