Web Dynpro Explorer disappeared!

I am trying to create my first interactive form.
I created the project, the views and the UI elements using the Web Dynpro Perspective in the Developer Studio.  I then tried to create the form.  The Adobe Designer opened OK, but the hierarchy and data view panes were missing. 
As I am new to the Dvpr Studio, I clicked around a few tabs to try to get this.
Now my Web Dynpro Perspective has none of the Web Dynpro options in it.  In Customize perspective - show view, they are not available for selection.
Even did a complete reinstall of Dvpr Studio, but still the same.
Anyone got any ideas? 
Mark

To get Designer palettes back when they disappear, in the Designer menu, go to Palettes -> Manage palettes -> Left Palettes (or whereever you had them).
Just realized you asked about the WD Explorer, too. Any of the views in the Developer Studio can 'disappear' by clicking on the small x in the top right corner of the view. You get them back through the menu: Window -> Show View -> <your selection>
Cheers,
Markus Meisl
SAP NetWeaver Product Management
Message was edited by: Markus Meisl

Similar Messages

  • Web dynpro explorer - deploy and run error

    Hi
    When we do "new archive and run" from web dynpro explorer we are getting the following error.
    windows cannot find "http://sapdev2:50100/webdynpro/dispatcher/local/testproject/Testapp?SAPtestId=10'. Make sure you typed the name correctly, and then try again.  To search for a file, click the Start button, and then click search
    Kinldy help how to rectify this error.
    Thanks and regards,

    Hi,
    Each time you deploy new archive & run, a new test id is generated.
    Try after deleting this test id parameter (from ? onwards) or just choose Run aaplication in NWDS.
    What I get is that even the browser does not open when you run the application from NWDS, in that case you may try restarting the NWDS.
    Kind Regards,
    Nitin

  • Error Message: Unable to restore Web Dynpro Explorer

    I just installed the NetWeaverDev Studio Version 2.0.8. When executing the Studio and create a web dynpro project I receive the error message:
    Unable to restore Web Dynpro Explorer
    Reason: Unable to instantiate view
    com.sap.ide.webdynpro.projectbrowser.views.projectbrowser.
    Does anyone have an idea? Is there a need for environment variable to be set somehow?
    Regards, Olaf

    There should be no need to do some post-installation steps for the DevStudio (no env. variables, no configuration files or such).
    So I can't explain the error message, but here are some hints how to check for more information:
    In the DevStudio menu, choose "Window", then "Show View", then "Other...". In the new dialog, select "PDE Runtime" and open the View "Error Log". There you will find internal error messages of the IDE that might help to identify the reason behind your problem.
    A second, even more verbose way to get internal error information is the .log file in the .metadata folder of your DevStudio workspace.
    And the last way (if none of the above helps) is to start the DevStudio with a so called "console log". To enable this, you have to modify your shortcut to the DevStudio in the follwing way:
    - open the ShortCut properties (right click on icon, Properties)
    - add " -consolelog" (without the quotes, but with a space before the dash) to the target
    - modify the already existing "-vm" option in the target so that it points to java.exe instead of javaw.exe.
    Start the DevStudio. A new console window should show up. Any errors written to the .log file mentioned above will appear in the console window as well as additional information that shows up nowhere else.
    Kind Regards, Frank

  • Web Dynpro explorer

    Recently i downloaded sap netweaver 7.0 and installed it on my system. everything was working fine.
    Then suddenly an error occurs related with memory.
    after that i closed the studio.
    after that when i open it web dynpro explorer was missing.
    i tried to find the web dynpro explorer window, but it was not there.
    can anybody help???

    The log file coontain the following error
    !MESSAGE Jan 6, 2009 12:21:46 PM          com.sap.ide.webdynpro.ui.service.ServicesUI          [Thread[main,5,main]] Error: Internal error
       Plugin name: Web Dynpro Archive Builder
       Plugin ID  : com.sap.ide.webdynpro.archivebuilder
       Class      : com.sap.ide.webdynpro.archivebuilder.perspective.WebDynproPerspective$1
       Method     : createInitialLayout(IPageLayout)
       Message    : Could not create view: com.sap.ide.webdynpro.projectbrowser.views.ProjectBrowserView
       Exception  : org.eclipse.ui.PartInitException: Could not create view: com.sap.ide.webdynpro.projectbrowser.views.ProjectBrowserView
    !STACK 1
    org.eclipse.ui.PartInitException: Could not create view: com.sap.ide.webdynpro.projectbrowser.views.ProjectBrowserView
         at org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.java:57)
         at org.eclipse.ui.internal.Perspective.showView(Perspective.java:1462)
         at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:655)
         at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:634)
         at org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.java:2777)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
         at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:2774)
         at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:2764)
         at com.sap.ide.webdynpro.archivebuilder.perspective.WebDynproPerspective$1.run(WebDynproPerspective.java:106)
         at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
         at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:98)
         at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1999)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1733)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
         at org.eclipse.core.launcher.Main.run(Main.java:747)
         at org.eclipse.core.launcher.Main.main(Main.java:583)
    !ENTRY org.eclipse.ui 4 0 Jan 06, 2009 12:21:46.30
    !MESSAGE Could not create view: com.sap.ide.webdynpro.projectbrowser.views.ProjectBrowserView
    !ENTRY com.sap.ide.metamodel.core 1 1 Jan 06, 2009 12:21:55.368
    !MESSAGE Saving Metadata for project sss
    !ENTRY com.sap.ide.metamodel.core 1 1 Jan 06, 2009 12:21:55.806
    !MESSAGE refreshing<0ms>: /sss/src/packages for C:/Program Files/SAP/IDE/IDE70/eclipse/workspace/sss/src/packages
    !SESSION Jan 06, 2009 12:56:59.886 -
    java.version=1.4.2_12
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86 -install file:C:/Program Files/SAP/IDE/IDE70/eclipse/
    !ENTRY Startup 1 0 Jan 06, 2009 12:56:59.886
    !MESSAGE Sap NetWeaver Developer Studio - Build: 200701062019
    !ENTRY com.sap.ide.metamodel.core 1 1 Jan 06, 2009 12:57:00.745
    !MESSAGE Updating metamodel archives from classpath for project sss
    !ENTRY com.sap.ide.metamodel.core 1 1 Jan 06, 2009 12:57:00.933
    !MESSAGE Updating metamodel archives from classpath for project b
    !ENTRY com.sap.ide.metamodel.dictionary 1 1 Jan 06, 2009 12:57:01.42
    !MESSAGE creating DictionaryRoot. metamodel = b com.sap.ide.metamodel.Metamodel@17748d3
    !ENTRY com.sap.ide.metamodel.webdynpro 1 1 Jan 06, 2009 12:57:01.183
    !MESSAGE creating WebDynproRoot. metamodel = b com.sap.ide.metamodel.Metamodel@17748d3
    !ENTRY com.sap.ide.metamodel.webdynpro 1 1 Jan 06, 2009 12:57:01.230
    !MESSAGE Found and created an extension for Web Dynpro Metamodel: [email protected]6
    !ENTRY com.sap.ide.metamodel.dictionary 1 1 Jan 06, 2009 12:57:01.386
    !MESSAGE creating DictionaryRoot. metamodel = sss com.sap.ide.metamodel.Metamodel@b3cac9
    !ENTRY com.sap.ide.metamodel.webdynpro 1 1 Jan 06, 2009 12:57:01.401
    !MESSAGE creating WebDynproRoot. metamodel = sss com.sap.ide.metamodel.Metamodel@b3cac9
    !ENTRY com.sap.ide.metamodel.webdynpro 1 1 Jan 06, 2009 12:57:01.433
    !MESSAGE Found and created an extension for Web Dynpro Metamodel: [email protected]2

  • Right click is not working in Web dynpro explorer

    Hi All,
    I have SAP net weaver developer studio 2.0.9.
    when i right click on web dynpro components, to create a component, the context  menu is not coming, right click is not working.
    though right click works fine in diagram view and outline view.
    Please suggest what might have happened? and how to get back the settings.
    Cheers,
    Srini.

    Hello Srinivas,
    Try closing and opening NWDS. If you still see the same problem, simple solution for this is, Just Change Workspace to new folder.
    Changing workspace - Window -> Workbench -> workspace -> give new path.
    Close nwds and open it again. It should solve the problem.
    Thanks,
    Sridhar

  • DC Web dynpro project is missing in the explorer

    Hi there,
    I was developing a web dynpro DC in which I had created components and also deployed it in the j2ee server and was running successfully. Surprisingly enough, I cannot see this project in my web dynpro explorer anymore. I was working with a different windows xp user before, could that be the reason for this project not to be selected? The application runs fine when I run it using url.
    Now, I want to bring it back to the web dynpro explorer. I am trying to do a 'Import' and import this project from the local machine, but when I do it, what is the type of file I am required to give here? It seems to reject many of the files I gave for it to import stating it needs a root file. What exactly is the type for this root file?
    Any help would be greatly appreciated.
    MAny Thanks

    Thanks to all who gave the replies. But Strangely
    enough, I cannot locate the .project file. All the
    other projects are there in the netweaver dev studio workspace except the one I am looking for.
    I dont have a clue as to why this happened.
    Now, is there anyway I can restore my files?
    I can find the LocalDevelopmentxxxyyy.com folder for the concerned project under
    netweaver dev studio workspace\.metadata\.plugins\org.eclipse.core.resources
    \.projects\LocalDevelopmentxxxyyy.com
    I see that there is a folder named .projects
    under which the directories of the dc's are given.
    Other than this, I can find the DC name xxx
    under paths like
    C:\usr\sap\J2E\JC02\j2ee\cluster\server0\temp\webdynpro\public\yyy.com\xxx
    C:\usr\sap\J2E\JC02\SDM\root\origin\yyy.com\xxx
    I guess that these come from the deployed
    sources of the application in the J2E server.
    Is there anyway I can restore the project
    without the corresponding .project file?
    (I cannot find it in the recycle bin either)
    Many Thanks
    Message was edited by: l m

  • Submit Button In Web Dynpro Layout not working.

    Hi All,
             I have integrated an adobe form in my web dynpro application.According to my requirement the view of screen should change when the user clicks on submit button.So I have given the submit button as one of the UI element in my WD object along with the form.But when I click on the submit button the functionality doesnot work.
    The same submit button works when there is no adobe form integrated in my WD application.
    Please let me know what needs tyo be done so make that submit button work.
    Thanks and Regards,
    Sarang

    Sarang,
    Lets go step-by-step.
    1. Create two views in your applications lets say the names are View1 and View2.
    2. Goto Diagram View of the Window in under Windows node in your Web Dynpro Explorer in NWDS.
    3. Create Inbound and Outbound plugs for View1 namely inbView1 and outView1
    4. Repeat the same for View2. So names will be inbView2 and outView2.
    5. Create a navigational link between the Vies by creating a link from outView1 plug to inView2 plug.
    6. Goto Layout tab for the View1. This is where you have embedded the Interactive form element.
    7. Set the displayType property to native.
    8. Under Events there will be onSubmit method, craete a new method called navigateToView2 and click Go. This will take you where you can implement your logic.
    9. Fire the outbound plug of View1. See following code snippet:-
    public void onActiong navigateToView2(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActiongotoView2(ServerEvent)
        wdThis.wdFirePlugOutView1();
        //@@end
    10. Edit the Interactive form, it should open Adove LiveCycle Designer.
    11. Drag-drop Submit button from WD Native library ontot the form.
    11. Don't modify anything and check if you see below code snippet in the Editor.
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - 705.20051114114126.253659.250577 - SubmitToSAP.xfo
                          ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
                          // END OF DO NOT MODIFY
    12. Now whenever you click submit button on the form, what it does is that it makes call to WD framework and the onSubmit action handler is called where you have written the code to navigate to View2.
    Chintan

  • Error testing Web Dynpro Callable Object (GP Interface)

    With reference to thread:
    Interactive form as  Callable object error on testing the object.
    FYI, I'm running NW04s, EP 7.0 SPS 13, JDK 1.4.2_14, Unix OS
    Hi All,
    I have created a Web Dynpro App with a Adobe Form as the frontend. I have included the caf/eu/gp/api as a DC and implemented the IGPWebDynproCO interface. Next I created a Web Dynpro Callable object in GP and ran a test and received the following error:
    Result: Technical Exception
    Details: Could not create web dynpro callable object component
    Output Parameters
    Callable object implementation did not return  output parameters
    Can anyone help me resolve this? Do I have to make a manual entry in the HOST file? If so, what is that entry? Are there alternatives?
    Thanks
    Kunal.

    Hi,
    For creating WD callable object you need to add following three DC in your WD DC project.
    In the Web Dynpro Explorer of the Web Dynpro Perspective, expand the node DC MetaData -> DC Definition, and select Used DCs.
    a.      To create a DC dependency, open the context menu and choose Add Used DC.
      b.      Select Local Development  -> SAP-EU  -> caf/eu/gp/api/wd  -> DC MetaData  -> Public Parts  -> GPWebDynproCO. For Dependency Type, select Build Time, Design Time, and Run Time. Choose weak from the dropdown list.
      c.      Repeat the previous step to define a dependency to DCs SAP-EU-> caf/eu/gp/api (public part external) and SAP-JEE -> com.sap.security.api.sda (public part default).
    You need to do one more thing like bellow.
    Select your Web Dynpro project and open its context menu. Choose Properties.
    1. Choose Web Dynpro References -> Library References.
    2.  Add a reference for library caf/eu/gp/api.
    I think this will help you.
    Thanks
    Chandan

  • Query related to Migrating non Dc Web dynpro project to DC.

    Hi All,
    I have the requirement to migrate a non DC Web dynpro project to DC.
    I have a project which involves few models.The models are nothing but BAPIs released as web services. So, when I am trying to do what i intend to do, I am getting compile time errors and I am not able to deploy.
    WHAT I AM DOING?
    I am cerating an empty DC project. I am giving the Name and keeping the domain as basis which comes as the default one.
    Later I am moving to the Navigator tab and trying to copy and paste the packages under src and the model folder.
    Coming back to the web dynpro tab, i am trying to rebuild the newly created DC project. here i am getting thousands of compile time error.I have even tried changing the domain as enterprise portal while creating the DC project. But the result is same.
    Kindly through some lime light on this.Its very urgent and I am still not very clear with componentization in web dynpros.
    Looking forward to you.
    Regards
    DK

    Hi DK,
    Follow this procedure to Migrate Local Web Dynpro to DC Component.
    <b>Creating a New Development Component</b>
    1. Create a new Web Dynpro DC Project [Page 5].
    You create an empty container for a Web Dynpro DC that does not have
    functions. The new DC should include all relevant development objects
    project.
    <b>Do not check the newly created DC into the DTR yet.</b>
    1.Copying Packages from the Local Project
    2. In the Web Dynpro perspective, switch to the Navigator view.
    3. Select the local Web Dynpro project to be migrated and expand the project
    down to the source folder: <My_Local_Project> &#61614;&#61472;src &#61614;&#61472;packages.
    4. Select all packages and choose Copy using the right mouse-click.
    <b>Inserting Packages into the New DC Project</b>
    5. Now choose the DC project that was just created and expand the project structure in
    the Navigator view, again down to the source folder.
    6. Select the Packages node and choose Paste.
    The Add Files to DTR dialog box appears.
    7. Choose OK to confirm your selection.
    8. Assign a DTR activity either by creating a new activity or choosing an existing one.
    Execute Reload
    9. Switch to the Web Dynpro Explorer.
    10. Choose the project node of the DC project and select the Reload function.
    11. In the displayed dialog box, again choose Reload.
    Reload now also reloads Web Dynpro metadata into the new project.
    Building the Project
    12. Execute a local rebuild for the entire DC project. Choose the function Rebuild
    project.
    13. If there are no errors in the task view, execute a DC-based build by choosing the
    function Development Component &#61614;&#61472;Build.
    This build is identical to the central build tool and is required to take dependencies of
    DCs among each other into consideration.
    <b>Result</b>
    You have migrated your local Web Dynpro project into a DC project. You can now deploy the
    new DC into your local environment and test it before you commence checking the assigned
    activity into the DTR.
    After all these steps, when you reload your project, if you happend to see errors in your project. Check few things.
    - All the model classes has been genreated or not.
    - Close the project and open it again, sometimes it works fine.
    - Findout what is the reason for errors, any thing is missing.
    Regards,
    Sridhar
    Message was edited by:
            Sridhar kanchanapalli

  • Submit button in Web Dynpro Native and ActiveX tab

    We use LiveCycle Designer 7.1 in a SAP environment (CRM5.0/NW2004S 7.0.06). We are creating an online Interactive Form via Web Dynpro for Java using NW2004S.
    In NW2004 you have to possibility to select the 'Submit to SAP' button from the Web Dynpro tab. However, in NW2004S this has been changed into 2 submit buttons, one on Web Dynpro Native and one on Web Dynpro ActiveX tab. Does somebody know what the differences are compared to NW2004? When to choose what button and what kind of code you need to enter to send the data the SAP?
    kind regards
    Angelique Heutinck

    Sarang,
    Lets go step-by-step.
    1. Create two views in your applications lets say the names are View1 and View2.
    2. Goto Diagram View of the Window in under Windows node in your Web Dynpro Explorer in NWDS.
    3. Create Inbound and Outbound plugs for View1 namely inbView1 and outView1
    4. Repeat the same for View2. So names will be inbView2 and outView2.
    5. Create a navigational link between the Vies by creating a link from outView1 plug to inView2 plug.
    6. Goto Layout tab for the View1. This is where you have embedded the Interactive form element.
    7. Set the displayType property to native.
    8. Under Events there will be onSubmit method, craete a new method called navigateToView2 and click Go. This will take you where you can implement your logic.
    9. Fire the outbound plug of View1. See following code snippet:-
    public void onActiong navigateToView2(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActiongotoView2(ServerEvent)
        wdThis.wdFirePlugOutView1();
        //@@end
    10. Edit the Interactive form, it should open Adove LiveCycle Designer.
    11. Drag-drop Submit button from WD Native library ontot the form.
    11. Don't modify anything and check if you see below code snippet in the Editor.
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - 705.20051114114126.253659.250577 - SubmitToSAP.xfo
                          ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
                          // END OF DO NOT MODIFY
    12. Now whenever you click submit button on the form, what it does is that it makes call to WD framework and the onSubmit action handler is called where you have written the code to navigate to View2.
    Chintan

  • Web Dynpro model binding

    can anybody help me here.
    I want to take some data from the backend system and want to display it into a table.

    hi,
    follow this procedure
      1.      Choose the context menu entry  Create Model on the  Models node.
      2.      Choose Import RFC Model.
      3.      Make the required specifications in the second wizard window to define where the generated   RFC proxies are to be stored.
      4.      In the next wizard window, log on to the SAP System that contains the BAPIs with the business logic.
      5.      Select the BAPIs for which you want to create Java proxies.
      6.      Choose Finish to start the proxy generation process:
      7.      In the Web Dynpro Explorer, choose Create Component Interface Definition in the context menu for the node Web Dynpro Component Interfaces.
    8.      Enter a name and a package and choose Finish.
    9.      The following structure is created in the Web Dynpro Explorer:
    10.      Place the cursor on the subnode Used Models and choose Add in the context menu.
    11.      Select the Web Dynpro model in the dialog box.
    12.      Choose OK.
    Regards,
    Sunaina Reddy T

  • Configuration Web Dynpro ABAP

    Hello,
    I am new in Web Dynpro ABAP. I want to use Web dynpro :
    - first I activate service by transaction SICF
    But in the web dynpro explorer (SE80), when  I click on the button 'Layout', a following message is displayed 'the page canno't be displayed'.
    I don't know how to setup server ? I don't find informations for that ?
    Can you help me ?
    Thanks

    the error is coming because you didn't add the fully qualified domain  in the host file.
    in the run , enter Drivers
    Drivers->etc->hosts
    edit the hosts file , add the entry to it. find the ipaddress from your sap logon pad , and domain from the url
    execute any standard application you can find the domain name.
    10.1.134.59     xxxxxxx.yyyyyy.com

  • Web service and web dynpro

    Hi,
    I am learning about web services in java web dynpro. I follow some tutorial on how to create a web service in a java web dynpro using netweaver developer studio. The tutorial works (I think) because in the picture of my local development, I can see the web dynpro component and the model representing the web service. In the web dynpro explorer view I can see the model has been created and the method/service that can be called. But now I don't know how to go on calling these services by the web dynpro methods; can anybody please explain me or post me a link with a tutorial for this (that I did not find). Thanks in advance
    Gabriele

    Hi
      Please go throught links
          https://www.sdn.sap.com/irj/scn/wiki?path=/display/wdjava/faq%252b-%252bmodels%252b-%252badaptive%252bweb%252bservice
          https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d076c662-8c0f-2b10-8ca4-e63c26e2e489
    Import Adaptive Web service Model
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/900bbf94-a7a8-2910-e298-a651b4706c1e
      hope will help you .
    murali

  • Editing application-j2ee-engine.xml file in Web Dynpro DC

    I'd like to set one of my web dynpro apps to automatically start whenever the J2EE engine is started.
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/94/0a5b422f786255e10000000a155106/frameset.htm">This SAP Library document</a> states that you can do that in the application-j2ee-engine.xml file. However, I cannot find the application-j2ee-engine.xml file anywhere in my Web Dynpro DC. I've opened the DC in Web Dynpro Explorer view, Package Explorer view, Navigator view, J2EE DC Explorer view and J2EE Explorer view.
    Even after expanding all the folders in each view I still can't find the application-j2ee-engine.xml file.However if I search my '.dtc' folder on my hard drive I find the application-j2ee-engine.xml file in the following path:
    C:\...\.dtc\1\t\13AA2EFA530FEB42915442D10D7C71A6\gen_wdp
    How can I EDIT that file for a web dynpro component/app?
    Thanks!
    David
    Message was edited by: David Z. Pantich to include the link to the SAP Library document

    Hi Maksim. I understood that. It's just that I would prefer some method that doesn't require the developers to do something like extracting a file from the EAR file, changing the file and then putting it back in. As you probably know, some developers could handle it and some will most certainly make mistakes.
    When they do they come to my group and say "my app doesn't work" and then we have to spend time figuring out why.
    Plus, once the developers get used to doing things the automated way they're going to have a hard time remembering to do a manual step each time they do a build.
    I have heard that there may be some way to do something similar to this on Visual Administrator. I'm going to investigate that too.
    Thanks!
    David.

  • Web Dynpro read excel cell

    Hi,
    How can I read a specific excel cell via Web Dynpro ?
    It will be great if someone will provide a short sample of code for that ...
    10x in advance
    Hadar

    Hi Chandran i followed you steps regarding  to upload excel sheet data to webdynpro table.
    but iam not get clarity how to do this step.
    Note : You cannot Read the Content from the excel file directly
    First You Have to copy that file to the Server,
    And from the Server you can get the file absolute path
    With the absolute path you can read the contents of the Excel file
    You have to save the Excel file as .xls Format and Not as xlsx format i will not accept that...
    help me onthis step, i need  to develop the this feature in application.
    you posted like this
    Hi
    First You have to download the jxl.jar file. You can get this file from the Below site
    JExcelApi v2.6.4 (1747kbytes)
    It will be in Compressed Fromat So Unzip it to get the Contents
    After Unzipping The File You will get a Folder (jexcelapi/jxl.jar)
    Now in NWDS open web dynpro explorer, Right Click Your Project, a popup menu will appear and in that click Properties
    You will get window displaying your Project Properties
    On Left Side of the window You Will Find "Java Build Path"
    Click That "Java Build Path" and you will get 4 Tabs Showing ( Source,Projects,Libraries,Order and Export)
    Click Libraries Tab
    You will find options many options buttons
    In that click the Button "Add External Jars"
    You will get Window in order to fecth the jxl.jar file from the location you had stored
    After selecting the jxl.jar i will get displayed and click ok
    Now Open Navigator
    Open Your Project
    You will find Lib folder
    Copy the jxl.jar to that lib folder
    Note : You cannot Read the Content from the excel file directly
    First You Have to copy that file to the Server,
    And from the Server you can get the file absolute path
    With the absolute path you can read the contents of the Excel file
    You have to save the Excel file as .xls Format and Not as xlsx format i will not accept that...
    You have Upload the Excel file from the Server Using the File Upload UI Element
    This Coding will extract 3 columns from the Xls File
    Coding
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import jxl.Cell;
    import jxl.Sheet;
    import jxl.Workbook;
    import com.sap.fileupload.wdp.IPrivateFileUpload_View;
    import com.sap.tc.webdynpro.services.sal.datatransport.api.IWDResource;
    public void onActionUpload_File(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionUpload_File(ServerEvent)
        IPrivateFileUpload_View.IContextElement element1 = wdContext.currentContextElement();
        IWDResource resource = element1.getFileResource();
        element1.setFileName(resource.getResourceName());
        element1.setFileExtension(resource.getResourceType().getFileExtension());
        //@@end
    public void onActionUpload_File_in_Server(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionUpload_File_in_Server(ServerEvent)
        InputStream text=null;
        int temp=0;
        try
             File file = new File(wdContext.currentContextElement().getFileResource().getResourceName().toString());
             FileOutputStream op = new FileOutputStream(file);
             if(wdContext.currentContextElement().getFileResource()!=null)
                  text=wdContext.currentContextElement().getFileResource().read(false);
                  while((temp=text.read())!=-1)
                       op.write(temp);                                      
             op.flush();
             op.close();
             path = file.getAbsolutePath();
             wdComponentAPI.getMessageManager().reportSuccess(path);
        catch(Exception e)
             e.printStackTrace();
        //@@end
    public void onActionUpload_Data_into_Table(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionUpload_Data_into_Table(ServerEvent)
        try
              Workbook wb =Workbook.getWorkbook(new File(path));
              Sheet sh = wb.getSheet(0);
              //wdComponentAPI.getMessageManager().reportSuccess("Columns = "+sh.getColumns());
              //wdComponentAPI.getMessageManager().reportSuccess("Rows = "+sh.getRows());
              int columns = sh.getColumns();
              int rows = sh.getRows();
              int i=0;
             for(int j=1;j<=rows;j++)
                       ele=wdContext.nodeTable_Data().createTable_DataElement();
                       Cell c1 = sh.getCell(i,j);
                      ele.setTab_Name(c1.getContents());
                       Cell c2 = sh.getCell(i+1,j);
                       ele.setTab_Degree(c2.getContents());
                          Cell c3 = sh.getCell(i+2,j);
                       ele.setTab_Percentage(c3.getContents());
                       wdContext.nodeTable_Data().addElement(ele);
        catch(Exception ex)
             wdComponentAPI.getMessageManager().reportSuccess(ex.toString());
        //@@end
    The following code section can be used for any Java code that is
    not to be visible to other controllers/views or that contains constructs
    currently not supported directly by Web Dynpro (such as inner classes or
    member variables etc.). </p>
    Note: The content of this section is in no way managed/controlled
    by the Web Dynpro Designtime or the Web Dynpro Runtime.
      //@@begin others
      String path;
      IPrivateFileUpload_View.ITable_DataElement ele;
    //@@end
    Regards
    Chandran S

Maybe you are looking for

  • HT1349 The procedure entry point sqlite3-wal-checkpoint could not be located in the dynamic link library SQLite3.dll

    I just downloaded the update (Ver: 10.6.3.25) to ITunes on my HP (windows 7) Laptop, and mow when I start up my computer in get this error message ( The Procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic Library SQJite3.

  • MPG video files on a flash drive not shown!

    I have a flash drive with videos (.mpg) with format FAT32. When I connect this flash drive to my macbook pro (OSX) it displays on the desktop. However, the videos fail to display when I explore the flash drive. What to do? Folder Architechture: Flash

  • NWDS doesn't display "Window Preferences" Options

    Hi Experts, I used to work in Netweaver Developer Studio (NWDS) without any problem, but now when I open "Window >> Preferences" Options, it doesn't display anything. It shows no options on the left side (white navigation panel) and no options on the

  • Using SQL Loader in more than one table

    Hi all, I have a new question for those who have used SQL Loader. I have never used it and I just know that I need a control file to tell SQL Loader what is my flat file layout and what table the information goes to. My problem is: my flat file has i

  • Dual Layer Drive?

    Hp 2000 Notebook PC Product Number: 00359-OEM-8992687-00010 Hey everybody. I am wandering if my dvd/cd burner is a Dual Layer Burner or not? I can't find any info on it so I have no idea. I was talking to somebody and they said that if it's not, then