Excel import export using Office Control

Hi,
We have the requirement to provide a feature like an excel uplaod and download in our UI (WD ABAP).Basically we have some WD table view and we need to collect all the data in each cell and then download the data in an excel file.Similarly we need to get the data in the Excel and fill the table view with this data from the excel.
Is this possible through the Office Control?I checked out the examples in SIOS but my impression was that it more or less embeds office objects(excel,word etc) in Webdynpro container,but does not really get the data to be filled in an internal table.Also I am not sure whether I can download data from my WD table view to an excel file using this.
Can anyone please tell me if there is some way to do this through an office control.If not what are the options available for me to achieve this functionality.
Thanks and Regards
Sourav

Hi Sourav,
If you use WDP ALV table, it has an 'Export' functionality which will export the contents of the table into an Excel.
Regards,
Wenonah

Similar Messages

  • Excel Import/Export in RulesManager ?

    Hi ,
    We do have Excel import/Export feature at Designtime. Do we have same feature at runtime in RulesManager also ?
    Regards, Anil

    Hi Anil
    Currently Import/Export of Decision Table to Excel sheet is not available in CE 7.2. However, this is available from the 7.3 release.
    Regards
    Harsh

  • Error received on deploying after using Office Control in NWDS.

    Dear All,
    I received the below mentioned error after deploying an application on the portal using Office Control in NWDS.
    com.sap.tc.webdynpro.progmodel.context.ContextException: Path null does not point to an attribute, but to [email protected] 
    I used the below mentioned link to craete this application.
    everything has been done as per the procedure. Please notify me the solution for this issue.
    Thanks and Regards,
    Soumyadeep.

    Hi Soumyadeep,
    Have you binded the "dataSource" property of the UI element properly to a binary attribute. Because this error says you have not binded some mandatory property in iView.
    So may be dataSource or some other property which is mandatory is not mapped.
    Ninad

  • Import Data from Office Control (Web Dynpro for ABAP) into internal-Table

    Hello,
    I have a question concerning the Office Control UI-Eelement in Web Dynpro for ABAP:
    How can I import spreadsheet data from the Office Control into  a internal-table?
    I have an Excel-sheet (without any data) which is shown initially in the Office Control. First the empty Excel-Sheet will be loaded and in the second step data from an alvxml-transformation will be loaded into the Excel-sheet with the method 'activatexmlsource'. This works so far. When I change the loaded data in the Office Control and save it it will be stored as XLS-File. The problem is that I'm not able to use existing Upload-FM because every function module I tried uses GUI-functions and WebDynpro has no GUI-functionality. I always get the error that data from clipboard cannot be imported.
    So now the question is:
    How can I import changed data from the Office control into a internal-table staying in Web Dynpro application?
    Please give some advice, if you have some useful code or ideas.
    Thanks
    ram
    Edited by: Ramakullay Challa on Sep 24, 2009 9:05 AM
    Edited by: Ramakullay Challa on Sep 24, 2009 9:07 AM

    Hi,
    Once you save to desktop again you have made some changes to that file, this file you want to upload it right.
    Then in that case you need to use the FILEUPLOAD UI element right.
    Regards,
    Lekha.

  • Import Data from Office Control (Web Dynpro for ABAP) into SAP-Table

    Hello,
    I have a question concerning the Office Control UI-Eelement in Web Dynpro for ABAP:
    How can I import spreadsheet data from the Office Control in a SAP-table?
    I have an Excel-sheet (without any data) which is shown initially in the Office Control. First the empty Excel-Sheet will be loaded and in the second step data from an alvxml-transformation will be loaded into the Excel-sheet with the method 'activatexmlsource'. This works so far. When I change the loaded data in the Office Control and save it it will be stored as XLS-File. The problem is that I'm not able to use existing Upload-FM because every function module I tried uses GUI-functions and WebDynpro has no GUI-functionality. I always get the error that data from clipboard cannot be imported.
    So now the question is:
    How can I import changed data from the Office control into a SAP-table staying in Web Dynpro application?
    Please give some advice, if you have some useful code or ideas.
    Thanks in advance,
    Philipp
    Edited by: Philipp Hiebler on Feb 11, 2008 10:15 AM

    Hi,
    Once you save to desktop again you have made some changes to that file, this file you want to upload it right.
    Then in that case you need to use the FILEUPLOAD UI element right.
    Regards,
    Lekha.

  • Import/Export uses odiparam.bat for work/master Repository

    When I do a import/export, the command appears to use the odiparam.bat file to pickup the work/master repository connections. This makes sense for the export, but the import has an optional parameter for the work repository. From what I can tell, this parameter is ignored (or am I doing something wrong). Regardless, of whether or not it is used, how would ODI know the connection (user/password) information if it was used. This would seem to indicate that the user WAS picked up from the odiparam.bat file.
    Am I thinking about this correctly or have I missed something?
    T

    How are you trying to do the import/export?
    If you are importing the obejcts in designer - it will use the credentials you specified when you connected.
    Craig

  • Import/Export Legal Regulation Control w/ One Legal Regulation

    Hi,
    In a separate thread, Dhillipan helped me configure a legal regulation using Country/Country Group (config activity: Activate Legal Regulations at Country/Country Group Level) which was very helpful to restrict Sales Orders / Deliveries from a specific country to a specific country group.  In addition to those export documents, I would also like to use the same legal regulation to prevent the export of inter-company purchase orders (import document) from Country BE to any country in the world. I assume I would have to reverse my logic and prevent the export of Product 123 from any country in the world to Country BE.
    What are some suggestions to leverage the existing legal regulation for both import and export control from/to BE?
    For instance...
    Sales Orders / Deliveries:
    Product 123 cannot be exported from BE to RU, AR and US, but can be exported to any other country using sales orders/deliveries (this has already been configured)
    Purchase Orders (Inter-Company):
    Product 123 cannot be exported from BE to RU, AR and US, but can be imported to any other country using I/C purchase orders.
    Thanks for your help.

    Hi Chris,
    Just to make sure my understanding is right. You need same kind of export check for Inter-company Purchase orders right? the same kind of check that we had configured for SO and Deliveries?
    In standard all purchase orders are considered under Application level MM0A, which will be shown under Legal Control Import for Imports check. Relevant outbound deliveries will be used for export check.
    So, performing export check on PO is not possible when you have this in MM0A level. There is a note available to alter the application level for I/C POs from MM0A to SD0A. But I don't think you should think of it just considering this particular requirement. But I believe your requirement will be taken care when a delivery is created for your I/C PO- Did you check that already?
    But you may give a try with following settings for the same legal regulation in addition to whatever you have setup for export.
    Country Group for RU, AR and US- Which u had created already. Activate imports check for same legal regulation at Country Group/Country level.
    LR1
             ZGRP1 --- Not activated for Import
                      BE- Activated for Import.
    This way, your STO will be blocked when there is an Import to RU, AR and US from Belgium. I assume this is what you needed.
    As you know, you will need this strategy added in your determination procedure. Just ensure there isn't any impact to the existing SO/Del level checks.
    Please try this once in sandbox. I haven't checked this in system like last time. So, I am not 100% sure this will work.
    Regards
    Dhilipan

  • Some Questions on Import/Export using SQL*Plus

    Could somebody help me by answering the following queries? I couldn't find the answers in this forum or the User Guide.
    1. Can we create an application or page export without using the web front-end? E.g. Call some pl/sql, get a file on db server...
    2. Can we change the application id within an application/page export? It looks like it is only referenced a few times in the script (set package variable, wwv_flow_api.remove_flow, wwv_flow_audit.remove_audit_trail, wwv_flow_api.create_flow, thereafter uses package variable)
    3. Can we change the workspace within an application/page export? It looks the workspace is set with wwv_flow_api.set_security_group_id(p_security_group_id=>719307052588490). Is a 'security group' a synonym for 'workspace'?
    4. Supposing I wanted to transfer only the shared components of an application from one DB to another. Could I achieve this by first exporting every page of the target app individually, then import source app over target app, then re-import each individually exported page over target app?
    Thanks!

    1. Yes. Search this forum for command line export. The command line export utility is on the Studio at http://apex.oracle.com/studio
    2. I wouldn't do that. The application id is probably used (indirectly) to generate foreign
    keys (template ids, offsets and such).
    3. Same answer as (2).
    4. There is no way to export/import only the shared components.

  • Selective member import/export using dllexport and default constructor

    We can only export some methods in the class(https://msdn.microsoft.com/es-es/library/8d7d1303-b9e9-47ca-96cc-67bf444a08a9%28v=vs.100%29)
    What if we export only some methods in the class and not exported the default constructor(Will it get generated by the compiler in external app which use this dll?).The class may have some private data member as well which are not exposed in the published
    header file(Which we distribute with DLL).
    How the memory gets allocated to those private data members which are not exposed as the default constructor is not exported? 
    Niranjan

    We can only export some methods in the class(https://msdn.microsoft.com/es-es/library/8d7d1303-b9e9-47ca-96cc-67bf444a08a9%28v=vs.100%29)
    What if we export only some methods in the class and not exported the default constructor(Will it get generated by the compiler in external app which use this dll?).The class may have some private data member as well which are not exposed in the published
    header file(Which we distribute with DLL).
    How the memory gets allocated to those private data members which are not exposed as the default constructor is not exported? 
    Niranjan

  • Problem in using Office Control to launch ms word

    Hi Armin,
                   What u said is right, but the data type of both the attributes in view context and controller context are same (binary). I had placed all the code in component controller only and trying to assign the Byte array to controller context (binary) attribute only. I think there might be some problem with supplier function. Plse check it once...
    Regards
    Ramesh.k

    Hello,
    I do not know the source of your problem, but
    a.) Check if the db colum types match the parameter types
    See http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/controls/database/conMappingDBFieldsToJavaTypesInTheDBCtrl.html for more info
    b.) command-type is only used for rowset controls.
    -Kai

  • Problem in Import & Export using Database Vault

    I have install oracle 10g Release 10.1.0.3 also i have installed database vault.
    Conn to sqlplus datavault manager
    Create user app1 identfied by app1;
    grant connect to app1;
    Now connect sys as sysdba to sqlplus
    grant resource to app1;
    In short i will give him all athe grants...
    I make a realm of app1 'app1_realm'
    All the authozation is perfomed in realm.
    then i have add it to data dictionary realm as a participent.
    now when i export at table level, it will export the schema with out warnings ie successfully
    but when i export at schema level app1 then it will be exported but with errors.
    the error numbers are
    ora-39083
    ora-31625
    ora-01031
    these errors are raised with grants such as
    grant Unlimited tablespace to app1;
    grant connect to app1;
    grant resource to app1;
    grant exp_full_database to app1;
    grant imp_full_database to app1;
    and with other grants...
    Note that i have granted these grant to user app1
    Please help me
    Best Regards,
    Kiramat Ullah

    I tywill be nice if you post the error messages for the codes
    ora-39083
    ora-31625
    ora-01031
    Not everyone has the time to look them up or know them off head

  • Spread sheet in Webdynpro ABAP using Office control

    Hi Experts,
    I need to create an excel sheet in an ABAP Webdynpro application and fill its data
    programatically in my code i.e. I cannot read data from an existing file and populate the data source.
    Is it possible to fill its data source in any other way, example from an internal table.
    Please suggest.
    Thanks and Regards,
    Sadaf.

    ch4eck this out:
    excel

  • Problems in Office control

    Hello Everyone,
       I am stuck with a problem using office control.
    The requirement is to display the excel file contents present in the application server to the office control.
    The problem is with reading the contents of the excel file.
    here is the method i used:
      data:
        mime_repository type ref to if_mr_api,
        content type xstring,
        url type string value '/MIG/D/TEST/TEST.xls'.
      mime_repository = cl_mime_repository_api=>get_api( ).
      call method mime_repository->get
        exporting
          i_url = url
        importing
          e_content = content.
    * DATA is binded to the office control contents
      wd_context->set_attribute( name = 'DATA' value = content ).
    The GET method returns a sy-subrc = 3, which means file not found.
    whereas the same code works for another application server with its path.
    Where am i going wrong?  or is there any alternative method to get the content from the file?
    Regards,
    Kinshuk
    Message was edited by:
            Kinshuk Saxena

    Hi Kinshuk,
    I think you should place your file in the exact folder where WDA can recognize, I mean try placing it @ the folder...
    "/SAP/BC/WebDynpro/SAP/PUblic/BC/ssr/uuielibs/office_integration".
    Regards
    Raja Sekhar

  • Display MS word file in Office control

    Hi all,
    I am using the Office control UI element to display a MS word file in WD application. I have created a Mime object for the word file and get this file data into a Xstring attribute, and bind this attribute with the datasource property of the Office control.
    But at the runtime I am not able to display the Word file, it displays only a White colour container with text SAP IOS. Can anyone suggest me how I can get the word file in WD component using office control.
    I have also checked SOIS pakage, but didn't get any solution from the example given in this package.
    For your reference I am using the below code to get the mime object in Xstring attribute.
    DATA:
      mime_repository TYPE REF TO if_mr_api,
      content TYPE xstring,
      url TYPE string VALUE '/SAP/BC/WEBDYNPRO/SAP/ZTEST_SAN5/TEST.docx'.
      mime_repository = cl_mime_repository_api=>get_api( ).
      CALL METHOD mime_repository->get
        EXPORTING
          i_url     = url
        IMPORTING
          e_content = content.
      DATA lo_nd_office TYPE REF TO if_wd_context_node.
      DATA lo_el_office TYPE REF TO if_wd_context_element.
      DATA ls_office TYPE wd_this->element_office.
      DATA lv_test TYPE wd_this->element_office-test.
    navigate from <CONTEXT> to <OFFICE> via lead selection
      lo_nd_office = wd_context->get_child_node( name = wd_this->wdctx_office ).
    get element via lead selection
      lo_el_office = lo_nd_office->get_element( ).
      lv_test = content.
    Set single attribute
      lo_el_office->set_attribute(
        EXPORTING
          name =  `TEST`
         value = lv_test ).
    This lv_test having the Xstring data after execution but didn't set this data as word file at runtime.
    Please suggest if anyone have any idea on this.
    Thanks
    Sanket

    hi,
    try this in browser..
    tools->internet options->security->custom level
    here you will find Active x controls and plugis..
    enable all of them and try your applications..
    if it is helpful pl give some points buddy:-)
    regards,
    Kranthi.

  • Hi office control

    hi all,
    i cannot do using office control..
    please call me how about office control(ms_word and ms_excel)???
    how is prepared for office control???
    Reply me soon......
    thanks,
    s.suresh

    Hi,
    for installation prerequisites, see <a href="http://help.sap.com/saphelp_nw70/helpdata/en/43/e86de5008b4d9ae10000000a155369/content.htm">this</a>, and for information on the OfficeControl, see <a href="http://help.sap.com/saphelp_nw70/helpdata/en/d1/af8841349e1909e10000000a155106/frameset.htm">that</a> and the examples in the system in package SIOS.
    Regards, Heidi

Maybe you are looking for

  • JScrollPane + Component sizes before display

    I was recently presented with a minor quandry. I have a JPanel which needs to occupy a minimum fixed amount of real estate on my application's GUI, call it 'checkbox_jpanel'. The problem is that as the user operates the application, more and more che

  • Adobe files

    is there an app that allows you to edit or highlight text in pdf

  • ICloud not syncing all purchased songs

    I currently have three devices associated with my Apple ID: a Windows Vista desktop, a Windows 7 laptop, and an iPod 2 with iOS 5 on it. On each of these, iTunes is the most recent version. In each, I'm able to sync MOST of my purchased music from th

  • [SOLVED] Pacman 3.2 Extracting Error

    hmm, I think updates are still happening but there's that message: error: could not extract (Premature end of gzip compressed data: Input/output error) error: failed to update community (unexpected system error) yaourt -Syyu :: Synchronizing package

  • I need to know how to fix the problem

    my iphone turned off and won't come back o