Reading Excel2003 into WebDynpro

Hi
I am working on EP6 SP19.
I want to import excel 2003 data into Web dynpro application.
How do i do that?
i tried to work with JexecelApi but with no succes (also read that it support Excel 97,98,2000 - I need Excel2003).
Have a great day
Nir

hi Nir..
may be you shud use the HSSF api.....
try this link....
<a href="http://www.koders.com/java/fid5636164FDE72156B90C9973AC12EBBF49048BA4E.aspx">HSSF_API</a>
Regards,
Sudheer

Similar Messages

  • Webdynpro reading context into table

    Hi Guy,
    I havent been able to find anything on this but I am assuming its a very common questions. I apologise in advance.
    My question below:
    I have a context 0..n
    I would like to read this into table type t1.
    Context and table are base on the same structure.
    I understand I have to use get_static_attributes_ref or table. But I am not sure how to go about getting it and then casting it into type t1
    Thanks in advance.
    Moderator message: please post again in "Web Dynpro ABAP" forum
    Edited by: Thomas Zloch on Oct 28, 2010 3:03 PM

    hi Nir..
    may be you shud use the HSSF api.....
    try this link....
    <a href="http://www.koders.com/java/fid5636164FDE72156B90C9973AC12EBBF49048BA4E.aspx">HSSF_API</a>
    Regards,
    Sudheer

  • How to assign the Thems into Webdynpro Java Application

    HI All,
                   I Downloaded the plugin for them editor and i add those plugins and i created the Them. Please any one can help me how to add that Them into Webdynpro java application.

    Hi ep bhargav,
    You can check this link.....
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ccb6bcf4-0401-0010-e3bc-ec0ef03e13d1
    Re: webdynpro theme editor
    Thanks.
    Venkat.

  • Importing Complex JavaBean model into WebDynpro

    Hi,
    I am trying to get Data from the EJB, in my Case, Command Bean to WebDynpro.
    So i followed this thread:
    <a href="/people/balaramnaidu.bankuru/blog/2006/04/23/importing-complex-javabean-model-into-webdynpro-by-creating-relationships-for-the-model-classes in WebDynpro</a>
    But one thing does't work here:
    I can't import the Complex type java.util.Collection.
    But i need to get Data from a DB-View into my WebDynpro.
    Is there any other chance to do that?
    Here a CodeSnippet from my Command Bean Class:
    public BusinessDelegate() throws CreateException
              try
                   Context ctx = new InitialContext();
                   OracleSessionLocalHome home = (OracleSessionLocalHome)ctx.lookup("localejbs/OracleSessionBean");     
                   session = home.create();
              } catch (Exception e)
                   e.printStackTrace();
         public void getAllOracleDetails()
              try
                   OracleDTO helper[] = session.getOracleData();
                   oracleDetailsList = new ArrayList();
                   for (int i = 0; i < helper.length; i++)
                        oracleDetailsList.add(helper(i));
              } catch (Exception e)
                   e.printStackTrace();
    OracleDTO is my HelperClass, where i made all Variable-Declarations I need in the View.
    Any ideas?
    Would appreciate that!
    Bernd

    You are not unable to import collection type means u are not able to see that variable in attribute list while importing the model?
    This may be due to you have not added getter and setter function for that collection type.

  • Embedding Transaction IView into Webdynpro TabStrip

    Hi,
        My Requirement is ,I have Created Transaction IView ,I want to access the Transaction Iview into Webdynpro TabStrip. I am able to access Iview but it is overwriting existing screen i..e complete Webdynpro screen disappears only Transaction Iview displays. I want Transaction Iview to be displayed as part of the TabStrip.
    Thanks & Regards
    Madhan Mohan

    Hi Satyajit,
             I am having a similar kind of requirement , i have to navigate from webdynpro applicaiton to transaction iview ..once user is done with the transaction ( say maintained the material ) i have to come back to the previous screen ... but i think this is not possible as there will be no way to know that user is done with the transaction .. so i though of creating a Iframe and a button on a webdynpro view and link the Iframe to the transaction iview . so user will have to click on the button once he is done with the transaction .. but according to you .. the transaction will be locked if we link that to the Iframe .. please let me know how to resolve this pronblem. or is there any other solution to my problem ..

  • Getting BW data into WebDynpro table

    Hi All
    Can any one suggest me how to get data from BW? Is it possible to write any RFC for that?
    As far as I know there are many options like BW Query Iviews etc but I need to get that data and have it in a table with lot of images based on result. So I guess I will able to achive this if I have all the data into WebDynpro Context.
    Please suggest me if any one worked on this.

    Hi,
       You can use the BI Java SDK for this purpose. Using this you can execute any BI query through your Java code, retrieve the results and manipulate/display them as you please.
       You can find a full tutorial <a href="http://help.sap.com/javadocs/NW04/current/bi/docs/examples.html">here</a>. Also go through
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how%20to%20use%20the%20bi%20java%20sdk%20in%20a%20web%20dynpro%20application.pdf">this</a>
    Regards,
    Satyajit.

  • Is it possible to export data from a PDF in Reader XI into an xfdf file?

    Hello,
    I am new to the forum and to Adobe Acrobat.  Please bear with me as I explain what I need to do and what I have tried to do so far to accomplish this (based on reading numerous forum discussions and Adobe IAC/JavaScript manuals).
    Operating system, Adobe and Microsoft products on my standalone PC:
         OS:  Windows 7 Professional
         Adobe:  Adobe Acrobat Pro XI
                       IAC Software (free download)
                       Adobe Reader XI
        Microsoft: VisualStudio 2010 (VB.NET and C#.NET)
    I need to export the data from a fillable PDF in Acrobat Reader XI into an .xfdf file that will allow me to pull the field data out of the .xfdf  (xml-type) file and use it in a C# program.  I tried using exportXFDF as a trusted function not knowing initially that Acrobat Reader XI will allow you to import, but not export.  Is there any workaround for this problem?
    Using the IAC I was able to write a program that allowed my to save the data in a fillable PDF in Acrobat to an xml-type file; however, that only worked when my executable was running on a PC that had Acrobat installed (not Acrobat Reader).  I need to be able to do this out of Acrobat Reader XI, and we do not want to use Adobe LiveCycle to do this. 
    I feel like there is something very obvious that I am missing here.
    kfreema7

    I hope you won't see this as rude, but what you are missing is the obvious point that Adobe are in business to make money. So they put as little in Adobe Reader as they can, so people are motivated to buy stuff. Every development intended for Reader has severe limitations on feasibility and techniques for this reason; it's a huge (but very common) mistake to just develop for Acrobat and assume Reader will follow.

  • Document Upload into Webdynpro and transfer to SAP R/3?

    Hi Gurus,
    I have a requirement to offer a Document uploading option through Java webdynpro screen.
    I have referred the below link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
    which has the steps till uploading the document into Webdynpro
    And also I need to offer an option of listing the attachments(that have been attached by the end user into to the JAVA webdynpro form) with the DELETE option ,How to do that?
    Now my requirement is to pass the document into SAP R/3? is there any RFC for that?
    Thanks in Advance,
    Dharani

    Hi Dharani,
    If we want to add Excel into Java webdynpro screen, then we are trying to create a table with invidual cells. This can be easily possible at Java Portal Perspective using Jakarta HSSF POI API.
    But we require at Webdynpro so , we can use the Context  feature available at Webdynpro to load the table. now we can load the table data into an excel and we can display it to end users in the form of Excel..
    to achieve this functionality pls use the below link
    Exporting table data to MS-Excel Sheet(enhanced Web Dynpro Binary Cache)
    Just in case if u need to achive through Portal Perspcetive in NWDS pls use this.
    Create an excel file from JAVA using HSSF api
    the advantage of these two methods is we can create mutable tables i.e. each cell of the table is accessable and can be modifed with using the code.
    Hope this will be helpful.
    Regards,
    Shaila

  • Getting when importing Dynamic PDF into Webdynpro Interactive form

    Hi Gurus,
    I have created a PDF(It has  text box with multiline) in Adobe livecycle Designer and saved as Dynamic PDF, then I imported into Webdynpro interactive form.If I
    import only first page of the form and run WD application, i am getting
    the output, Still text with expand is not working.
    But If I try to import the form with 4 pages and run the WD
    application, it is throwing the following error
    "The following error text was processed in the system SM1 : WebDynpro
    Exception: SOAP Framework error: SOAP Runtime Exception:
    CSoapExceptionFault : SOAP fault found in SOAP document /Transaction
    system failure in method
    rpData./<ns1:com.sap.engine.services.ejb.exceptions.BaseEJBException
    xmlns:ns1="http://sap-j2ee-engine/client-runtime-error">Transaction
    (100,102).
    Please help me on this.
    Thanks,
    John

    Hello,
    I closed this thread. As you opened two.
    Best regards,
    Dezso

  • How can I read cookies in WebDynPro for Java

    Hi,
    in WebDynPro for Java I found a possibility to to get a "request-object" like the standard "HttpServletRequest-object"
    IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
    IWDRequest request = protocolAdapter.getRequestObject();
    debugEnabled = (request.getParameter("Debug") != null);
    With this request-object I can read request-prameters but I couldn't find a possibility to get cookies from the request.
    There is no method like the "getCookies().method" in the HTTPServletRequest-Interface:-((
    Has anybody an idea, how I can read cookies in WebDynPro for Java ?
    Regards
    Steffen

    Hi,
      This is the latest update I could look for regarding cookies and webdynpro.
    Panic - WebContextAdapter is depracted - no more cookies now?
    Regards,
    Harini S

  • I pull fiftyfour bytes of data from MicroProcessor's EEPROM using serial port. It works fine. I then send a request for 512 bytes and my "read" goes into loop condition, no bytes are delivered and system is lost

    I pull fiftyfour bytes of data from MicroProcessor's EEPROM using serial port. It works fine. I then send a request for 512 bytes and my "read" goes into loop condition, no bytes are delivered and system is lost

    Hello,
    You mention that you send a string to the microprocessor that tells it how many bytes to send. Instead of requesting 512 bytes, try reading 10 times and only requesting about 50 bytes at a time.
    If that doesn�t help, try directly communicating with your microprocessor through HyperTerminal. If you are not on a Windows system, please let me know. Also, if you are using an NI serial board instead of your computer�s serial port, let me know.
    In Windows XP, go to Start, Programs, Accessories, Communications, and select HyperTerminal.
    Enter a name for the connection and click OK.
    In the next pop-up dialog, choose the COM port you are using to communicate with your device and click OK.
    In the final pop
    -up dialog, set the communication settings for communicating with your device.
    Type the same commands you sent through LabVIEW and observe if you can receive the first 54 bytes you mention. Also observe if data is returned from your 512 byte request or if HyperTerminal just waits.
    If you do not receive the 512 byte request through HyperTerminal, your microprocessor is unable to communicate with your computer at a low level. LabVIEW uses the same Windows DLLs as HyperTerminal for serial communication. Double check the instrument user manual for any additional information that may be necessary to communicate.
    Please let me know the results from the above test in HyperTerminal. We can then proceed from there.
    Grant M.
    National Instruments

  • Read statement into an internal table

    Hi Experts,
    In my report i have several read statements, now my requirement is i want to put all the read statements into an internal table, how do i achieve it???
    Thank you!

    Hello Maya,
    i want to know how many number of times the read statement is used .
    Two ways:
    1. use a counter after each read statement in your program and increase it by 1 everytime there is read statement and display the final value of the counter in the report that you want.
    2. If you just want to know press (CNTRL + F) enter "READ" , select the radio button "In Main program" and then you will get all the read statement and can count it manually.
    Hope I have not answered your question wrong. But if I have, please be more specific about your requirement so that many an help you.
    Thanks,
    Jayant Sahu.

  • Suddenly, most of my folders that I separate the read emails into dissappeared. How to get back?

    In Thunderbird just now most of the folders that I put my read emails into have disappeared. All the old messages are in them . I need them and the folders too. I don't know what I did to make them disappear. Please help. Thanks.

    this is a follow up from the profane post earlier....
    i have done this twice in two other posts..
    here is my problem.. i started off trying to update itunes, it failed twice and said i needed to install manually via tools.
    the only place to get to tools is the pop up box that appears when you click check for updates.. if there is an available update then the pop up shows up with the quick time and itunes files to download. so i finally figured that out. i clicked on tools and manual update, four files were saved to a file. Apple mobile device support, another one similar, itunes, and another one i cant remember. I only downloaded the itunes file seeing as though thats all i needed to accomplish in the first place.
    so then i restarted my computer bc you need to reboot and then reopen itunes for update to take effect. once i have itunes back open i plugged in my new 5s which i am trying to sync to my computer to get all my stuff back bc i lost my previous phone over the weekend.. once i plugged the phone in an error stating i needed to unistall the apple mobile device support and itunes and then reinstall. well i dont know where those files were originally stored on my computer AND since my itunes was updated, just not the other 3 associated files, when i click check for updates it says its up to date and then pop up containing the quick time and itunes does not pop up thus i cant get back to the tools tab to manually save the 4 files again.
    so i was just going to uninstall itunes all together and then i thought well what happens if it erases all my photos apps songs etc... which would defeat the whole purpose in the first place of me trying to sync my new phone to get all my stuff back.
    so i literally have no idea what to do at this point.. if you have read this you are probably just as confused as me...

  • Urgent help on reading data into ByteBuffer

    Hi,
    I am trying to read data into ByteBuffer using SocketChannel.
    The following code working fine but the problem is with ByteBuffer size.
    The data varies from request to request .
    How do I read data into ByteBuffer with out specifing size .
    The problem with size is some records has more than 500 bytes and some are less than 500 bytes.
    I want to read all the data .. ( even if it has more than 500 bytes ..)
    How do i solve this problem ..
    Is there any way to read data dynamically from socket channel ...
    Any help on this please ...
    The data I have to read is in the following format ..
    XXX ... yyyyy
    AAA
    BBBBBBBBBBBBBBBBBBBBBB
    CCCCCCCCCCCCCCCCCCCC
    DDDDDDDDDDDDDDDDDDDDDDd
    etc ...
    Here is my Code:
    public ByteBuffer getResponse(byte[] request) throws Exception {
    int lenth = 500;
    InetSocketAddress isa = new InetSocketAddress("ip", port);
    SocketChannel channel = SocketChannel.open(isa);
    ByteBuffer requestBuffer = ByteBuffer.wrap(request);
    channel.write(requestBuffer);
    ByteBuffer responseByteBuffer = ByteBuffer.allocate(length);
    int num = 0;
    while (num == 0 ) {
    responseByteBuffer.rewind();
    num = channel.read(responseByteBuffer);
    channel.close();
    return responseByteBuffer;
    Thanks.

    Two possible solutions
    1. Read in as many bytes as you can until you hit the EOS OR you fill the byte buffer. If you fill the buffer (try checking for BufferUnderFlowException), you could move the read bytes into a dynamically allocated memory Collection such as an ArrayList. When you hit the EOF, you could then do whatever else you need to do from then on.
    2. I use this option: Implement a site local protocol for transmitting data. Provide a header first containing 2 ints (compressed size, uncompressed size - so you can also use compression when sending), and send the remainder as a payload.
    Therefore
    Read in the header first (always 8 bytes)
    Then extract those integer values. They will tell you how much is being sent. Set you byte buffer for the payload to be the correct size for this transmission.
    Reset and wait for next connection

  • How to call the methods of JAR file into webDynpro Environment

    Hi All ,
             I have a requirement to call the methods of a JAR file into
             WebDynpro Environment. can anybody suggest me How this can be achieved. I Have a JAR file named FastTrack.API
    which contains few methods and i want these methods to be accessable into WebDynpro as other methods.
    Plz Somebody help me to sort this out.
    Regards,
    Deepak.

    Deepak,
    Please follow these 2 steps:
    1. Add jar into webdynpro project
            Right Click on ur project -> Select properties -> Java Buil path -> Choose Libraries Tab -> Add External Jars -> add the file from ur computer
    2. Use the jar
          write the import statement in your webdynpro code to utilize the properties of added jar.
    Thanks & Regards,
    Ram

Maybe you are looking for

  • Advice on updating to Lion (from Leopard)

    Hi everyone, I have an early 2008 MacBook, version 4,1. Specs: 2.4 GhZ Intel Core 2 Duo 2 GB 667 MHz DDR2 SDRAM 160 GB I'm currently running Leopard, which means I would have to buy Snow Leopard and then buy Lion through the Mac App Store. Has anyone

  • WebDynpro for Java: Standard Components for SM02 en rrMX?

    Hi, Are there standard Components WebDynpro for Java for the transaction codes SM02(SM02_READ_MESSAGES) and RRMX(?)? Which Business Package do i have to use? Kind regards, Joris Meeuwsen

  • I want to snooze an event for a different length of time than the default. How do I select a different snooze length?

    I just upgraded to Mountain Lion and I can't see how to snooze an event alert for other than the preset 15 minutes. How do I snooze events and other alerts for different lengths of time than the default? Sometimes I want to snooze an event until the

  • Converting to Tiff

    I shoot with a range of cameras and almost always in RAW, making my conversions in aperture. Is there a good enough reason to convert to TIFF afterwards? Right now the files sit on my HDD in RAW and Aperture converts them to jpeg for emailing, web si

  • MacBook bluetooth will not respond

    I am a huge fan of built in bluetooth. I use it with my phone as a wireless model, I send files, make skype calls, and even listen to music on the sales floor. About one month ago I noticed that it would not connect to the phone to sync. I didn't thi