Web Dynpro concept

Hi all,
What is web dynpro concept in ABAP. What are the future scope for the same.
Regards,
John

Hi,
Web Dynpro ABAP  
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/db22242d-0701-0010-28a2-aeaa1fefd706
Hope that the following also helps you.
Web Dynpro for ABAP (WD4A, WDA) is the SAP standard UI technology for developing Web
applications in the ABAP environment. It consists of a runtime environment and a graphical
development environment with special Web Dynpro tools that are integrated in the ABAP
Workbench (SE80).
Web Dynpro offers the following advantages for application developers:
The use of declarative and graphical tools significantly reduces the implementation
effort
Web Dynpro supports a structured design process
Strict separation between layout and business data
Reuse and better maintainability by using components
The layout and navigation is easily changed using the Web Dynpro tools
Stateful applications are supported u2013 that is, if the page is changed and the required
data remains intact so that you can access it at any time throughout the entire
application context.
Note that stateless applications are not possible.
Automatic data transport using data binding
Automatic input check
Automatic operation of the Web Dynpro application using the keyboard
User interface accessibility is supported
Full integration in the reliable ABAP development environment
Web Dynpro Architecture
Definition
Web Dynpro is the SAP NetWeaver programming model for user interfaces (UIs).
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
Structure
Metamodel Concept
Web Dynpro provides support for developing Web representation of a business application.
You use specific tools to describe the properties of a Web Dynpro application in the form of
Web Dynpro metadata. The necessary source code is then generated automatically and
executed at runtime. In addition to the events offered by the framework, you can also define
your own events for a Web Dynpro application. However, the event handling must always be
programmed in separate source code areas which are executed automatically when the event
is triggered at runtime.
In Web Dynpro, each user interface is always made up of the same basic elements. These
elements of the metamodel can be statically declared using Web Dynpro tools.
It is also possible to implement elements of the metamodel at runtime and to change them or
reintegrate them at runtime. Using these implementations, you can make any changes or
enhancements to a user interface that has been created by declarative methods by
generating new interface structures at runtime.
This means that you can combine declarative processes and the implementation of source
code.
Graphical Development Tools
To support this declarative concept, both the SAP NetWeaver Developer Studio and the
ABAP Workbench contain a range of Web Dynpro tools. You can therefore generate a large
proportion of a Web Dynpro application using the tools provided, without having to create your
own source code. This applies to the following parts of the application:
Data flow between the front end and back end
Layout of the user interface
Properties of user interface elements
The Web Dynpro tools enable you to create source text areas manually within generated
source texts. These areas are not changed if the source code is regenerated.
Separation of Business and Application Logic
Using Web Dynpro enables a clear separation of business logic and display logic. A Web
Dynpro application runs on the front end and has local or remote access to the back end
system via a service. This means that the display logic is contained in the Web Dynpro
application, while the business logic and the persistence of the business objects run in the
back end system. The following options are currently available for connecting Web Dynpro
applications and the back-end system:
An interface generated using adaptive RFC, through which BAPIs of an SAP system
can be called
An interface for calling Web services
A self-generated interface
The source code required for connecting the Web Dynpro application can be generated
from a UML definition of the Web Dynpro interface. A UML definition can be imported
into the Web Dynpro tools as an XML file.
Conversion of the Model-View-Controller
Conversion of the Model-View-Controller Programming Model
Every Web Dynpro application is structured according to the Model View Controller
programming model:
The model forms the interface to the back end system and thus enables the
Web Dynpro application access to data.
The view is responsible for the representation of the data in the browser.
The controller lies between the view and the model. The controller formats
the model data to be displayed in the view, processes the user entries made by the
user, and returns them to the model.
Web Dynpro ABAP Demonstration Videos
http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
Cheers,
vasavi.v

