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.

Similar Messages

  • 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.

  • HCM Processes & Forms : Migrating from JSPs to Web Dynpro for ABAP

    We are pretty well invested in HCM Processes and Forms.  We currently use JSP based forms as the UI for our notifications.   We do not, use Adobe Forms.
    For a number of reasons, we want to transition to forms based in Web Dynpro for ABAP.
    We want to bring a new scenario online using WD4A.  Down the road, weu2019ll very likely transition our old JSPs over to the new methodology as well.  
    I would expect that this is pretty well doable.  As part of a proof of concept, we did launch notifications from the web dynpro environment, had them initiate workflow, etc .  Weu2019ve also pulled up our web dynpro app from the UWL and portal.
    Has anyone gone through this specific exercise u2013 moving from JSPs to WD4A?  We are particularly interested in where the integration points will be, working with ISR_PROCESS_EVENT, etc.
    Your comments, suggestions, references, etc. are welcomed, as well as any discussion you may offer.
    Thanksu2026
    ...Mike

    And along the same lines, any thoughts around which of the following QISRDPROCESS_TYPEs might be a better choice?
    Entry Using ITS Service
    Entry Using Adobe PDF
    We currently use the ITS Service type.  I think this may be our first direction, replacing url links with links to our webdynpro application which woulds need to integrate calls through ISR_PROCESS_EVENT
    The Adobe Type seems interesting - Again, we do not, nor will, have Adobe Forms in place for this development.  But, I've read some discussion that folks have enhanced out of actual Adobe Form rendering.
    Again, the thoughts of the community are welcomed here.
    Thanks...
    ...Mike

  • Integrating Web Dynpro for ABAP into ABAP Workflow

    We have a requirement to create a User Interface via Web Dynpro for ABAP, and use that information to start off a workflow, transferring the data from the Web Dynpro application into the container of the Workflow.
    Also later in the workflow, we would like an approval step to invoke a Web Dynpro that displayes the data, and an approve/reject button to be pressed that feeds that data back to the Workflow.
    Has anybody done this, or does anybody know how to do this? We do not have the possibilities to use CAF in this project yet.
    Kind Regards,
    Tony.

    Hi,
    This is of course possible. Starting the workflow with Web Dynpro or from classic ABAP dynpro doesn't really differ. Just build your web dynpro as you would build a transaction, and from the submitting/execution phase, you just launch the workflow. Launching the workflow can be done with couple of different techniques (=function modules) and it has been discussed many times here.
    Also the approval part shouldn't cause any problems. Just build an application which takes as a parameter for example the work item ID (or any other relevant parameter that you can imagine, which you can use to retrieve the needed data that you want to display). Then from the web dynpro application you can call for example a function module, which can complete the work item. Or another option is that you will raise an event (again with a function module), which your approval task is waiting for.
    Once again, it isn't really that different from classic dynpro (or any other technique) - the same approaches can be utilized.
    Regards,
    Karri

  • 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.

  • Developing Web Dynpro for abap in sap

    Is it possible to develop wda in mySAP 2004 (ecc 5) and netweaver 2004s.
    Edited by: tushar gupta on Jan 14, 2008 6:07 PM

    No, WDA is only availiable starting NW2004s (7.0), not before.
    Regards, Heidi

  • How to call "compensation profile" iView in ECM from Web Dynpro for ABAP

    Hi Experts,
    I developed a compensation planning iView using web dynpro for ABAP using floor plan manager in ECM. I need to call the iView "compensation profile" but I don't know how to pass parameter to it, how to trigger it from my application. Is there anyone used to do this before?
    Thanks!
    - Anthony -

    I have to develop my own iView to replicate Java iView.

  • Call back-end report from Web Dynpro for ABAP

    Hi Experts,
    I have an web dynpro for abap application, I put it into an iView. I also have a report which have selection screen and ALV display in back-end. Now I would like to call the report from the web dynpro application and display it in the web.
    What steps need to be done to do it?
    Thanks,
    Anthony

    Anthony,
    you can create a custom transaction for your report "for example ZREPORT" and then create an IVIEW for ZREPORT.
    in your webdynpro you can create a button or link and in the action behind you can call OBN and pass the IVIEW parameters for the OBN call.
    OBN can be found in the webdynpro wizard tool.
    thanks!
    Jason PV

  • Full ABAP Edition-Trial (with Web Dynpro for ABAP) Max DB data volume

    I recently installed Full ABAP Edition-Trial (with Web Dynpro for ABAP)- SPS08.
    http://static.flickr.com/89/243544270_91e713e3a3_o.jpg
    as you can see, it's already 92% acquired ( just after installation)
    Is it correct?
    or it's better to add another volume?
    The other question is
    according to the license installation guide,
    it sounds like we can delete the temp licese with SAP*.
    so I did like that but i got the following message
    http://static.flickr.com/81/243546622_bc99d1af2b_o.jpg
    Well, I could delete the old license with BCUSER.
    Thanks,
    David

    Hello,
    to your first question.
    The MaxDB database has a feature which can
    increase the database automatically.
    This ( auto_extend ) is turned on for the SDN Preview
    installation.
    That means the database should extend a further datavolume
    automatically when the filling level gets over 90%.
    In your case the database already added two more datavolumes. The installation only creates one.
    Best regards, Stefan

  • How to Call Transaction iView that calls RRMXP from Web Dynpro for ABAP

    Dear Experts,,
    I'm developing an application in Web Dynpro for ABAP wherein I'm supposed to give a link that should open an SAP Transaction iView that calls  tcode = 'RRMXP' and I pass the application parameter as QUERY/WBID = <BI query/Workbook ID>.
    I tried calling com.sap.portal.appintegrator.sap.bwc.Transaction iView, but it asks for system/application and GUI type parameters. How to pass through the URL?
    Any help would be highly appreciated
    Regds,
    Srini

    Hi Wolfgang,,
    My problem was that I was supposed to call the BeX Web Analyser ( a BI excel based tool - client installation) on click of a button in my WD-ABAP application. I solved it as follows :
    In the portal pcd, I cam across a folder content provided by SAP. Here, you'll find standard template iViews that can be used to call applications ( for which you make iViews). I had to call an SAP TCode : RRMXP so as to call a BI Workbook/Query.
    So, I called the standard iView template for sap_transaction_iView as follows :
    irj/servlet/prt/portal/prtmode/preview/prtroot/'
               'pcd!3aportal_content!2fcom.sap.pct!2ftemplates'
               '!2fiviews!2fcom.sap.portal.sap_transaction_iview?'
               'sap-config-mode=true&System=BWR3System&TCode=RRMXP'
               '&GuiType=WinGui&OkCode=y&ApplicationParameter='  <appnm>  into url.
          l_popup =
             l_window_manager->create_external_window( url = url
                                          has_menubar = ' '
                                         has_statusbar = ' '
                                          has_toolbar = ' '
                                          has_location = ' ').
          l_popup->open( ).
    And , it worked.
    Any more help pls feel free to revert.
    Regds,
    Srini

  • Web Dynpro For ABAP Question

    Hi all,
    I'm creating Adobe Interactive forms in Web Dynpro for ABAP.
    <b>Problem:</b>
    <b>Context defined in the created "View" is not displayed in the 'templates' (Adobe Interactive Form in the "Data View" tab.</b>
    I'm following the exact steps used in the following e-learning class:
    <b>https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3</b>
    Except I'm creating 'string' fields instead of numeric fields like in the above e-learning class and creating my forms in Adobe Livecycle designer first then importing them to the web dynpro for abap - 'templates'.
    The 1st form I created went well and works fine.
    <b>Question:</b>
    For my second and third form I'm unable to map my context fields they are not displayed in the "Data View" anyone know why this is not possible?
    Cheers,
    Dharm

    Hello,
    are you creating the form via forward navigation from webdynpro abap?
    When you do that the context of the form should be created automaticaly.
    What Basis SP level are you using?
    Best regards,
    Dezso

  • Web Dynpro for ABAP: Tutorial 2 - BAPI Usage

    Hi ,
    I am new in  WD for ABAP and i trying to finish tutorials from SDN. The  Second tutorial
    "Web Dynpro for ABAP: Tutorial 2 -BAPI Usage" is giving me headache .I was following the tutorial in a letter ,
    but the table is not filled d after I hit  "search" button. Does someone had same experience and possible solution.
    Thanks
    Chris

    Actually in this application the data that is required is flowing. So I have tried making the import parameters as the controller attributes in spite of context node in the service call. Then it passes the data into the import parameters as WD_THIS->KUNNR.
    But still when I am debugging the data is not coming. What could be the issue.

  • Issues with portal integration of Web dynpro for ABAP application

    Hi,
    I have the following issues when i integrate a Web Dynpro for ABAP application with portal.
    1. the iview does not contain some images, such as table scroll button images, maximize and close buttons of popups etc.
    2. the iview loads properly, but there is an error in the status bar that says "Access denied"
    3. is it possible to do absolute navigation from
       role1->folder1->iview1 to role1->folder2->iview2?
       when i fire this navigation from the webdynpro
       application, the navigation does not happen in the
       portal.
    thanks,
    Kavitha

    >
    sridhar vadaga wrote:
    > Hi Experts,
    >
    >
    > CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
    >   EXPORTING
    >     text           = url
    >  IMPORTING
    >    BUFFER         = content .
    >
    >
    > Thanks & Regards
    > Sridhar
    I think you are overestimating the power of the SCM_STRING_TO_XSTRING function module.  By supplying a URL as the value of the input text, it isn't going to magically go read the content from the remote location and convert that to a binary string.  It is going to take whatever value you supply in th importing TEXT parameter convert that to binary.  In other words it is literally converting the string http://xxx/test.xls to binary.  You will need some other mechanism to read the content from the remote location into ABAP memory before you can process it.  You will need to use the CL_HTTP_CLIENT class or call some sort of web service to retrive the content.

  • Part II: Adobe Print Forms with Web Dynpro for ABAP. -Practice issue

    Hi,
    I am practicing Thomas jung Tutorial on Adobe forms [Part II: Adobe Print Forms with Web Dynpro for ABAP|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/a3e2f018-0b01-0010-c7a8-89deb6e63e97].
    I am trying to complete this and looks like this tutorial in not complete.Anybody can help me in completing this until we get a preview of adobe form?
    FYI.. Ic ompleted evevrything in tutorial and I am waiting to complete and test.
    Rgds
    Vara

    Thomas,
    Here is where I am stuck.
    Wrote this code in ONACTIONSEARCH.I am getting my entries in internal table ISFLIGHT.
    but unable to bind it to adobe form and show in the form.
    *  SELECT statement
        clear isflight. refresh isflight.
        select * into corresponding fields of table isflight from sflight
        where carrid =  ls_data_selections.
    * navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
      lo_nd_adobe_data = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
    * navigate from <ADOBE_DATA> to <SFLIGHT> via lead selection
      lo_nd_sflight = lo_nd_adobe_data->get_child_node( name = wd_this->wdctx_sflight ).
      lo_nd_sflight->bind_table( new_items = isflight set_initial_elements = abap_true ).
    Error is Access via 'NULL' object reference not possible.
    FYI.. I just dragged and dropped 2 elements from DATA to Adobe form.what are the other changes do i need to do in form gui elements so that it shows the internal table contents?
    this would really help me..
    Rgds
    vara
    Edited by: Vara K on Jan 21, 2009 5:51 PM

  • Post Comments About Web Dynpro for ABAP Tutorials Here

    Are you familiar with the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943">web Dynpro for ABAP Knowledge Center</a>? Do you find the tutorials on that page useful?
    Please give us your comments and expectations so we can build more and better tutorials to show you the joys of Web Dynpro for ABAP coding
    cheers,
    Marilyn

    Got past problem with tutorial 1. 
    Now on tutorial 4. 
    METHOD get_bookings .
      DATA:
        itab_bookings    TYPE if_componentcontroller=>elements_bookings,
        stru_bookings    LIKE LINE OF itab_bookings,
        stru_flightlist  TYPE if_componentcontroller=>element_flight_list.
      parent_element->get_static_attributes(
             IMPORTING static_attributes = stru_flightlist ).
      itab_bookings = CL_WDABAP_FLIGHT_MODEL=>get_bookings(
          carrid   = stru_flightlist-airlineid
          connid   = stru_flightlist-connectid
          fldate   = stru_flightlist-flightdate
      node->bind_table( itab_bookings ).
    ENDMETHOD.
    Getting Error:
    the type CL_WDABAP_FLIGHT_MODEL=>get_bookings(  is unknown.

Maybe you are looking for

  • 4S is a POS

    Version:1.0 StartHTML:0000000105 EndHTML:0000016144 StartFragment:0000002745 EndFragment:0000016108                     September 28, 2013 Tim Cook, CEO Apple Inc 1 Infinite Loop Cupertino, CA 95014 Dear Mr. Cook; I have been a dedicated Mac user/lov

  • Error while sending the PO to Fax

    Hi Friends, we are sending a PO to the fax. we are getting a error message saying processing routine ENTRY_NEU in program /SMB40/FM06P does not exist. but processing routine exists for the same. Could you please tell me what could be the reason for t

  • Setting up an E2500 as cascade

    Hello! I upgraded to an EA6200 and now wnat to set up my E2500 as an access point. Can anyone please guide me on how to do this? OR point me to a step-by-step documentation to accomplish this? I am a newbie in networking.  Thank you so much in advanc

  • Connecting to other servers/them connecting to me?

    Recently changed to BT from Eclipse, and since I have, I cannae connect to thrid party servers (if tat's the right term?) like Steam, EA Servers or Uplay or if they cannot connect to me? Read that might be down to the DNS and tried changing it to the

  • Photoshop Album 1.0 - Arbeitsbereich

    Im Photoshop Album ist mein Arbeitsbereich durcheinandergekommen - der Papierkorb um alle Elemente zu löschen funktioniert nicht - statt dessen kommt die Fehlermeldung ´ungültiger Cursorzustand´. Ich muss immer die Fotos einzeln aus dem Bereich rausz