Excel file upload in ODI 11g

Hi,
I am trying to define new data server in topology manager in order to upload excel file, and when i test the connection i got this error:The specified DSN contains an architecture mismatch between the Driver and Application.
I did all the steps required before this step.
can anyone help me with this error
thanks in advance

You might be using 32 bit driver in a 64 bit operating system. Please download the 64 bit driver and use the same for creating DSN

Similar Messages

  • Excel File Upload In Webdynpro For ABAP

    Hi All,
    I have a doubt regarding EXCEL file upload for Webdynpro for ABAP.
    I am able to get the path of file using 'FILEUPLOAD' UI element.Now I need to upload the EXCEL file into ALV.I have tried out with GUI_UPLOAD and other excel upload function module.But these Function Module throws Dump.
    Can you please suggest how to go about it.It will be a great help if u can suggest any function module or method.

    Hi Amita,
    Insetad of using GUI_UPLOAD use 'HR_KR_XSTRING_TO_STRING'
    Here is the sample code,
    TYPES :BEGIN OF str_itab,
                  name(10) TYPE c,
                  age(10) TYPE c,
                 END OF str_itab.
    DATA : t_table1 TYPE STANDARD TABLE OF str_itab,
           i_data TYPE STANDARD TABLE OF string,
                   lo_nd_sflight TYPE REF TO if_wd_context_node,
                    lo_el_sflight TYPE REF TO if_wd_context_element,
                    l_string TYPE string,
            fs_table TYPE str_itab,
                    l_xstring TYPE xstring,
    fields TYPE string_table,
    lv_field TYPE string.
    DATA : t_table TYPE if_main=>elements_data_tab,
    data_table TYPE if_main=>elements_data_tab.
      * get single attribute
    wd_context->get_attribute(EXPORTING name =  `DATASOURCE`  
                              IMPORTING value = l_xstring ).
    CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
    EXPORTING
    in_xstring = l_xstring
    IMPORTING
    out_string = l_string.
    SPLIT l_string  AT
    cl_abap_char_utilities=>newline INTO TABLE i_data.
      * Bind With table Element.
    LOOP AT i_data INTO l_string.
    SPLIT l_string AT cl_abap_char_utilities=>horizontal_tab INTO TABLE
    fields.
    READ TABLE fields INTO lv_field INDEX 1.
    fs_table-name = lv_field.
    READ TABLE fields INTO lv_field INDEX 2.
    fs_table-age = lv_field.
    APPEND fs_table TO t_table1.
    ENDLOOP.
    lo_nd_sflight = wd_context->get_child_node( 'DATA_TAB' ).
    lo_nd_sflight->bind_table( t_table1 ).
      ENDMETHOD.
    if correct give correct answer
    Thanks & Regards,
    Meenachi.R

  • Excel file upload in background

    Hi
    any one inform me how to Excel file will be Executed as a background job.
    The Excel file will be executed as a background job.
    This will eliminate issues related to network speed,
    time-outs,user logging off,ect;
    and the need for the user to remain logged in to the transaction till it finishes
    execution. After the background job completes the output report will be sent to the
    user via email as an attachment.
    Regards
    Gopal
    Duplicate thread.
    Edited by: kishan P on Aug 24, 2010 10:39 AM

    hi,
    function module for email attachment  -
    function module SO_DOCUMENT_SEND_API1
    function module for background schedule - u2018ALSM_EXCEL_TO_INTERNAL_TABLEu2019
    When scheduling a job in the background the appropriate statement to read in your file is OPEN DATASET, and the file must be on the file system that the SAP server can see.
    At anytime, a user can switch of the Personal Computers even though the job is still running in the background.  Therefore GUI_* and WS_* function modules are not designed to work in that way, as they need to access your personal computer  file.
    To choose the correct download method to used, you can check the value of SY-BATCH in your code,
    if it is 'X' use OPEN DATASET and if it is ' ' use WS_UPLOAD.
    link for help -
    Re: Excel file upload through BAPI in BACKGROUND
    Rgds
    Raj

  • Custom TCode for Excel File Upload/Import - WebGUI Error

    We get an ABAP runtime error when uploading an excel file with a custom tcode using WebGUI.  It works ok with WinGUI.  Any ideas what could be causing that error?
    Runtime Errors         RAISE_EXCEPTION
    Date and Time          01/05/2011 17:27:16
    Short text
         Exception condition "JAVABEANNOTSUPPORTED" raised.
    What happened?
         The current ABAP/4 program encountered an unexpected
         situation.
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
         Using Transaction ST22 for ABAP Dump Analysis, you can look
         at and manage termination messages, and you can also
         keep them for a long time.
    Error analysis
         A RAISE statement in the program "C_OI_CONTAINER_CONTROL_CREATORCP" raised the
          exception
         condition "JAVABEANNOTSUPPORTED".
         Since the exception was not intercepted by a superior
         program, processing was terminated.

    You can use the below code. One more thing while running make sure there is no unsaved excel sheet open in your system.
    FORM sub_create_container .
    Create Instance control for container
      CALL METHOD c_oi_container_control_creator=>get_container_control
        IMPORTING
          control = iref_control
          error   = iref_error.
      IF iref_error->has_failed = c_check.
        CALL METHOD iref_error->raise_message
          EXPORTING
            type = 'E'.
      ENDIF.
    Create generic container linked to container in screen 100
      CREATE OBJECT oref_container
        EXPORTING
          container_name              = 'CONT'
        EXCEPTIONS
          cntl_error                  = 1
          cntl_system_error           = 2
          create_error                = 3
          lifetime_error              = 4
          lifetime_dynpro_dynpro_link = 5
          OTHERS                      = 6.
      IF sy-subrc <> 0.
        MESSAGE e000 WITH 'Error while creating container'(012).
      ENDIF.
    Establish connection to GUI Control
      CALL METHOD iref_control->init_control
        EXPORTING
          inplace_enabled      = c_check
          r3_application_name  = 'EXCEL CONTAINER'
          parent               = oref_container
        IMPORTING
          error                = iref_error
        EXCEPTIONS
          javabeannotsupported = 1
          OTHERS               = 2.
      IF iref_error->has_failed = c_check.
        CALL METHOD iref_error->raise_message
          EXPORTING
            type = 'E'.
      ENDIF.
    Create Document Proxy
      CALL METHOD iref_control->get_document_proxy
        EXPORTING
          document_type  = soi_doctype_excel_sheet
        IMPORTING
          document_proxy = iref_document
          error          = iref_error.
      IF iref_error->has_failed = c_check.
        CALL METHOD iref_error->raise_message
          EXPORTING
            type = 'E'.
      ENDIF.
    ENDFORM.                    " SUB_CREATE_CONTAINER
    FORM sub_create_document  USING    p_sheet TYPE i.
      DATA:  l_title   TYPE char40,
              l_char    TYPE char2,
              l_time    TYPE i,
              l_sheet   TYPE char12.
    Calculate the number of sheets to be created
      l_time = p_sheet - 1.
      CONCATENATE 'Assembly Table'(015) v_char INTO l_title
      SEPARATED BY space.
    Create document
      CALL METHOD iref_document->create_document                 " Open use Open_document method
        EXPORTING
          open_inplace   = c_check
          document_title = l_title
          no_flush       = c_check
        IMPORTING
          error          = iref_error.
    Open Spreadsheet interface
      CALL METHOD iref_document->get_spreadsheet_interface
        EXPORTING
          no_flush        = c_check
        IMPORTING
          sheet_interface = iref_spreadsheet
          error           = iref_error.
    Get number of sheets
      CALL METHOD iref_spreadsheet->get_sheets
        EXPORTING
          no_flush = c_check
        IMPORTING
          sheets   = i_sheets
          error    = iref_error.
    Reaname he sheet
      READ TABLE i_sheets INTO wa_sheets INDEX 1.
      l_char = p_sheet.
      CONCATENATE 'Sheet' l_char INTO l_sheet.
      CALL METHOD iref_spreadsheet->set_sheet_name
        EXPORTING
          newname  = l_sheet
          oldname  = wa_sheets-sheet_name
          no_flush = c_check
        IMPORTING
          error    = iref_error.
      REFRESH i_sheets.
      CLEAR: l_char,
             l_sheet.
    Add sheets
      DO l_time TIMES.
        l_char = sy-index.
        l_char = p_sheet - l_char.
        CONCATENATE 'Sheet' l_char INTO l_sheet.
        CALL METHOD iref_spreadsheet->add_sheet
          EXPORTING
            name     = l_sheet
            no_flush = c_check
          IMPORTING
            error    = iref_error.
      ENDDO.
    Get number of sheets
      CALL METHOD iref_spreadsheet->get_sheets
        EXPORTING
          no_flush = c_check
        IMPORTING
          sheets   = i_sheets
          error    = iref_error.
      SORT i_sheets BY sheet_name DESCENDING.
    ENDFORM.                    " SUB_CREATE_DOCUMENT
    FORM sub_save_document .
      DATA: l_changed     TYPE int4.
    Save the document
      CALL METHOD iref_document->save_as
        EXPORTING
          file_name = p_file
          no_flush  = c_check
        IMPORTING
          error     = iref_error.
    Close the document
      CALL METHOD iref_document->close_document
        EXPORTING
          do_save     = c_check
          no_flush    = ''
        IMPORTING
          has_changed = l_changed
          error       = iref_error.
    ENDFORM.                    " SUB_SAVE_DOCUMENT
    Thanks
    Subhankar

  • Excel file upload using LSMW

    HI all,
    Is it possible to upload excel file using LSMW method?
    If it is? Plz tell me the process ASAP.
    Thanks & regards,
    Srini

    Hi,
    It's no possible to upload directly Excel file in LSMW.
    You must transform to an flat File.
    There are 6 delimiters
    - No Separator
    - Tabulator
    - Semi-Colon
    - Comma
    - Blanks
    - Others
    Rgds

  • Validation after Excel File Upload in Table Maintenance

    Hello All,
    I've done extensive research on this topic and still have yet to find the answer. I have created a custom button in the TMG to upload an Excel file to the table maintenance using the FM CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD. I updated the EXTRACT and TOTAL table so it will show up in the TMG interface, but no validations occur. So, I am now trying to do the validations of this file upload. I would like to validate each record and allow the user to modify the error record then continue validating the rest. Essentially I would like to mimic the functionality that occurs when multiple records are copied to the table maintenance and validated one by one. Updating the EXTRACT table through ABAP, does not reach the PAI where the validations occur.
    Is this approach possible? If not, what would be the best way to do validations, inform the user of the error record, and allow modification in the table maintenance interface?
    Thanks,
    Justin

    Or just a report program - have the file name on the selection screen.
    1) Upload the file
    2) Validate the file and produce error messages.
    3) Based on the validations, update the table.
    Rob

  • Excel file Upload in NWDS 2.0.9

    Hi ,
    I am working on NWDS 2.0.9. Can somebody tell me how to upload an Excel file, using      File Upload UI element and update my Context.
    -->IWDResource cannot be implemented in this version.
    -->Also FileUpload UI Element does not have a resource property, in this version.
    I have tried using POI , jxl but my code generates NoClassDefFoundError: or FileNotFoundError:
    Thanks in advance.
    Shibin
    PS: If some one can give me a simple code it will be very useful.
    Edited by: Shibin Kumblat on Mar 20, 2008 2:01 PM

    hi ,
    here is the code
    Workbook wb= Workbook.getWorkbook(new File("e:/file1.xls"));
    for (int shNo = 0; shNo < wb.getNumberOfSheets(); shNo++)
         Sheet sheet = wb.getSheet(shNo);
         for (int i = 1; i < sheet.getRows(); i++)
              for (int j = 0; j < sheet.getColumns(); j++)
                             wdComponentAPI.getMessageManager().reportSuccess(""+sheet.getCell(j,i).getContents());

  • Creating Target excel files dynamically in ODI

    Hi,
    I've a urgent requirement in ODI as below.
    I've a query regarding of creation target excel files dynamically as I need to load more than 1 excel file through ODI with source system as Oracle DB.
    Elaborating my query:
    Target excel file say X.xls is not placed in a particular directory neither driver is created. I want to X.xls file to be created through ODI and data to be loaded into the excel file.
    Help would be really appreciated.

    There is no standard code for the same.
    The following thread has the code which will put data into multiple sheets
    Download to multiple sheets in Excel
    Regards,
    Ravi
    Note : Please mark all the helpful answers

  • Excel file upload throug

    Hi every one,
    I have a requirement, to upload data from excel sheet to sap every month end, means some G/L posting from external system to sap, I need to interface this system with sap,
    Here, in my external system, I have possibility to get month end data in Excel format; I need simply upload this into sap.
    I have developed BAPI program for this, and its working fine. But now my problem is, my people want to execute this program in background, they ask me to do background schedule.
    Here I know how to do background schedule, but my question is how system will respond in background in case of u2018ALSM_EXCEL_TO_INTERNAL_TABLEu2019 function module.
    Please give the suggestions regarding to the excel upload in background schedule.
    Regards,
    Sreenu.

    Hi ,
    Please refer to the following link
    Re: Upload Excel file in Background mode: Code
    upload an excel file in the server  with a background job
    It might give you some idea.
    Regards,
    Bhanu.

  • Excel file upload failing

    hi all,
    i have a webdynpro application,
    in which i am uploading an excel 
    file, and reading the same file, it is working fine.
    But the problem is, Some times while uploading
    it is taking  time for the processing. after that it is failing to upload and the application is refreshing
    (ie the control is going to the initial screen).
    i am not able to understand the problem.
    please suggest me the solution soon.
    regards ,
    Brahmanandam Ausali

    hi armin,
    I am using SP14.
    I have not gone to OSS note.
    regards
    Brahmannadam ausali

  • Excel file upload restriction

    Dear,
    I have developed a object which upload any type of file( mainly excel file ) form desktop.
    Now i want to restrict user to upload the excel file , if that file is open in desktop.
    Please give me idea how i ll solve this issue ??????
    Thanks & Regards,
    Ajit

    Hi Ajith
    If you use the FM-TEXT_CONVERT_XLS_TO_SAP with enabling exception, system will say clearly 'Excel file & cannot be processed'
    You might tried without exception.
    Still you are not clear send your requirements.
    Regards,
    Vadamalai A

  • Excel file upload

    Hi All,
    I have a requirement wherein I will have to upload an Excel file into an internal table. This excel file is coming from LLS. I used the GUI_UPLOAD FM... But this FM does not work. I also used TEXT_CONVERT_XLS_TO_SAP FM... But this FM does not work until the data from the source file is copied onto another excel sheet.... Please suggest me a FM which works correctly in such a scenario
    Regards,
    Jean Pearl D'souza

    Hey all I had used the FM TEXT_CONVERT_XLS_TO_SAP in a different way.... I had missed out on a few parametrs.... It is working fine now....
    Thanks and Regards,
    Jean Pearl D'souza

  • LSMW - excel file Upload

    Hi,
    I want to upload the excel file through LSMW, pls let me know how to do this.
    I have converted the excel file to .csv and .txt file and can upload the fiel, but not able to upload when trying to do with .xls file.
    Pls let me know.
    Thanks,
    Raju
    Moderator message: please search for available information, consult LSMW documentation.
    Edited by: Thomas Zloch on Oct 15, 2010 4:23 PM

    Hi,
    It's no possible to upload directly Excel file in LSMW.
    You must transform to an flat File.
    There are 6 delimiters
    - No Separator
    - Tabulator
    - Semi-Colon
    - Comma
    - Blanks
    - Others
    or
    In txn LSMW, then create an object for your purpose. The txn can guide you to create the template.
    The Excel file needs to be converted to a text file and uploaded through LSMW. If necessary, you may need to change the input file so that the column layout matches with the LSMW object.
    or
    But in essence this is what you need to do:
    Create a headers datafile, and a lines datafile.
    Go through the routine of setting up LSMW to read both files, one the subordinate of the other.
    Link files together using "Fields with identical names" button (turns pink!)
    When you specify your structure relations, make the header datafile relate to the header structures, and your lines datafile relate to the lines structures.
    LSMW will work out the loops for you!
    Hope it helps.
    Mathew
    Moderator message: copy/pasted from several sources, do not repeat, might lead to account deletion!
    http://www.google.com/search?hl=en&q=%22Gothroughtheroutineofsettingup+LSMW%22
    Edited by: Thomas Zloch on Oct 15, 2010 4:21 PM

  • Excel File Upload on ESS

    Hi All,
    I have the requirement to upload an excel file on ESS. To achieve this, I have created a module pool program, which allows me to select the path of file that is present on my desktop and read it for further processing. Using the FM GUI_UPLOAD, I am able to successfuly upload a text file (in .txt format) but not an Excel file (.xls format). If I try uploading xls file, it converts the data into junk characters ##### etc.
    Is there any function module which will allow me to read an excel file in this module pool program ; and allow me to read its contents??
    P.S. The module pool program succesfully reads and excel file in R/3, but does not work on ESS...Why so? And what may be the workaround for this???

    I think the easiest approach is to create a webdynpro for this.
    There you can use a file upload element

  • OLE Excel file upload method

    hi
    we have the requirement to download data in excel file in unicode format for which the OLE FM EXCEL_OLE_STANDARD_DAT in used for the download.
    We now want to upload the same file after modification. GUI_DOWNLOAD uplaods the file wsith gibberish characters. We tried using the FM 'ALSM_EXCEL_TO_INTERNAL_TABLE' but it gives the dump UPLOAD_OLE exception.
    What else are the methods to upload the excel file.
    Your ideas appreciated.
    Rgds,
    Stck

    Hi,
    Try this code to upload the data from EXCEL sheet.
    DATA l_count TYPE sy-tabix.
       CONSTANTS: lc_begin_col TYPE i VALUE '1',
                  lc_begin_row TYPE i VALUE '2',
                  lc_end_col   TYPE i VALUE '2',
                  lc_end_row   TYPE i VALUE '3000'.
    * Begin of CALK912848 - Carlos Werberich - 16Sep08
      CLEAR p_i_excel_data. REFRESH p_i_excel_data.
    * End   of CALK912848 - Carlos Werberich - 16Sep08
    * Function module to read excel file and convert it into internal table
       CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
         EXPORTING
           filename                = p_p_file
           i_begin_col             = lc_begin_col
           i_begin_row             = lc_begin_row
           i_end_col               = lc_end_col
           i_end_row               = lc_end_row
         TABLES
           intern                  = i_data
         EXCEPTIONS
           inconsistent_parameters = 1
           upload_ole              = 2
           OTHERS                  = 3.
    * Error in file upload
       IF sy-subrc NE 0 .
         MESSAGE text-006 TYPE 'E'.
         EXIT.
       ENDIF.
       IF i_data[] IS INITIAL .
         MESSAGE text-007 TYPE 'E'.
         EXIT.
       ELSE.
         SORT i_data BY row col .
    * Loop to fill data in Internal Table
         LOOP AT i_data .
           MOVE i_data-col TO l_count .
           ASSIGN COMPONENT l_count OF STRUCTURE p_i_excel_data TO  .
           AT END OF row .
    * Append data into internal table
             APPEND p_i_excel_data.
             CLEAR p_i_excel_data.
           ENDAT .
         ENDLOOP .
       ENDIF 

Maybe you are looking for

  • 2 external Monitors with Macbook air

    I would like to use my Macbook Air in clamshell mode and use two external monitors in extended desktop mode. Are there any adapters that would work for this? Thanks for your help!

  • Hp2509m goes black too fast to use any of the fixes

    I have read, and tried to use, many of the previous forum answwers regarding an HP monitor screen going black.  For example resetting the MENU to FACTORY DEFAULT; correcting OCD display errors; power-cycling; tenacity and patience with repeatedly pre

  • 480i resolution support?

    I am seriously considering the purchase of an Apple TV in the coming months and I can't seem to get a straight answer regarding resolution support. I have component video inputs on my television, but as it is a CRT screen, it is only capable of 480i

  • Re: Events in Service Objects

     

  • Need steps for JDK to JRockit

    Hi All,     Currently we are using JDK1.7.0.21 for weblogic 10.3.6 , SOA 11.1.1.6 and AIA in  Production(Linux64bit). new i want  migrat to Oracle JRockitJDK.can any body sent some steps for that and some documents plz.. Thank you, Ram.