Similar Messages

  • Reading Material on Web Dynpro

    Hi,
      I am new to Web dynpro concepts.
      Could anyone please send me some reading material or 
      links for a beginners guide.
      My mail id is [email protected]
    Regards,
    Sandeep

    Hi,
    ChrisWhealy book Inside Webdynpro for java:
    http://www.amazon.com/gp/reader/1592290388/ref=sib_dp_top_toc/102-5823260-5699349?ie=UTF8&p=S00B#reader-link
    web dynpro material
    web dynpro material
    Regards,
    Vijayakhanna Raman

  • Best place to begin design of old HTML pages with Web Dynpro

    I am new to web dynpro (and the Netweaver environment).  I just took the EP150 course so I have an idea of how to create pages with both Visual Composer (although I doubt I'll use that much) and in java projects in NWDS. 
    My first application is to be an online purchase requisition application to replace one written in Lotus Domino (this will NOT be integrated with R/3- we will have a seperate DB for these documents outside of R/3).  I have taken the HTML main page from that application and coded it as a JSP but I am getting the impression that the overall design/coding may be simpler if I do the project as a web dynpro.  I want to find some sort of a primer that describes the various controls that go on the web dynpro view in order to figure out how I can take my HTML design and bring it into a web dynpro project.  Can anyone point me to a resource that does this?  I've checked the help and SDN and not found anything that is too helpful yet.
    Can anyone tell me if it would be worthwhile for me to attend the JA310 Web Dynpro course?  I have done a couple of the tutorials posted on SDN for web dynpro but haven't done much else with it as of yet.
    Thanks.
    Dana

    I don't know such a migration guide, but here are some general remarks:
    The Web Dynpro programming model does not use tag-libs, markup, scripting etc. as you might have used in JSP or BSP applications.
    Instead, you create your view layout using the NWDS view designer (or the runtime API) and place UI elements like tables, input fields etc. inside containers.
    Containers have layouts (e.g. MatrixLayout, RowLayout, FlowLayout) and UI elements placed inside a container have layout data for setting individual layout constraints. This is similar to programming in non-Web frameworks like Java Foundation Classes (Swing).
    The UI elements get their data from the view controller context by data binding. There is a hierarchy of controllers (view, custom, component) and the corresponding controllers may be mapped, giving an automatic data flow through the controller hierarchy.
    The complete details of markup (e.g. HTML), client-side scripting, CSS etc. is provided by the client-specific framework part and the application is completely shielded from these technical details.
    This has the additional benefit that a Web Dynpro application can be run on completely different clients without change.
    Example: If tomorrow it will be hip to run your business application inside some other UI technology, e.g. Adobe Flex, SAP will provide a new Web Dynpro client and all Web Dynpro applications will run without change inside this  environment. (Replace Adobe Flex by any other relevant framework).
    Compare this to a programming model, that directly uses HTML, Javascript etc. Good luck rewriting several thousand user interfaces!
    So in your concrete use case, look at your UIs from such a perspective and identify the Web Dynpro concepts. This should help in the migration process.
    Armin

  • Creating a report in Web dynpro using OOPS concept

    Hi all,
             Iam new to web Dynpro, i need to create a report in Web Dynpro  using oops concept. can any one guide me regarding it.
    Regads,
    Easter

    Hi,
    Please refer to these links -
    DEMO_COMMON_ASSISTANCE1 -Example for standard component
    http://help.sap.com/saphelp_nw04s/helpdata/EN/43/1f6442a3d9e72ce10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/EN/43/1f6442a3d9e72ce10000000a1550b0/content.htm
    Regards,
    Lekha.

  • Concepts in web dynpro abap

    concepts in web dynpro abap? how different is it from abap

    hi,
    webdynpro is pragramming model for developing ui which are placed in the portal. abap is totally different in this portal does not comes in to picture .
                                       webdynpro is for developing ui elements like buttons. check boxe etc. we ooabap in the webdynpro abap. not the abap concepts. u should have knowledge on oo concepts.
                                            in webdynpro there r again two ways one is webdynpro abap (ooabap) and the other is webdynpro java inthe second way we use java internally.
                            and also there will two engines j2ee and abap engine . one for webdynpro java and the other for web dynpro abap .

  • Interfaces concept in web dynpro

    Hi all
    Can anyone tell me a way of approaching the interfaces concept in web dynpro?
    Thanks n regards
    chaitanya

    Hi,
    Check this links and work on it.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#13 [original link is broken]
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#12 [original link is broken]
    http://help.sap.com/saphelp_nw70/helpdata/en/20/a5f7416e61212be10000000a155106/frameset.htm

  • Access non-DC project from a DC Web Dynpro project

    Hi,
    I have a DC Web Dynpro project that needs to access a non-DC Java project. As I cannot create a public part of the non-DC Java project then add that public part to the used DC list of the DC Web Dynpro project, I add the non-DC Java project to the build path of the DC Web Dynpro project. That way I can do the coding without any issue, but when I build the Web Dynpro DC, I keep getting building error saying that the Web Dynpro DC doesn't see the classes in the non-DC Java project.
    How can I resolve this issue without switching the non-DC Java project to a DC?
    I am on NW04s.
    Thanks and Best Regards,
    Viet

    Hi Viet,
    There is a way to achieve your purpose, but at the same time, Iu2019m not sure that it will be exactly your requirement.  Anyways, herein, Iu2019m providing you a concept which we had used in our earlier project.
    You need to create a java file with the communication parameters for DC and non DC and after that create a jar file. Now, you create an external library DC of this jar file and publish it as public part with complication and assembly.
    Now, use this external library DC in your DC.
    Thanks
    Gautam Singh

  • Convert JAVA Web Dynpro to ABAP Web Dynpro application

    Hi,
    I was hoping someone could tell me if there is a way to port a JAVA Web Dynpro application to ABAP Web Dynpro. We have some JAVA WD apps that would now make more sense to have running on our ABAP system so we would like to convert them to ABAP WD apps.
    I know the theory is that WD is metadata/XML based so it should be possible to port the WD definition to ABAP and have the ABAP runtime generate the application again in ABAP. I expect that any custom code that is written in JAVA would need to be manually rewritten in ABAP - but it would be great if there was tool or method to at least port the majority of the application.
    Thanks in advance for your help,
    Simon

    Hi Simon
    You are correct in thinking that all WD apps are based on metadata, but unfortunately, the similarity between WD Java and WD ABAP is just a conceptual one, and no such tool exists to convert one to the other.
    In addition to this, there are certain implementation differences between ABAP and Java that mean you could not convert one to the other.  For instance, the whole concept of model objects does not exist in WD ABAP. Therefore, structural entities used in WD Java such as model components could not be tranlsated into anything that exists in ABAP, because the concept is redundant in the target language.
    Sorry about that, but Java and ABAP are sufficiently different beasts that such a tool is not possible.
    Regards
    Chris W

  • Examples of 'calling a web dynpro application with parameters'

    Hi!!
    I'm I have been watching manual 'Web dynpro for abap: advanced concepts' in the sections 'url parameters' and 'calling a web dynpro application with parameters'.
    Is there some example where these terms are seen.
    Thanks in advance.

    Hi Ana,
    a window inbound plug can have parameters.
    These parameters are automatically fished out of the URL by the framework.
    So your inbound plug handler method has easy access to the parameters.
    URL
    http://<host>:port/sap/bc/webdynpro/sap/<your application>?param1=xyz&param2=abc
    The application is configured to call an inbound interface(window) and plug.
    The plug can be declared with parameters.
    Double click on window inbound plug and add your parameters.
    The parameters are made available by framework if present in Launch URL.
    You can also call an application that has parameters  directly entered on the parameters tab.
    ie Parameters can be part of the application launch.
    regards
    Phil

  • File Upload in Web Dynpro ABAP not using File Upload UI element

    Hi all ,
    I have searching for a way to upload a file using the file open dialog ( or even by manually specifying the path/file name) without using the file upload UI Element in ABAP web Dynpro . The  File Upload UI element works for smaller files however with large file sizes 64 MB , the system seems to be running of memory (SYSTEM_NO_ROLL) . This is due to a known fact that the UI element makes a duplicate copy of the whole copy while it does the upload.
    I have been looking at the ACFUPDOWNLOAD as a way to solve this problem but cannot seem to figure out how it works , even the sample program  provided  by SAP does not work. I am working with a regular abap server and not kpro( knowledge mananagement provider)  or portal .
    Any help would be greatly appreciated.
    thanks,
    Ali.

    If you are on NetWeaver 7.01, you can try both the ACFUpDownload UI element or try creating your own FileUpload in Adobe Flex with Flash Islands.  ACFUpDownload requires the KPRO by default (which is why the same application isn't working for you), but you can write your own handler class to act as the KPRO receiver.  Here is an eLearning on the topic:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/109b9b52-bc00-2c10-8786-e4c5e96d7e04
    and source code:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70645070-bb00-2c10-f086-f126721acdb4
    If you want an eLearning on the FlashIslands approach, you can find it here as well:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50d42644-91ef-2b10-228c-9e0ae75b274e
    and Source Code:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f044b62c-90ef-2b10-64a6-9ec25294d133
    However in both of these approaches you still have to be careful with how you handle large files.  The problem is that they are processed often a single binary string.  This makes the processing easy, but requires total amount of session memory at least as large as the file being uploaded.  In NetWeaver 7.02 ABAP adds the concept of Streams and Locators to help with the partial processing of large files.  This feature doesn't come until later this year, but if you are interested you can learn about it here:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80f983df-213e-2c10-ba89-b5a12ef178e8

  • Problem in web dynpro ABAP program

    There are 2 input fields on first view carrid, connid and one "GO" Button
    1) "FLIGHTINFO" is the node under context of first view
    2) " FLIGHTTAB "  is a node under context of component controller having cardinality " 0..n " ,Dictionary structure "SFLIGHT" (i have selected only these many attributes " carrid, connid, fldate, planetype, seatsmax and seatsocc " )
    3) I have created  Method "FLIGHTTAB_FILL" in component controller to fill context node FLIGHTTAB
    Insert the source code for doing the following:
    -     Navigate to context node FLIGHTINFO
    -     Get element at lead selection for context node FLIGHTINFO
    -     Get CARRID and CONNID 
    -     Fill an internal table with all datasets from database table SFLIGHT, who meet the constraints for CARRID and CONNID.
    -     Navigate to context node FLIGHTTAB
    -     Bind the internal table(having all standard fields of sflight ) to the context node FLIGHTTAB ( having those 6 attributs).
    4) On action GO ->Implement the invocation of Method " FLIGHTTAB_FILL".
    5) I have mapped node FLIGHTTAB to context of OUTPUTVIEW.  Display table on view OUTPUT_VIEW (for this i hav used code wizard).
    Problem: after entering values of connid & carrid I m getting proper entries in internal table. but output view is not at all trigger (although i have created plugs). Is it necessary that while binding internal table with context node FLIGHTTAB  should have same no of fields (i.e. in this case 6 )?
    I am a fresher, My concept of bindings and cardinality are not so clear so can anybody help me out? 
    Thanx in advance for replying.

    Hi johnright ,
        No i dont think it is necessary that while binding internal table with context node should have same no of fields as the internal table . You might get some improper values in the corresponding fiels but it will not lead to any error.
      In your OUTPUTVIEW once you created the table UI element in layout and you bind it to FLIGHTTAB node you dont have to use any code wizard method to display the values. If the node contains values it will display automatically. (in your case you are filling it in step #).
    Check :-
    1. In your On action GO after filling the table you are firing the out bound plug :-
        WD_THIS->FIRE_INITIAL_OUT_PLG(
    2.All outbound plug and inbound plug are link properly and every thing is ACTIVATED.
    If still unable to find the error try to debug method wise and find where the error occurs and reply to us.
    Binding:-
    In web dynpro ABAP you will not able to get any value of any variable outside of any method. Here we use context node which is referrence that we create reference to any particular structure we required. Now to hold the values you need to bind
    the values of your internal table to the context node.
    If the node is in view then its values are visible to all the local method of the view.
    If the node is in component controller then  the you bind a value to the node from one view and you can get it in another view.
    Remember binding and mapping are not same.
    Mapping is done between node like inthe second scenario i have explained you need to create a node in view controller and then you need to map it to the corresponding view of component controller to send values across view.
    cardinality:-
    Each node contains data fields that represent one of the following:
        An individual instance of an object type
        A table of instances.
    This property of a node is known as its cardinality of table of instances.
    If you need table instance :- 0..n or 1...n
       In case of 1...n one default value is created. generally we use this as mainly we need to work with table.
    In case you need a individual instance of a object or like you want value like a structure only :-  0...1 or 1....1.
    Thanks & Regards,
    Monishankar C

  • How to use HR Macros in Web Dynpro ABAP

    Hai All,
         Am new to Web dynpro Abap working in HR req.
           Can u pls help me how to import HR Macros in webdy ABAP.
            It will be very much helpful to me. Pls provide any link or doc if available.
    Thanks in Advance,
    Nalla.B

    Hi Nalla,
    if you can't find any Function Modules or BAPIs as Kris suggested, you would basically do this (conceptionally):
    1. What is your business logic supposed to do (output)  and what information does it need (input) for processing.
    2. Build a class in se24 and implement static public methods with the business logic you defined in (1.).
    3. Call the static methods in your WD4A-Framework.
    If you are unfamiliar with the class builder, make a local class first in se80, in a test program or alike.
    Does this help you a bit?
    regards, Lukas

  • Web Dynpro Java to Web Dynpro ABAP

    Hi all,
    I am a web dynpro java developer with more than 3 years of portal development experience.
    I am now put into a project with web dynpro ABAP(ESS/MSS customization).
    Would like to know whether I should start concentrating more on ABAP or SAP HR?
    I dont have any ABAP programming exp except that attended a training few years back.
    And on SAP HR,dont have much exp except that have some knowledge on ESS customization in dynpro java.
    Please let me know where I should start to get myself refreshed before starting my work.
    Any advice/docs are invited.
    Also,please let me know whether there is any NWDI required for ESS/MSS customization in webdynpro ABAP.
    Thanks
    Meena

    Hi Meena,
    As you have good experience of Web Dynpro JAVA.
    I think you just need to comcentrate on ABAP skills.
    You need not concentrate on SAP HR as ur work is technical your functional guys will take care of HR module and will help you.
    For starting i would suggest you to just go through the basics of ABAP like Work areas , internal tables etc.
    Then start doing some WD ABAP hands on.
    My scenario is similar.
    I am a portal and WD JAVA person and this is my first WD ABAP assignment.
    I followed the above approach.
    You will find many concepts similar to WD JAVA as this is just the ABAP flavour of Web Dynpro.
    The below link will help you a lot
    [WD ABAP HELP|http://help.sap.com/saphelp_nw04s/helpdata/en/43/1f6442a3d9e72ce10000000a1550b0/frameset.htm]
    I hope it helps.   

  • Synchronization in Web Dynpro JAVA

    Hi All,
    I have a Web Dynpro JAVA application, for which an iView has been created and is assigned to a role. Now I have the below requirement,
    If two users tries to access this application at the same time then the second user has to get a message stating that "A user is already accessing this application please try later". Basically the thread concept. Is it possible to achieve this in Web Dynpro JAVA. If yes please provide me some pointers on how to achieve this.
    Thanks & Regards,
    Vishweshwara

    Hi Vishweshwara,
    Create the Custum table with UserID fields.
    Create the RFC with UserID fields as input parameters and result  field as export parameter.
    Write the logic in RFC if Custum table contains any value in UserID Field then return error message like " This application is already using by  <UserID>"
    else
    stor the values UserID and LoginStatus(which you are sending from Webdynpr java app) in custom table and  return success message.
    Create webdynpro java component and create two iview called main and info view
    import the RFC in webdynpro java app and do the binding from model to component controller and component controller to view controller of main.
    Write the following code in wdDoInit() method of main view to get the login userid and sending that to RFC.
    String userID = null;
    IWDClientUser clientUser = WDClientUser.getCurrentUser();
    IUser User = clientUser.getSAPUser();
    if (User != null)
    try
    IUserAccount[] acct = User.getUserAccounts();
    if(acct[0] != null)
    userID = acct[0].getLogonUid();
    wdContext.current<RFCNodeName>Element().setUserID(userID);
    catch(UMException e)
    //Raise some error msg according to your scenario.
    //code for calling the RFC
    wdThis.wdGet<ComponentControllerName>().execute();
    String msg = wdContext.current<OutputNodeName>Element().getResult();
    if(msg != null && msg.lenght() !=0)
        if(msg.equalsIgnoreCase("This application is already using by  <UserID>")
              wdThis.wdFirPlug<PlugName>();// code for naivigate from main view to info view
    the navigation between main view to info view needs to defined in navigation moduler area.
    if you foolow the above specified way u can achive your requerment.
    Revert back if you any quaries.
    Thanks & Regards,
    bhargava.

  • Enhancements / Modifications in Web Dynpro Java

    Hi, all!
    I' ve a more general question: Are there any enhancement concepts for Web Dynpro Java available or at least planned that would give developers the same comfort and possibilities ABAP programmers have?
    I mean, will there ever be an Enhancement Framework like in ABAP - modification free enhancements via BADIs or customer exits?
    Think of one of SAPs WDJ flagship - the ESS/MSS. If you want to change anything within, you have no other possibility but to modify the sources. Considering this - together with the weak possibilities of backend access via JCo - I give the WDJ not a chance to stand the challenge of WD4A.
    Regards,
    Thomas

    Hi!
    I' m just going through the hep-pages, but what I can definitly say by now is that there' s no enhancement-concept in sight. This matter is getting kind of really embarrassing and leaves the question open: What the heck should an SAP customer persuade to focus on Java Development? No enhancements, no direct data access, no easy debugging possibilities like in ABAP.
    I' ve started with WDJ, but digging deeper into WD4A I' m getting more and more convinced that the whole Java thing was just something like a playground field for the development of the programming model and is now getting more and more obsolete with the rising of WD4A.
    Correct me, if I' m wrong, and forgive me, if I' m flaming, but when I started with Java development in SAP enviroment I was quite enthusiastic and didn' t understand resentiments of the ABAP developers against our programming language, but now I' m more and more joining their opinion.
    Regards,
    Thomas
    PS: I' ve - by the way - done the SAP Java Certification and am already regretting it.

Maybe you are looking for

  • OAM 11g throws error when user store is changed

    We have OAM 11g integrated with OIF 11g as the SP. We need to change the OAM User store from OID to OVD. I added a new User store in the OAM console and set that as the default store. In the OAM console, under System Configuration -> Common Configura

  • Aluminum MacBook - Windows XP in Bootcamp - hardware drivers?

    I have recently bought a new silver alumium MacBook and and have installed Windows XP under Bootcamp. When I boot into Windows via bootcamp, the network card and other hardware are not recognised. Where can I get the drivers for this? I've tried plac

  • 11g r 1.2  throws - ExceptionInInitializerError

    We use a simple sayhello ejb 3.0 bean to test connections to a appserver. We just upgraded from 11g1.1.1 to 1.2 When connect to a WL server we have no problem but we also have apps running under Glassfish- v2.1.1 ((v2.1 Patch06)(9.1_02 Patch12)) (bui

  • Encoding Time Compared to iMovie 4

    we have an older mac we just use for encoding and exporting video files - why is it that iMovie HD6 is so much slower in encoding and exporting an iMovie clip as a QUICKTIME>CD-ROM file - than iMovie 4? It's not even close, it might take up to 3 time

  • Pop ups not popping up

    I use my Mac to print postal labels. When you do this from USPS website, the label will open up in a PDF file (I believe) so I can and review and print. I tried this yesterday several times and it just wouldn't work. My pop up blocker is turned off,