Beruflich Dokumente
Kultur Dokumente
LetsWebDynpro.PartISAPYard
SAP YARD
TUTORIALS
CODE SNIPPETS
HELP FORUM
SAP QUIZ
35
Shares
Component Controller
Enteremail
Subscribe
Subscribe!
Follow@sapyard
The title is inspired from the book Let us C. A very popular book on C at our
part of the world.
Web Dynpro: It is neither a tool with only drag and drop (those who have
actually not worked would say this) nor is it something only for the Geeks
http://www.sapyard.com/letswebdynproparti/
1/10
10/30/2016
LetsWebDynpro.PartISAPYard
(some who have worked might aunt). So, neither under estimate itnor be
scared of it. It is like any other area of SAP ABAP, which helps the developer
to achieve the requirementand deliver some cool applications.
[adToAppearHere]
In this post and the series to follow, we are planning to provide the concepts
to understand the basics of ABAP Web Dynpro. This series would act as a
launching pad for our readers to develop their initial Web Dynpro
35
Shares applications. We would hand hold you and provide you some actual project
requirements and how to achieve them.
SAPYard
656likes
Liked
Youand2otherfriendslikethis
This series would not give you detailed theories. There are tons of materials
already available for theories and practice.
This would be different than others and would just concentrate on the
basics; and some practical tweaks and tricks.
Lets start..
We can make vague analogy between Web Dynpro terms and classical ABAP
terms for simplicity. Some of them are:
Context <=> Variable
Context node <=> Internal Table/Structures/Work Areas
Context attribute <=> Fields of variables ( single eld or elds of structure /
internal table )
Component Controller <=> TOP include program ( declare global variables )
Custom/View Controller <=> Sub routine ( declare local variables )
Windows <=> Windows ( container )
Views <=> Views ( content )
WD Applications <=> Transaction codes
http://www.sapyard.com/letswebdynproparti/
Subscribe!
Abapinho
7MostPopular&FeaturedArticles
10/30/2016
LetsWebDynpro.PartISAPYard
There are numerous UI elements in WD ABAP. But the most commonly used
ones are:
1. Tray
2. Group
3. Transparent Container
4. Label
5. Text Edit/View
6. Input Field
35
Shares 7. View Container
8. Button
9. Message Area
10. Checkbox
11. Radio Button
12. Drop down by Index
13. Drop down by Key
14. Link to Action
15. Tab Strip
16. Toggle Button
Assistance Class.. What exactly is it?
Assistance Class is the M of the famous MVC, Model View Controller. All
the extraction, massaging and modelling should be done in the assistance
class.
What are the steps to start a Web Dynpro assignment?
Like any normal program, you should rst de ne the Types and Data
(variables, internal tables, work areas), i.e.in WD, you should declare the
contexts.
Fiori App - An
Introduction from an
ABAPer
SAP HANA at Ground
Zero
ABAP on SAP HANA.
Part I. First Program in
ABAP HANA
Get Latitude and
Longitude of any place
Subscribe!
using Google Map API in
SAP
NetworkedBlogs
Blog:
SAPYard
Topics:
Abap,Sap,Hana
Followourblog
Usually, normal program has selection screen parameters and select options.
In most cases, the selection screen data are global. Similarly in WD, the
http://www.sapyard.com/letswebdynproparti/
3/10
10/30/2016
LetsWebDynpro.PartISAPYard
contexts for the initial view(s) are usually de ned at the Component
Controller Level (as they are global).
In normal programs, the global variables are automatically available in all
subroutines. In WD, the context of the global component controller are not
automatically available to other controllers. We need to map the context of
component controller to the respective custom/view controllers. By
mapping, it means, context with the same name is created in the
custom/view controllers (and they are linked). It is like passing parameters
35
Shares to the sub routines in normal ABAP. If the parameters are changed in the sub
routine, the same is re ected in the calling program. Similarly if the context
of the component controller is changed in the custom/view controller, it is
re ected globally.
[adToAppearHereLink]
This post is just a teaser for the upcoming series. In the next post, we would
show you in simple steps, how to create a web dypro application. And we are
sure, you wont forget the steps after you create one.
NOVEMBER 3, 2014
If you liked this post, please hit the share button at the left side of your screen.
Thank you very much for your time!!
Our series on Web Dynpro ABAP
http://www.sapyard.com/letswebdynproparti/
4/10
10/30/2016
LetsWebDynpro.PartISAPYard
Subscribe!
26
http://www.sapyard.com/letswebdynproparti/
5/10
10/30/2016
LetsWebDynpro.PartISAPYard
35
Shares
Subscribe!
Previous post
10 COMMENTS
Next post
http://www.sapyard.com/letswebdynproparti/
6/10
10/30/2016
LetsWebDynpro.PartISAPYard
Subscribe!
7/10
10/30/2016
LetsWebDynpro.PartISAPYard
Gald that our post was helpful. Please keep visiting and leave
your comments/suggestions for us to improve.
Regards,
http://www.SAPYard.com
Subscribe!
Soumya Darshan Nath | December 29, 2015 at 12:03 pm | Reply
Very good posting. Please post MVC concept with
realtime example in wd-abap.
http://www.sapyard.com/letswebdynproparti/
8/10
10/30/2016
LetsWebDynpro.PartISAPYard
Regards,
Team SAPYard.
Nice job
Shares
Subscribe!
http://www.sapyard.com/letswebdynproparti/
9/10
10/30/2016
LetsWebDynpro.PartISAPYard
Regards,
Team SAPYard.
Subscribe!
Enteryourcommenthere...
http://www.sapyard.com/letswebdynproparti/
10/10