How to read a comma separated file in web dynpro for java?

Hi,
I am new to web dynpro for java, i am trying to develop an application where i am uploading file which is a comma separated file i need to read the content of it and then call an rfc  pass those values to it. i have created the ui for the afforesaid.
How do i read the content and call the RFC please help
Thanks

Hi Anumeha,
Perhaps your question can be answered in the Web Dynpro Java .
Thank you.
Regards,
   Jan

Similar Messages

  • How do we scan for viruses of uploaded excel file in Web Dynpro for JAVA

    Hi All,
    Please let me know "How do we scan for viruses of uploaded excel file in Web Dynpro for JAVA"
    Regards,
    Ganga.

    Hi ,
    pl go through this note "Integrating a virus scan into SAP applications 817623 "
    SAP Virus Scan Interface
    http://help.sap.com/saphelp_nw2004s/helpdata/en/30/42c13a38b44d5e8d1b140794e8e850/frameset.htm
    Sample Application
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6e1c4221-0901-0010-63ba-b1f9459d6e74
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f2681486-0a01-0010-8497-c778eac80da5
    Regards
    Ayyappparaj

  • Re:using an XML file in Web Dynpro for java

    Hi all,
    I have pasted an xml file in Mimes->Components and my file name is Doc_List.xml after that i have done some manipulations using that file like this
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
              DocumentBuilder db = dbf.newDocumentBuilder();
                                   Document doc = db.parse("//Doc_List.xml");
              String name = "description";
              NodeList nlst = doc.getElementsByTagName("name");
              Node node= nlst.item(0).getFirstChild();
              //node.setNodeValue(name);
                         String a = node.getNodeValue();
                                    wdComponentAPI.getMessageManager().reportSuccess(a);
    the exception iam getting is java.io.FileNotFoundException: /Doc_List.xml (No such file or directory)

    Hi,
       Place your xml file under the path src/mimes/Components/<your component name>. Then use the following code to read it:
    String xmlUrl = WDURLGenerator.getResourcePath
                                   (wdComponentAPI.getComponent().getDeployableObjectPart(),
                                    "FileName.xml"
    if(xmlUrl != null){
       Document doc = DocumentBuilderFactory.newInstance()
                                            .newDocumentBuilder()
                                            .parse(new File(xmlUrl));
       doc.getDocumentElement ().normalize ();
       // do further processing...
    Regards,
    Satyajit

  • How to read some images from file system with webdynpro for abap?

    Hi,experts,
    I want to finish webdynpro for abap program to read some photos from file system. I may make MIMES in the webdynpro component and create photos in the MIMES, but my boss doesn't agree with me using this way. He wish me read these photos from file system.
    How to read some images from file system with webdynpro for abap?
    Thanks a lot!

    Hello Tao,
    The parameter
       icm/HTTP/file_access_<xx>
    may help you to access the pictures without any db-access.
    The following two links may help you to understand the other possibilities as well.
    The threads are covering BSP, but it should be useful for WebDynpro as well.
    /people/mark.finnern/blog/2003/09/23/bsp-programming-handling-of-non-html-documents
    http://help.sap.com/saphelp_sm40/helpdata/de/c4/87153a1a5b4c2de10000000a114084/content.htm
    Best regards
    Christian

  • How to get a r/3 file using web dynpro

    Hello Experts.
    Actually I have a new request, I hope you can help me please.
    I'm a web dynpro programmer (java), so my company need to take a r/3 file to download at the local pc. In fact, the file is en r/3 already.
    The matter is, i have no idea how to get that file since my web dynpro app. to download it. the file is a compressed file may be a .ZIP file... so any of you can let me see the light in this??
    thak you all.
    walex

    Hi Walex,
    You will first need a RFM that returns the file that you need.
    Then you can create a Adaptive RFC model in Web Dynpro to access this RFM and store the file in the Web Dynpro context. Web Dynpro provides APIs to save files to the local system
    You can check this article for downloading the file.
    http://wiki.sdn.sap.com/wiki/display/Snippets/WebDynproJava-ExportingTableDataUsingOn-DemandStreams-SAPNW+7.0
    Best Regards,
    Supriya

  • Uploading excel file in Web Dynpro for ABAP

    Hello Gurus,
                       I need to upload a excel file in my Web Dynpro (ABAP) program. Can anyone please tell me how do i do this. Kindly help.
    Regards,
    Aditya.

    Hi Aditya,
    Please search the forum...
    Please check this link
    Uploading Data from Excel File To Dynpro
    Excel Upload via Web dynpro ABAP
    Upload and Reading Excel File in Web Dynpro
    Best regards,
    raam

  • How to customize ESS Business package files in Web Dynpro

    Hi
    Does anyone know how we can customize the ESS Business Package using web dynpro. I tried opening one of its application but since it doesn't carry any .project file, it cannot be opened in the NWDS for customization.
    Also, if there is any document available describing the method to be used for this, can you please pass the link for that or mail at [email protected]
    Thanks & regards,
    Anupreet

    Hi Raj,
    try this SDN article on <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21eb036a-0a01-0010-25a3-b2224432640a">Configuring the Business Package for Employee Self Service - mySAP ERP 2004</a>.
    Regards, Bertram

  • How to transport Web Dynpro for Java to Quality and Production

    Hi experts,
    I am about to start my first Web Dynpro application, local on my PC. How can I make it available than in quality and production system?
    Thank you very much.
    Best regards,
    Danijela

    Hi,
    If ur quality and production system can be used through the DTR only.
    If u have authrization then u can directly chek in the files or application.
    Otherwise u can send the Zipfile(Application)to be sent to ur coordinator then he will check in the Application into DTR.
    For the Quality and productionsytem can be used Ear file from the DTR.
    Thanks
    Lohi.

  • How to call legacy system screen in web dynpro for java?

    Now I'm using Netweaver CE for building BPM (Business Process Management).
    In BPM system, I wana call legacy system screen(ERP, C/S , Web, etc..) in web dynpro.
    I'v already known how to call legacy system method and data.( using RMI, SOAP and RFC )
    But I don't konw how to call legacy system screen.
    If there is no way calling legacy system screen, I will have to build every screen using web dynpro.
    It's so terrible.
    So I think there is a way calling legacy system screen.
    It's just my opinion.
    If It can call legacy system screen in web dynpro, please let me know how to call it.
    Or, If there is no way calling legacy system, how solve I this problem?
    Thank you reading my question.

    I assume that with "legacy system screen" you mean ABAP Dynp sceens. Of cause it would be attractive to integrate into new BPM processes. However there is a conceptional issue: You could easily integrate them e.g. into a WebDypro using a URL to to the so-called WebGUI (the ITS that makes Dynp screens Web enabled).
    However the Dynp screen store all there state in the ABAP backend. This information is not available to to the process engine, e.g. to set the Task to completed or to use the data in Output Mapping.
    In fact you need a way to wrap the how UI transaction into a WebDynpro screen including data flow.

  • How To Hide Adobe Tool Bar in Web Dynpro For Java.

    Hi To All,
                I'm using NetWeaver 2004's. In Project i require to Hide Adobe Tool Bar.I already used Hide Reader Tool Bar Button from  Standard Library for Web Dynpro.But it was not Working. I want Programatical way to Hide Adobe Tool Bar.
      Can anybody Help me out.
    Regards,
    Roop Kumar.Annavarapu.

    Hello,
    this is possibble. please check the following code part:
    // Get interactibe form handler. interactiveFormID is the ID of the
    //interactive form assigned to the form at the designtime on the  
    //interactive form UI element property sheet.                     
    IWDPDFDocumentInteractiveFormHandler iFormHandler =               
       WDPDFDocumentFactory.getDocumentHandler(wdThis.wdGetAPI(),     
            interactiveFormID);                                                                               
    // Get appearance setter.                                         
    IWDPDFDocumentAppearance appearance =                             
       iFormHandler.getDocumentContext().getAppearance();                                                                               
    // Hide tool bars.                                                
    appearance.hideToolBars(true);                                   
    I hope this helps.
    Best regards,
    Dezso

  • How to get changed data in ALV in Web Dynpro for ABAP

    METHOD on_data_check .
    DATA:
        node_spfli                          TYPE REF TO if_wd_context_node,
        node_sflight                        TYPE REF TO if_wd_context_node,
        itab_sflight2                        TYPE if_display_view=>elements_sflight.
      node_spfli = wd_context->get_child_node( name = if_display_view=>wdctx_spfli ).
      node_sflight = node_spfli->get_child_node( name = if_display_view=>wdctx_sflight ).
      CALL METHOD node_sflight->get_static_attributes_table
        IMPORTING
          table = itab_sflight2.
    this code is ..get all data(changed and not changed)
    but i want get changed data only, not all data.
    how to get changed data?
    Edited by: Ki-Joon Seo on Dec 27, 2007 6:04 AM

    Hi,
    To get only the changed data in the ALV grid of a WD, you need to capture the "ON_DATA_CHECK" of the ALV grid.
    To this please do the following in the ALV initialization of the ALV table settings :
        lr_table_settings->set_data_check(
                IF_SALV_WD_C_TABLE_SETTINGS=>DATA_CHECK_ON_CELL_EVENT ).
    You may also do this:
        lr_table_settings->set_data_check(            IF_SALV_WD_C_TABLE_SETTINGS=>DATA_CHECK_ON_CHECK_EVENT)
    The above two ways would depend on when do you need to check for the changed data. If you want to check the data as soon as it is entered, then use the first method. Else, use the second method.
    You need to register an EVENT HANDLER for this event.(You may do this in your VIEW or Component Controller).
    In this Event handler, you would find an importing parameter R_PARAM which is a ref type of      IF_SALV_WD_TABLE_DATA_CHECK.
    The attribute T_MODIFIED_CELLS of this interface IF_SALV_WD_TABLE_DATA_CHECK will contain the modified cells of the ALV with the old & new values.

  • How to set a background image in Web dynpro for Java?

    Hi,
    Experts,
    As i  want to set a background image in my application can u please suggest how to get background image. send any sample scenarios.
    Thanks in advance,
    Shabeer ahmed

    Hi,
    I don't  think it can be done in WDJ.
    Maybe something can be done on the portal end.
    Refer to http://help.sap.com/saphelp_nw70/helpdata/en/79/affe402a5ff223e10000000a155106/frameset.htm
    Changing the theme can help maybe but I do not know how to go about that
    Regards,
    Himanshu

  • Reg:Parsing of an xml file in Wed Dynpro for java

    Hi all,
    I have an Xml file in my local pc and i have to parse that xml file i.e in that xml file i have to get the values of some fields and i have to set those values to the attributes of a node.so can any one help me out in solving this issue.
    Thanks,
    Mahesh

    hi mahesh,
    check this link
    http://help.sap.com/saphelp_nw04s/helpdata/en/5d/d0e678bcf90e46bf31447e7f38c9d6/frameset.htm
    thanks and regrads
    bvr

  • How to use data from standard view in Web dynpro for ABAP

    Hello:
    I have to create an Abap Web Dynpro, and I must use data from a standard view in the new one. Does anybody know what do I have to do?
    Thank you and have a happy new year.

    Hi Rodrigo,
    Firstly, list the Standard component under Component Usage of the Component which you are creating in your View.
    Second, In the Custom Component, view, goto context, and try to add the node from the Standard component in to your view.
    NOTE: The second step requires a Node in component controller of the Standard Component.
    Finally, Now in your view, get the data from that and map the data.
    NOTE: To do this, I think you need to call your Standard WDA first and then only your node contains data and it will be passed.
    I hope it is helpful.
    Regards,
    Shashikanth. D

  • Download tutorial "How to Use Stateful IFrames in an Web Dynpro for Java"

    Hi,
    This article is very nice: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10aae7db-2e08-2d10-1f97-86a221a9ea46?quicklink=index&overridelayout=true regarding iFrames and Google Maps integration.
    I'm wondering where I can download the tutorial itself (source code)?
    Somebody any idea? - I checked WDJ tutorials and many other places..no success..
    Regards
    Steffen

    here you go
    http://wiki.sdn.sap.com/wiki/display/WDJava/WebDynproforJavaDemo+Kit

Maybe you are looking for

  • Diff between gui_upload &? ws_upload

    can any one tell me what is the difference between gui_upload and ws_upload.

  • Clicking on links to images bring up tons of random letters

    whenever i click on links to images in safari or fire fire, tons of random characters appear instead of the image, and if i click download linked file it saves it as file.jpg.html. recently installed lightroom and adobe acrobat ÿØÿà JFIF   HHÿÛC     

  • HP8500A- how do I choose paper tray 1 or paper tray 2, depending on if I'm printing a photo or a doc

    Store clerk said I could keep photo paper on Tray 1 and 8.5x11 in Tray 2 and that the printer would recognize what I was trying to print and use the appropriate paper tray.  But it seems to use Tray 1 as default, and if Tray 1 is emtpy, then goes to

  • After Effects CC suddenly won't launch

    It's done this twice before, but has been fine lately.  I have a last-minute deadline job that just came in and I can't get AE to even start!  Last time this happened, I just kept trying and after about 15 attempts, it launched...not doing that this

  • Is is better to use static variables?

    Hi, Does anyone know if it's better to use static variables or to use normal variables? Concerning the size of the code, it seems that declaring a variable as static is more consuming (for example plus 6 bytes for an object reference). So this could