New to JAVA webdynpro

Hi All,
I am new to JAVA webdynpro. I have some naive questions to ask today.
1) Is JAVA webdynpro stable than ABAP webdynpro in market?
2) Is SAP NWDS only tool for developing JAVA webdynpro application?
3) What are the pre-requisites for JAVA webdynrpo programming?
4) Is there any blogs which has some decent scenarios to start working on?
Thanks
Ricky

hi,
   Yes Java webdynpro is stable and NWDS is the tool using which we need to develop the webdynpro applications.
Check out this thread for basic doubts.
Re: Newbie - WebDynpro Java
check out this pdf for complete webdynpro tutorial.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ba2db0e5-0601-0010-9790-e271902f2c38
The below link will take you to webdynpro sample applications and tutorials.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
Regards,
Gopi

Similar Messages

  • Java WebDynpro Sample Applications to learn.

    Hi There,
    I am new to Java WebDynpro ,I am looking for sample applications so that i can practice how to develope the webdynpro components and actually i want to learn how to do the external context mapping.
    Thanks,
    Rashmi.

    Hi,
    You can find lots of help in SDN like, where you can find may documents related to many topics just go through the following links and browse as per your requirement.
    Blogs
    [https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_weblog&query=webdynproJavatutorials&adv=false&sortby=cm_rnd_rankvalue]
    Libraries
    [https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_library&query=webdynproJavatutorials&adv=false&sortby=cm_rnd_rankvalue]
    e-Learning
    [https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_media&query=webdynproJavatutorials&adv=false&sortby=cm_rnd_rankvalue]
    wiki's
    [https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_wiki&query=webdynproJavatutorials&adv=false&sortby=cm_rnd_rankvalue]
    and also you can search in forums.
    Regards
    Raghu

  • How get BUS2089 into a Java WebDynpro

    Hi,
    I'm new to Java webdynpro programming.  I have wrapped RFCs and used these but now I want to access attributes and methods on the SAP business object BUS2089.
    Is it possible to import (auto wrap) a SAP business object into Netweaver dev studio then access the attributes and call the methods??  I can't find one...
    Sorry if this is a 'dumb' question...
    TIA
    J

    Hi,
    You can access BAPIs and RFCs with webdynpro by creating a model based on RFC/BAPI. This will generate EJB's that you can use in your application to access the underlying business functionality on SAP. If you are doing this "outside" of webdynpro you can still access the business objects by using JCo (Java Connector).
    regards,
    Dion

  • Problems with initial setup of Java WebDynpro development environment

    Hi Experts
    I am very new to Java WebDynpro environment. I am trying to setup the J2EE engine and SAP Netweaver Developer Studio on my local machine. I have installed MaxDB, SAP NetWeaver Developer Studio and NW2004s on my local machine. After this I have started my server node from SAPMMC. I have following doubts to be clarified:
    1. How do I know the Message Server Port number of the SAPJ2EE engine which needs to be specified in the SAP J2EE engine settings in Developer Studio.
    2. How do I make sure that my server process are properly started and running properly?
    Best Regards
    Anand.

    Hi Arun
    In my SAPMMC, I am seeing two instances under my server node running in green status. I assume that one is J2EE instance and other in SCS Instance. J2EE instance number is 30 and SCS instance number is 31. I tried to access the links:
    <b>http://localhost:53000/index.html</b> and
    <b>http://localhost:53100/index.html</b>
    I was unable to access both these links. However when I tried to access only
    <b>http://localhost/index.html</b> , I got the SAP Web Application Server Homepage. Here on clicking the System Info link, it asks for user/password. The default user/password can be used as Administrator/abc123.
    Here I got all the info about my server ports.
    For me http port was set as 80 and thatswhy 53000 and 53100 were not working for me.
    Thanks a lot for your help.
    Cheers & Best regards
    Anand.

  • Need help to create a new record in mdm using java webdynpro

    hi all,
    I have to develop an application to create a new record in mdm by using java WebDynpro  . Please help me what is the process that i have to follow to do this and provide me if you have any step by step guidance for this.
    thanks & regards,
    Mahi.

    Hi,
    The below link will help u to make the application in JAVA webdynpro
    The article has code to for creating records.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/803e9e80-21f4-2a10-8cbf-bcf6a8060be3
    Hope this may help u .
    Rgds
    Ankit

  • Java WebDynpro's and IE security settings for file download

    We have a EP 7.0 SP13 environment on which we have deployed a number of own developed java webdynpro's. In some of these webdynpro's we provide the file download functionality. The portal and webdynpro's are used by both internal personnel and external customers.
    On the other hand the default Internet security settings for Internet Explorer, disable "Automatic prompting for file downloads".
    When a user, with these default security settings active, tries to use our webdynpro's file download functionality, the screen seems to refreshes but no file download starts. When (s)he retries, the session runs for some minutes and gives following error message:
    "com.sap.tc.webdynpro.services.session.LockException: Thread SAPEngine_Application_Thread[impl:3]_20 failed to acquire exclusive lock on client session ClientSession".
    This behavior is explained in SAPNote 1234847. Webdynpro provides a single-thread module, meaning a user session is blocked for the during of the request. And because the previous file download isn't yet completed the new try can't start.
    Issue now, although the users IE settings allow file downloads and don't block pop up's, he can't download the file and even isn't made aware of the cause of the failure.
    How can we avoid this issue, without having to communicate the
    application requires specific browser settings?

    Welcome to the Apple Support Communities
    See > http://support.apple.com/kb/HT5290
    You can install the program using different ways:
    1. Right-click the application installer and choose Open.
    2. Go to System Preferences > Security and Privacy and select Anywhere in Allow applications downloaded from

  • Your opinion on:  BSP or Java Webdynpro or ABAP Webdynpro?

    Could you please give me your opinion on the business scenario we have here:
    We are implementing SRM 4.0 with backend R/3 4.6C, WAS 6.4 and Portal 6.0. SRM has its typical shopping cart applications mainly for procurement and the workflow trail displaying the approval. The client wants us to build a few custom forms on the web frontend of SRM (or may be in Portal). The idea is to store these forms and display when needed with the status info just like a shopping cart.
    <b>Now the requirements for these forms are as follows:</b>
    1. These forms will have multiple fields which need to have the F4 kind of help. (the F4 options will reside in SRM or R/3)
    2. The form should have some kind of a ALV grid  (autoexpanding feature) which will allow the user to put in multiple line items so that they could submit more items on one form.
    3. Users need to be able to attach a spreadsheet to the form which should not be editable once the form is submitted. The attached spreadsheet should be stored. (We are planning on using Archivelink Filenet for this)
    4. Upon submission, a workflow will be kicked off as per the defined Org structure for approval of the form.
    5. After submission, the user should be able to go and view the approval status of the form and also print the summary of the values that he entered in the form. (may be a smartform could be provided for this)
    We looked at different options to accomplish this task:
    <b>BSP:</b>
    Creating BSP pages and giving access as links to the user on the webfrontend of SRM. Now, if we go the BSP route, we need to develop in SRM as the R/3 4.6 c does not have BSP development capabilities. If we take this approach, I am not sure if all the above requirements (specially like attaching spreadhseets) will be met with BSP pages.
    SAP Webdynpro Java: 
    It seems that the Webdynpro is easier to use because of the graphical tools available. But the only problem if we go this route is that we will have to find a java guy.
    SAP Webdynpro ABAP:
    We currently have WAS 6.4. As per the documentation, the ABAP Webdynpro development tool is available from NW04s onwards. So, we are still not sure if we could use it. But, we want to push towards upgrading if necessary. Being an old time ABAPer, developing ABAP Webdynpro seems do-able. (i know it may not be that easy).
    Last but not the least, DIALOG Program:
    Creating a dialog program in R/3 or SRM seems fairly simple. Then, an iview could be created on the portal for this transaction, though at this point I am not sure how a spreadsheet could be attached and stored within a dialog program.
    The creation of the workflow may not be that bad after the original form is designed. The graphical display of the approval trail might be difficult, but we might get away with a report for that. For printing the details of the form, I guess I could develop a smartform and put out a button on the screen to print it out in the display view.
    Could you please give me your opinion /  best approach for accomplishing this task, keeping in mind the complexities of these new dimension products?
    Thanks
    Sri

    I would say that all four solutions to solving your tasks are technically feasible.  Here are some thoughts that I had however:
    First ABAP Webdynpro: it is true that ABAP webdynpro is only available with Netweaver04s.  04S is still in ramp-up which means that only a subset of the customer base is allow to implement it.  It will not become generally available until later this year (check the service marketplace for current release estimates).  That being said, it probably elimintes WDA as a possiblity for your project unless you are will to wait and to upgrade.
    However having worked with WDA for a while it is probably the best tool to custom develop what you describe.  It has excellent built-in F4 value help.  It also has a damn fine ALV grid implementation.  The spreadsheet could be just as simple as file upload in binary or your could try your hand at office integration.  Finally for the form you could use Adobe Interactive Forms which also has very nice integration into WDA. 
    Now to Dialog Programming: You could of course use dialog programming.  It seems a little bit of a waste to custom build something so large if WDA is in your near future.  There are obvious disadvantages (little OO structure, no MVC, etc).  You would have ALV grid, office integration and of course F4 help.  You could still use Adobe forms if you implement this on the 640 system.  However there are integration points with dialog and Adobe Interactive Forms.  You could still use printed forms however. If you did the dialog program on the 640 system, you could use the integrated ITS to expose it to the web.  The integrated ITS in my experience has quite nice performance although the look and feel remains just like the SAPGui.
    The Java Webdynpro route:  Well you hit the nail on the head - if you don't have a Java programmer already and you don't have the bandwidth to invest in learning Java, this can be a problem.  The Java Webdynpro environment is quite nice.  There are some things I like better than ABAP and some things that ABAP is defintely still better at.  However when it comes to heavy integration with an ABAP backend - ABAP Webdynpro is still the way to go.  Java Webdynpro does have a help feature (OVS), but it isn't "for free" or nearly as nice as the ABAP Webdynpro (perhaps it will get there some day).  That is one of the major advantages of WDA - its closeness to the business data brings several framework advantages like F4 and field help.  WebDynpro Java in 640 also doesn't have an ALV grid implementation.  I am sure that this is something both environments will eventually have, but right now ABAP has the advantage.  On the other hand, Webdynpro Java has equal support when it comes to office integration, file upload, and Adobe Forms support.  You would have a more difficult time integration SmartForms however.
    Finally we come to BSP.  Honestly if I were in your position I would probably choose BSP (unless you could wait for the ABAP Webdynpro upgrade).  You could build a nice MVC OO application using BSP (stateful or stateless).  The BSP product is mature and quite well documented thanks to SDN.  You have the BSP Extensions which when used in Design2003 use the Unified Renderer.  That means that your output will look nearly identical to the same UI elements in Webdynpro.  Also BSP supports portal integration (session management, eventing, and themes). 
    The downside to BSP is that it isn't a full framework (also one of its advantages).  You can insert all your own html and javascript (unlike webdynpro). But this also means that SAP doesn't delivery as many framework services.  For instance there is no ALV or Value Help.  There is no Office Integration or Adobe Forms integration.  There is some farily good Smart Forms integration.  Now the upside- many people have already hit these limitations and overcame them.  In the weblogs on SDN and in a certain SAP Press book (cough, cough) you will find out of the box solutions for many of these problems.  You can find ready to use solutions for Adobe Integration, Office Integration (using Microsoft Office Web Controls), and F4 help.  It will mean investing a little more time up front to get this "home grown framework" up and running - but it is perfectly feasible. 
    There is a learning curve to all these new technologies however.  This sounds like an abmious project.  I wouldn't want to try and tackle this project in any of these technologies if I was new to them.  With Webdynpro or BSP - consider giving yourself time to learn the environment and cut your teeth on some demo apps before jumping into such a huge development.

  • ABAP Vs JAVA WebDynpro

    Hi friends,
    I have 6yrs of experience in SAP ABAP/4. I am new to WebDynpro. I have a pretty small question.
    Among ABAP WebDynpro and JAVA WebDynpro, which one will have more demand in future wrt market requirement.
    Thanks in advance for the information.
    Rgds,
    AK

    Hi AK,
    I have worked on both and following is the difference:
    Web Dynpro for ABAP:
    Web Dynpro for ABAP or 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).
    The use of declarative and graphical tools significantly reduces the implementation effort
    1) Web Dynpro supports a structured design process
    2) Strict separation between layout and business data
    3) Reuse and better maintainability by using components
    4) Automatic operation of the Web Dynpro application using the keyboard
    5) User interface accessibility is supported
    6) Full integration in the reliable ABAP development environment
    for more see this:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
    Web Dynpro for Java:
    Web Dynpro is a client-independent programming model of the SAP NetWeaver technology platform for developing user interfaces for professional business applications. It is based on the model view controller paradim which ensures that the business logic is separated from the presentation logic. This architecture is visible in the Web Dynpro perspective of the SAP NetWeaver Developer Studio (NWDS).
    Web Dynpro helps you with the development of Web applications by:
    1) Ensuring platform-independence with the meta model approach
    2) Minimizing the implementation effort through declarative programming
    3) Supporting a structured design process by applying the model view controller paradigm
    4) Providing reuse and better maintainability by using components
    5) Providing graphical support with tools in the Web Dynpro perspective
    6) Providing the SAP NetWeaver Java Development Infrastructure (NWDI) which supports team work with different services such as source code versioning and the Central Build Service.
    for more see:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/content.htm
    The concept of Web Dynpro ABAP is identical with Web Dynpro Java and offers more or less the same functions
    Hopw this will help you.
    Cheers,
    Darshna.

  • Editing Domain and Classification property of a java webdynpro iview

    Hi,
    I have created a java webdynpro iview with having the default properties. Now i want to change the properties "Domain" and "collection" but not able to do so as it always comes as disabled . Also while creating the iview i was not able to find any steps to insert the values for "domain" and "collection" properties and that's why it has taken default values. Does anyone know how can i reset these 2 properties or create a new JAVA or ABAP webdynpro with custom values and not the default values.
    Best Regards,
    Vikash

    You  can get the parameter as follows:
    String param_name = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("param_name")
    Try your code with any WD application that accepts parameters, like
    http://localhost:50000/webdynpro/dispatcher/local/MyApp?param_name=Somevalue
    Raja T
    Message was edited by:
            Armin Reichert

  • Date field Length in Java Webdynpro

    Hi Experts,
    I have a strange case.
    I created a new filed in the infotype 0175: ZZDAT  like the standard field AUSGD  (type DATS length 8)
    I modified the ESS view and added the new fields.
    The view is working perfectly, the data is transfered between the databse and the webdynpro, the only problem is, that the user can't enter the date manually, because  last point after the day can't be entered: e.g.: 2010.01.01 instead of 2010.01.01.
    If the user uses the search help, and selects the date form the popup calendar, then the date format is correct: 2010.01.01.
    (there is a point after the DAY ) I tried to change the field length manually but still, the last point after the day can't be entered.
    Can you please help me to find out what is the problem?
    Thanks
    N.

    Unfortunatelly this doesn'T help at all.
    I reimported the data element, and restarted the server, but the result is the same. I can'T enter the date manually..
    To be honest, i'm fed up with this stupid java webdynpro.  I hope  there is a special place in hell, for the people who invented this....
    Anyway, I think the only solution here is to limit the field, capabilities. I'll try to set the Date picker as the only input way... I hope this is possible... it's easy in ABAP I just hope that java can do this the same "non-somplicated" way.
    If you have any idea how to do this I'll be very greatfull for any kind of help.
    Bye
    N.

  • BPM Integration with Java webdynpro

    Hi All,
       I am new in BPM forum . I want to integrate one JWD DC to anather JWD (Java webdynpro) so i need to pass one value to anather Dc using BPM .
    My Scenario is..
      I want to pass one unique value from one component (person who is created the  unique value l) to anther component (to fetch that value from second level in portal ) and showing in Portal work flow  task as LEAVE Request or approval scenario .
    Thanks
    Sudhir

    Hi Sudhir,
    from your explanations it is not completely clear which of the following scenarios applies to you:
    1) Both WebDynpro Components are connected to each other via WebDynpro Component dependencies. This would mean that a user is able to directly navigate from one to the other. A BPM process is not involved at all. In this case, you might consider to use WebDynpro context mapping or passing an URL parameter.
    2) Each WebDynpro Component is assigned to a dedicated BPM Task which again is integrated into a BPM process. Users would open the WebDynpro Components as Tasks from the UWL without a direct navigation between the components. In this case, you have to use a process context and context mapping in BPM to transfer the value between the WebDynpro components.
    Best regards,
    Stefan

  • Passing context data back to Java Webdynpro

    Hi All,
    I have created Java Webdynpro's with Adobe Interactive Forms in them. I use ActiveX not Native. Yesterday passing data from the AIF to Webdynpro for Java was working like this (it didn't work in Native mode) today it doesn't. Neither does pressing any buttons. I'm not sure what has been installed on my system, it could be Adobe Read 9.0. Now creating the forms using the livecycle designer in de Netweaver developer studio is also very unstable (unworkable)
    My main question is: how can I pass the data from the interactive form to webdynpro for java (without using the submit button, as I want to have such buttons on my webdynpro and not in my forms.)
    Jeschael

    Jeschael,
    Try creating a new project and repeat the same steps. Do you get error there as well.
    Also try setting some context in WD, assign it to a Text Field of Adobe and see if you get the value.
    For eg: Let's assume you created a Context called "Name" then set it
    wdContext.currentContextElement.setName("Test");
    Now try to assign this to Text Field, see if you get the value in Adobe form by writing this code in the initialize event of Text Field in Adobe LiveCycle Designer in JavaSript.
    xfa.host.messageBox("Value is :"+TextField1.rawValue);
    Chintan

  • MultiSort in java webdynpro

    Hi expert
    I want to do multiSort in java webdynpro 7.1
    I know how to do single column sort but i like to go for multi column sort
    any one have any idea?
    In advacne
    Thanks

    hi
    thanks for reply.
    This is nice code.
    But i alredy use sorter TableSorter.java , that found in sdn and use TableSorter method, so wht you are suggesting,
    replace TableSorter.java with this new code
    or
    we can still add TableSorter.java with multi sort?

  • Need to create a function to receive binary files from Java WebDynpro

    Hey,
    I need to recieve files from java Webdynpro and save them as a file on the backend
    system. After that, the file will be loaded to the documentum.
    In a function module, I only can get the files as a String. Therefore (I think), I need the
    binary file as base64 encoded. Otherwise I can´t get it as a string.
    Now I need to decode it in the backend, but how? I know, there are HTTP-classes
    in newer system, but not in the 4.6C System, I have here.
    Any idea, how I can recieve the files in the function module and transfer it as binary
    file to the backend system?
    If I load a file from the gui with gui_upload, I get the binary file as an internal table
    and can transfer it to the backend filesystem now. Maybe I can get the binary file
    in this way in the function?
    Thank You for Your help!
    Arne

    http://jakarta.apache.org/commons/net/

  • Sample Java WebDynPro calling Customer Details BAPI does not work

    Hi,
    I have created a sample application (referring SAP's tutorials for Java WebDynPro) which invokes the BAPI_BUPA_ADDRESS_GETDETAIL Bapi.( for reading Customer Address details)
    I've made only one view which takes in BusinessPartner as the input and a form for the output.
    Have created a model for this purpose and a custom controller.
    I've mapped the appropriate fields for both the contexts of View and the Custom Controller.
    The Application has been built and deployed on the server. The Jco connections have been configured and tested.
    However, Nothing happens when the user enters a business partner input and clicks on the related button to bring up the output.
    This WebDynPro has been designed the exact same way as the SAP provided tutorial at
    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#15 [original link is broken]
    Code has been implemented in the implementation tabs of the view and the custom controller the same way too.
    Any ideas?
    Thanks,
    Raman

    Implementation tab of Custom Controller
      public void wdDoInit()
        //@@begin wdDoInit()
        Bapi_Bupa_Address_Getdetail_Input input = new Bapi_Bupa_Address_Getdetail_Input();
        wdContext.nodeBapiCall().bind(input);
        input.setBusinesspartner(new String());
        //@@end
      public void executeBapi( )
        //@@begin executeBapi()
        try
             wdContext.currentBapiCallElement().modelObject().execute();
             wdContext.nodeOutput().invalidate();         
        catch (Exception ex)
             ex.printStackTrace();
        //@@end
    Custom Controller Binding With Model
    Context
      *BapiCall
        *Output
           *Bapiadtel $$$
             *Field A
             *Field B and so on
        *BusinessPartner $$$
    Fields marked with $$$ above are mapped to Bapi_Bupa_Address_GetDetail_Input's Bapiadtel and BusinessPartner.
    View Binding with Custom Controller
    Context
      *BapiStart
        *Output
           *Bapiadtel @@@
             *Field A
             *Field B and so on
        *BusinessPartner @@@
    Fields marked with @@@ above are mapped to BapiCall's(Custom Ctrllr) Bapiadtel and BusinessPartner.
    Thanks.

Maybe you are looking for

  • Error while installing network adapter driver on HP ML 370 G4

    We have HP ML 370 G4 server. And I get an error while installing driver for embedded network adapter on Solaris 10. I don't know what to do... Can anybody help me?? # pkgadd -d /tmp/BRCMbcme.pkg The following packages are available: 1 BRCMbcme Broadc

  • Radio Buttons on Selection Screen

    Hi, I have four radio buttons on selection screen in a frame, all belonging to the same group. When the program is called using transaction 1, first two radio buttons are displayed. When the program is called using transaction 2, bottom two radio mus

  • Does anyone know how far WVC80N camera can detect motions?

    Like I said in the subject, does anyone knows?

  • Portal admin tasks / Portal Monitoring

    Hi, I am new for EPP, and I would like to know tasks list for Basis person at EPP level. If any idea please let me know. Also if possible please tell me performance & monitoring areas in EP. Regards RP

  • Dynamically Changing Location Attributes

    Hi All, Has anyone ever successfully set up a BefConsolidate event script with a dynamically changing location attribute. The FDM Admin manual says you can do this: RES.PblnValEntGroupOverride=True RES.PstrValEntGroup="MyNewEntityGroup" It does not w