INeed to load the excel directly

Is it always mandatory to convert the Excel sheet to comma separated or tab seperated csv file before loading the data by SQL loader. Can't we directly load the Excel data without doing any conversion to csv file. if yes please let me know the field terminator for excel file to be used in the control file.
Please Help
Thanks in Advance
Amit Juneja
Edited by: user10305724 on Jun 12, 2011 11:22 PM

Hello Amit Juneja.
SQL*Loader expects the data it reads to be text. If the file includes additional information, you need to instruct SQL*Loader what to do with it (not always possible). Take a look at one of your Excel files using a text viewer, and then you'll get an idea of what the text data actually looks like.
If you are receiving Excel files as input, you may find that you have to spend a tremendous amount of time fixing the data, due to users entering data and occasionally formatting the data, sometimes inconsistently. Unless you are the business user, it isn't advisable to be changing the data as any errors you might make are then your responsibility. I'm not sure if you heard about the Wisconsin Supreme Court issues recently where an Excel worksheet was provided by one of the counties and since columns were moved/hidden, a whole county's votes weren't tallied initially.
You can use utilities like Oracle SQL Developer's Import Data... wizard to upload from Excel, however even then you may have to fix the data in Excel for it to come across properly.
Hope this helps,
Luke
Please mark the answer as helpful or answered if it is so. If not, provide additional details.
Always try to provide actual or sample statements and the full text of errors along with error code to help the forum members help you better.

Similar Messages

  • Stuck - load the Excel file dynamically with different columns and worksheet names

     I have a situation where I want to load the Excel file dynamically, and the excel file have different columns or even worksheet name. Any idea how I could
    approach this? I believe there's no way to modify the meta data (specifically the mapping) in the data flow.

    Hi Chimumu,
    The SSIS stock adapters don't supporting dynamic column mapping, to achieve your goal, you need to use Script Task/Component to read the Excel sheet name and the columns in the worksheet, and then map to the output columns of the script component. You can
    also refer to the following blogs:
    http://micktechblog.blogspot.com/2011/06/ssis-excel-import-with-unknown-number.html
    http://wikiprogrammer.wordpress.com/2011/04/08/dynamic-column-mapping-in-ssis-part-1/
    Regards,
    Mike Yin
    TechNet Community Support

  • I tried to play candy crush, but when i launch, app closed. I tried all (reset, restart, reload, etc.) I have the app on my pc, but even if i try to sync, the app do not apply on my iphone. When i load the app direct on my iphone, same proplem, can t open

    i tried to play candy crush, but when i launch, app closed. I tried all (reset, restart, reload, etc.) I have the app on my pc, but even if i try to sync, the app do not apply on my iphone. When i load the app direct on my iphone, same proplem, can t open

    Thank you for your help are you aware of any apps that will work the iso 4.2.1 system that will let you watch movies on the phone. Also I tried to down load something else the other day and got message that Safari wont let you open this is ther any to see if i have the latest safari on my phone?

  • Possible to load from mp3cd DIRECT to ipod, w/out importing

    I have a few backup DVD's i made of my music, and i want to load some music onto an iPod I'm borrowing for the weekend. can I load the songs direct from the DVD's without importing them first? my biggest concern is that my library is on an external firewire only drive, and my ibook has only one firewire port (necessary for connecting the ipod...).
    also, is there anything I need to do to make sure I don't automatically erase or import music that's already on the ipod? i don't have it yet, and when i go to the prefs panel for ipod, it says "no ipod connected" and I really don't want to erase the owners music.
    thanks!

    As far as I know, all songs have to be imported to iTunes before they can be updated on an iPod. iPod's work directly with iTunes and with nothing else (as far as I'm aware) I don't think there is a way to just update songs on an iPod without the songs being in iTunes first.

  • How to load the data from flat file ( ex excel ) to Planning area directly

    Hi all ,
    How can i load thedata fro m flat file directly to Planning area .
    PLease help me in this.
    Regards,
    Chandu .

    download one key figure data from planning book ( interactive damand plan) and made some changes and need to upload the data back to same planning book
    But, may I know why you are thinking of downloading, changing and uploading for just changing the figures for a particular key figure. You can do it in the planning book itself.
    However, not all the key-figures can be changed. But, what type of key-figure  you are speaking here? Is it like 'Forecast' for which the value is based on other key-figures, or is like a key-figure where some manual adjustments are to be done--so that it can be manually edited? However,  in both the cases, the data can be changed in the planning book only. In first case, you can change the values of dependant key-figures and in the second case, you can change the key-figures directly.
    And please note that you can change the values of the key-figures only at the detailed level. So, after loading the data in the book, use drill-down option, maintain the data at the detailed level, change the figures, and automatically, this gets reflected at the higher level.
    In case you are unable to change the values, go to the 'Design' mode of the book, right-click your key-figure, under "Selected Rows", uncheck "Output Only" option. In case you are unable to see that option, then you are not authorised to change that. See if you can change the authorisations by going to the "Data View" tab in planning book configuration (/n/sapapo/sdp8b), and change the value of Status to 3.
    Hope your query is answered with different solutions offered by many of the sdn colleagues here.
    Regards,
    Guru Charan.

  • Excel 2013 PowerPivot Error - "PowerPivot is unable to load the Data Model"

    I'm attempting to use the PowerPivot add-on in Excel.  When clicking 'Manage Data Model' or attempting to 'Load to data model,' I receive the error 'We couldn't load the Data Model.  This may be because the Data Model in this workbook is damaged.',
    followed by 'PowerPivot is unable to load the Data Model.'  This happens irrespective of data source type.  I have Excel 2013 32-bit, PowerPivot 32-bit, running on Windows 7 OS 64-bit.  I am not running an SSAS instance on my machine. 
    Any suggestions?

    Hi
    Have you ever tried to repair your office?
    Also we may refer to the following blog :
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2013/11/12/powerpivot-for-excel-2013-errors-after-october-update-kb-2825655.aspx
    This issue seems to be caused by the October 2013 update (KB 2825655) for Excel 2013. Try to remove it or restore the system to an earlier point and check the result.
    Regards
    Tylor Wang
    TechNet Community Support

  • Excel, PowerView error in SharePoint 2013: "An error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access the data source."

    I've installed SQL Server 2012 SP1 + SP server 2012 + SSRS and PowerPivot add-in.
    I also configured excel services correctly. Everything works fine but the powerview doesn't work!
    While I open an excel workbook consist of a PowerView report an error occurs: "An error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions
    to access the data source."
    error detail: 
    <detail><ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">rsCannotRetrieveModel</ErrorCode><HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message xmlns="http://www.microsoft.com/sql/reportingservices">An
    error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access the data source.</Message><HelpLink xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0</HelpLink><ProductName
    xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">11.0.3128.0</ProductVersion><ProductLocaleId
    xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation
    xmlns="http://www.microsoft.com/sql/reportingservices"><Source>ReportingServicesLibrary</Source><Message msrs:ErrorCode="rsCannotRetrieveModel" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0"
    xmlns:msrs="http://www.microsoft.com/sql/reportingservices">An error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access the
    data source.</Message><MoreInformation><Source>Microsoft.ReportingServices.ProcessingCore</Source><Message msrs:ErrorCode="rsErrorOpeningConnection" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsErrorOpeningConnection&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0"
    xmlns:msrs="http://www.microsoft.com/sql/reportingservices">Cannot create a connection to data source 'EntityDataSource'.</Message><MoreInformation><Source></Source><Message>For more information about this error navigate
    to the report server on the local server machine, or enable remote errors</Message></MoreInformation></MoreInformation></MoreInformation><Warnings xmlns="http://www.microsoft.com/sql/reportingservices" /></detail>
    Please help me to solve this issue. I don't know if uploading the excel workbook is enough or maybe It needed to connect to another data source.
    I Appreciate in advance.

    Hi Ali.y,
    Based on the current error message, the error can be related to the
    Claims to Windows Token Service (C2WTS) and is an expected error under certain conditions. To verify the issue, please check the aspects below:
         1. The C2WTS Windows service and C2WTS SharePoint service are both running.
         2. Check the SQL Server Browser service is running on the machine that has the PowerPivot instance of SSAS.
         3. Check the domain. You're signing into SharePoint with a user account in some domain (call it Domain A).  When Domain A is equal to Domain B which SharePoint server itself is located (they're the same domain), or Domain
    A trusts Domain B.
    In addition, the error may be caused by Kerberos authentication issue due to missing SPN. In order to make the Kerberos authentication work, you need to configure the Analysis Services to run under a domain account, and register the SPNs for the Analysis
    Services server.
    To create the SPN for the Analysis Services server that is running under a domain account, run the following commands at a command prompt:
    • Setspn.exe -S MSOLAPSvc.3/Fully_Qualified_domainName OLAP_Service_Startup_Account
    Note: Fully_Qualified_domainName is a placeholder for the FQDN.
    • Setspn.exe -S MSOLAPSvc.3/serverHostName OLAP_Service_Startup_Account
    For more information, please see:
    How to configure SQL Reporting Services 2012 in SharePoint Server 2010 / 2013 for Kerberos authentication
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • How to Load the data from excel file(Extension is .CSV) into the temp.table

    Hi
    How to Load the data from excel file(Extension is .CSV) into the temporary table of oracle in Forms11g.
    My Forms Version is - Forms [64 Bit] Version 11.1.2.0.0 (Production)
    Kindly Suggest the Solution.
    Regards,
    Sachin

    Hello Sachin,
    You can use the following metalink note:How to Read Data from an EXCEL Spreadsheet into a Form Using Webutil Client_OLE2 (Doc ID 813535.1) and modify it a little bit.
    Instead of copy values into forms you can save them in your temporary table.
    Kind regards,
    Alex
    If someone's helpful or correct please mark it accordingly.

  • How to load the data from excel file into temprory table in Forms 11g?

    Hi
    How to Load the data from excel file(Extension is .CSV) into the temporary table of oracle in Forms11g.
    My Forms Version is - Forms [64 Bit] Version 11.1.2.0.0 (Production)
    Kindly Suggest the Solution.
    Regards,
    Sachin

    Declare
        v_full_filename         varchar2(500);
        v_server_path           varchar2(2000);
        v_separator             VARCHAR2(1);
        v_filename              VARCHAR2(400);
        filename                VARCHAR2 (100);
        v_stop_load             varchar2 (2000);
        v_rec_error_log         varchar2(4000);
        v_error_log             varchar2(4000);
        ctr                     NUMBER (12);
        cols                    NUMBER (2);
        btn                     number;
        RES                     BOOLEAN;   
        application             ole2.obj_type;
        workbooks               ole2.obj_type;
        workbook                ole2.obj_type;
        worksheets              ole2.obj_type;
        worksheet               ole2.obj_type;
        cell                    ole2.obj_type;
        cellType                ole2.OBJ_TYPE;
        args                    ole2.obj_type;
        PROCEDURE olearg
        IS
        args   ole2.obj_type;
        BEGIN
        args := ole2.create_arglist;
        ole2.add_arg (args, ctr);                                
        ole2.add_arg (args, cols);                                   
        cell := ole2.get_obj_property (worksheet, 'Cells', args);
        ole2.destroy_arglist (args);
        END;
    BEGIN
    v_full_filename := client_get_file_name(directory_name => null
                                     ,file_name      => null
                                     ,file_filter    => 'Excel  files (*.xls)|*.xls|'  
                                                                            ||'Excel  files (*.xlsx)|*.xlsx|'                                                                 
                                     ,message        => 'Choose Excel file'
                                     ,dialog_type    => null
                                     ,select_file    => null
    If v_full_filename is not null Then
    v_separator := WEBUTIL_CLIENTINFO.Get_file_Separator ;
    v_filename := v_separator||v_full_filename ;
    :LOAD_FILE_NAME := substr(v_filename,instr(v_filename,v_separator,-1) + 1);                                
    RES := Webutil_File_Transfer.Client_To_AS(v_full_filename,"server_path"||substr(v_filename,instr(v_filename,v_separator,-1) + 1));     
    --Begin load data from EXCEL
    BEGIN
        filename := v_server_path||substr(v_filename,instr(v_filename,v_separator,-1) + 1); -- to pick the file
        application := ole2.create_obj ('Excel.Application');
        ole2.set_property (application, 'Visible', 'false');
        workbooks := ole2.get_obj_property (application, 'Workbooks');
        args := ole2.create_arglist;
        ole2.add_arg (args, filename); -- file path and name
        workbook := ole2.get_obj_property(workbooks,'Open',args);
        ole2.destroy_arglist (args);
        args := ole2.create_arglist;
        ole2.add_arg (args, 'Sheet1');
        worksheet := ole2.get_obj_property (workbook, 'Worksheets', args);
        ole2.destroy_arglist (args);
        ctr := 2;                                                     --row number
        cols := 1;                                                -- column number
        go_block('xxx');
        FIRST_RECORD;  
        LOOP       
                --Column 1 VALUE --------------------------------------------------------------------
            olearg;
            v_stop_load := ole2.get_char_property (cell, 'Text'); --cell value of the argument
            :item1 := v_stop_load;
            cols := cols + 1;                                                      
              --Column 2 VALUE --------------------------------------------------------------------
            olearg;
            :item2 := ole2.get_char_property (cell, 'Text'); --cell value of the argument
            cols := cols + 1;
            --<and so on>
        ole2.invoke (application, 'Quit');
        ole2.RELEASE_OBJ (cell);
        ole2.RELEASE_OBJ (worksheet);
        ole2.RELEASE_OBJ (worksheets);
        ole2.RELEASE_OBJ (workbook);
        ole2.RELEASE_OBJ (workbooks);
        ole2.RELEASE_OBJ (application);
    END;
    --End load data from EXCELPlease mark it as answered if you helped.

  • How  to load the data from excel  file  into table in oracle using UTL_FI

    How to load the data from excel file into table in oracle
    and from table to excel file
    using UTL_FILE package
    Please give me some example

    This is something i tried in oracle apex
    http://avdeo.com/2008/05/21/uploading-excel-sheet-using-oracle-application-express-apex/
    Regards,
    CKLP

  • Error while loading the data from excel to database.

    Hi,
    I am using PL/SQL developer to load the data from excel to database. I will set the data source in the control panel and will proceed through ODBC importer in pl/sql developer to import the data.
    What exactly the error is when i click the filename to view the result preview it shows an error as:
    The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data.
    Kindly help with solution.
    Thanks/Regards
    Sakthivarman J.

    Hello;
    That error message comes from Microsoft, so something in you Excel sheet is the cause.
    Its a pain but I would check properties of each column in case Excel decided to add something, a comma for example.
    Do you have a column over 255 characters? Look there first. If any length is greater than 255 it will crash and burn.
    Or convert it to a CSV and create an external table.
    Best Regards
    mseberg
    Might also throw an 3163 as an error where you cannot see it.
    Edited by: mseberg on Sep 9, 2011 7:34 AM

  • How to automate the loading of excel file

    Hi Guru,
    As we know we can load excel file through ODI but their is some manual work we have to do each time and it will only support in Windows platform
    How we can load excel file through ODI in Unix system and it should be automate so in one directory i got this file it should able to load the data automatically no manual intervention required.

    On windows jdbc-odbc bridge is used to read from excel file. Since such odbc setup is available only on windows hence the restriction. If there is any type 4 jdbc driver available for excel that it would works on unix too. 

  • EMF images embedded in Excel 2010 documents don't display when the same document is loaded into Excel 2013

    I have a fairly large spreadsheet which creates layout floorplan maps based on a table of 3,000+ room locations and various cross-referenced attribute lookup tables which add flags & colour coding to the individual rooms. The maps also
    include a few graphic elements beyond simple cells and borders, such as EMF images to indicate stairways, etc.
    The sheet works perfectly on my Win7 desktop in Excel 2010:
    However when loaded into Excel 2013 on my Win7 laptop, all of the images show as a red cross with the wording "This image cannot currently be displayed", thus:
    Any ideas, as this looks like a bug in Excel 2013? Thanks.
    Andre

    Hi Andre,
    What happens if you reimport the images from original source?
    Try Running Excel Program firstly, and then open this file within Excel (File->Open).Also if you have Excel 2010 installed , try to open the file using Excel 2010, copy an paste the content to a blank Excel file.
    You can also try to check the option 'Disable hardware graphics acceleration'. File->Options->Advanced ...
    Wind Zhang
    TechNet Community Support

  • Password Protection to the Excel File that was down loaded

    Hi Friends,
    I had an requirement regarding the excel file.whenever the excel file is down loaded on the desktop it should be password protected.i..e, no one should be able to open the file unless they have the password.

    REPORT ZWMI_TRUCK_DOWNLOAD no standard page heading.
    ======================================================================
    Program Name : ZWMI_TRUCK_DOWNLOAD                                   *
    Description  : This Program is used to get all truck load status     *
                   and download into XLS File and fields are Route #,    *
                   Dispatch time ,Closing time ,Scan Details.            *
    Author       : Seshu                                                 *
    Date         : 02/15/2007                                            *
    MODIFICATION HISTORY                                                 *
    DATE    | AUTHOR   | CHANGE #   | DESCRIPTION OF MODIFICATION        *
    --|||--
    02/15/07| Seshu    | DEVK922058 | Initial                            *
    02/20/07| Seshu    | DEVK922068 | Changed the name as per Naming     *
                                      Convention                         *
    03/14/07| Seshu    | DEVK922126 | Included date as Range             *
    ======================================================================
    Tables
    tables : zsdcarton,
             ztruck,
             ztruckstatus.
    Constants
    constants: c_werks(4) type c value '1000'.
    Internal table for Ztruck
    data : begin of i_ztruck occurs 0,
           werks  like ztruck-werks," Plant
           vdatu like ztruck-vdatu, " Delivery date
           ZZTRKNO like ztruck-ZZTRKNO, " Route #
           ZZSHIPTIME like ztruck-ZZSHIPTIME, " Dispatch time
           ZCLTIME like ztruck-ZCLTIME, " Truck close time
           end of i_ztruck.
    Internal table for ZSDCARTON
    data : begin of i_zsdcarton occurs 0,
           lateflag like zsdcarton-lateflag,
           zzslot like zsdcarton-zzslot,
           status like zsdcarton-status,
           end of i_zsdcarton.
    Internal table for Final output
    data : begin of i_final occurs 0,
           vdatu like ztruck-vdatu, " Delivery Date
           ZZTRKNO like ztruck-ZZTRKNO, " Route #
           ZZSHIPTIME like ztruck-ZZSHIPTIME, " Dispatch time
           ZCLTIME like ztruck-ZCLTIME, " Truck close time
           load_compl_c(5)     type n , " Load Complted Time
           status_s_total(5) type n,  " No Scan/Load
           status_l_total(5) type n,  " Late Scan
           end of i_final.
    Internal Table XLS File Header
    DATA: BEGIN OF i_head OCCURS 0,
          field(30) TYPE c,
          END OF i_head.
    Variables
      status couter
    data: status_total(5)   type n,
      no scan / no load
          status_s(3)       type n,
          status_s_total(5) type n,
      good
          status_g(3)       type n,
          status_g_total(5) type n,
      late
          status_l(3)       type n,
          status_l_total(5) type n,
      manual
          status_m(3)       type n,
          status_m_total(5) type n,
      alternative
          status_a(3)       type n,
          status_a_total(5) type n.
    S E L E C T I O N    -   S C R E E N *************************
    selection-screen : begin of block blk with frame title text-001.
    select-options : p_vdatu for zsdcarton-vdatu obligatory
                    default sy-datum.
    selection-screen : end of block blk .
    S T A R T  -  O F  - S E L E C T I O N  ******************
    start-of-selection.
    Get the data from ZTRUCK and
      perform get_data_tables.
    Down load the data into XLS file
      perform get_download.
    S T A R T  -  O F  - S E L E C T I O N  ******************
    end-of-selection.
    *&      Form  get_data_tables
    FORM get_data_tables.
      data : lv_time like sy-uzeit.
      select werks
             vdatu
             zztrkno
             zzshiptime
             zcltime from ztruck into table i_ztruck
                                 where werks = c_werks
                                 and   vdatu in p_vdatu.
      if sy-subrc ne 0.
        message e000(zwave) with 'No data found for given current date'.
      endif.
      loop at i_ztruck.
        refresh : i_zsdcarton.
        clear :   i_zsdcarton,
                  lv_time.
    Get the Scan Status for Every route
        select lateflag zzslot status from zsdcarton into table i_zsdcarton
                               where werks =  i_ztruck-werks
                               and   vdatu = i_ztruck-vdatu
                               and   zztrkno = i_ztruck-zztrkno.
        if sy-subrc eq 0.
          loop at i_zsdcarton.
            case  i_zsdcarton-lateflag.
    late cartons
              when  'X'.
    late and never loaded
                if i_zsdcarton-zzslot = space.
                  add 1 to status_s.
                else.
                  add 1 to status_l.
                endif.
    all other exceptions
              when  space.
    check if scanned
                case i_zsdcarton-zzslot.
    good scan
                  when 'S'.
                    add 1 to status_g.
    never scanned
                  when space.
                    if i_zsdcarton-status = space.
    no scan
                      add 1 to status_s.
                    else.
    no load -> no scan
                      add 1 to status_s.
                    endif.
    manual scanned
                  when 'M'.
                    if i_zsdcarton-status = 'M'.
                      add 1 to status_g.
                    elseif i_zsdcarton-status = 'E'.
    exceprtion -> manual
                      add 1 to status_g.
                    endif.
                endcase.
            endcase.
    add totals
            add status_g   to  status_g_total.
          Late Scan
            add status_l   to  status_l_total.
            add status_a   to  status_a_total.
          No Scan and Load
            add status_s   to  status_s_total.
            clear : status_g,
                    status_l,
                    status_a,
                    status_s.
          endloop.
        else.
          continue.
        endif.
    Get the Load Complete Time
        select single uzeit from ztruckstatus into lv_time
                                       where   werks = i_ztruck-werks
                                       and     lgnum = '100'
                                       and     vdatu = i_ztruck-vdatu
                                       and     zztrkno = i_ztruck-zztrkno
                                       and     tstat = 'L'.
        if sy-subrc eq 0.
          write: lv_time(5)
                  to i_final-load_compl_c     using edit mask '__:__'.
        endif.
    Delivery Date
        i_final-vdatu = i_ztruck-vdatu.
    Route #
        i_final-zztrkno = i_ztruck-zztrkno.
    Dispach time
        i_final-zzshiptime = i_ztruck-zzshiptime.
    Truck Close Time
        i_final-zcltime = i_ztruck-zcltime.
    No Scan/ Load
        i_final-status_s_total = status_s_total .
    Late Scan
        i_final-status_l_total = status_l_total.
        append i_final.
        clear : status_g_total,
                status_l_total,
                status_a_total,
                status_s_total,
                lv_time,
                i_final.
      endloop.
    ENDFORM.                    " get_data_tables
    *&      Form  get_download
          Download the data
    FORM get_download.
      data : lv_file like rlgrap-filename,
             lv_date(8) type c.
      lv_date = sy-datum.
      concatenate 'C:/Truckload'  lv_date into lv_file.
    Fill the Header Values
    Delivery Date
      i_head-field = 'Delivery Date'.
      append i_head.
    Route #
      i_head-field = 'Route'.
      APPEND i_head.
    Dispatch Time
      i_head-field = 'Dispatch Time'.
      append i_head.
    Closing Time
      i_head-field = 'Closing Time'.
      append i_head.
    Load Completed Time
      i_head-field = 'Load Completed Time'.
      append i_head.
    No Scan/Load
      i_head-field = 'No Scan/Load'.
      append i_head.
    Late Scan
      i_head-field = 'Late Scan'.
      append i_head.
      CALL FUNCTION 'EXCEL_OLE_STANDARD_DAT'
        EXPORTING
          FILE_NAME                       = lv_file
      CREATE_PIVOT                    = 0
          DATA_SHEET_NAME                 = 'TruckLoad'
      PIVOT_SHEET_NAME                = ' '
      PASSWORD                        = ' '
      PASSWORD_OPTION                 = 0
       TABLES
      PIVOT_FIELD_TAB                 =
          DATA_TAB                        = i_final
          FIELDNAMES                      = i_head
       EXCEPTIONS
         FILE_NOT_EXIST                  = 1
         FILENAME_EXPECTED               = 2
         COMMUNICATION_ERROR             = 3
         OLE_OBJECT_METHOD_ERROR         = 4
         OLE_OBJECT_PROPERTY_ERROR       = 5
         INVALID_FILENAME                = 6
         INVALID_PIVOT_FIELDS            = 7
         DOWNLOAD_PROBLEM                = 8
         OTHERS                          = 9
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " get_download
    In function module you have option like password protect..

  • Does SSIS guarantee that it loads the data into SQL Server in the same order as it is in Excel

    Hi,
    We are trying to load several Excel files into SQL Server SSIS and we need to save the data in the database in the same order as it is in Excel..
    My question is, Does SSIS guarantee that it loads the data into SQL Server in the same order as it is in Excel. If so, we will add a sequence to ensure we have the order.
    Please advise.
    Thanks & Regards,
    Dhanumjay

    Thanks for your response.
    If it is one file then we can add an index column, but we have to load hundreds of files.
    How adding an index/key column to the table works unless SSIS picks and loads the data in the table in the same order as it is in Excel?
    Just to explain my question better,
    If excel has three rows  {a,b},{c,d},{e,f}, does SSIS ensure it loads the data in the same order in a table.
    Thanks.

Maybe you are looking for

  • Report displaying values by account group?

    Hi, All reports that I can find display the information of values in cost center associated to accounts. Is there any report that display the information but regarding account groups (all of them) and then if I want I'll drill down to the accounts? T

  • How do I put a password lock on the Settings app in IOS?

    Hello All, How do I place a password lock on the settings in the Settings app on IOS devices? Be aware that I do not mean the password lock to wake the device from sleep. Thanks, Harry

  • How can I add scanned coverart to itunes?

    How can I add scanned cover art to itunes?

  • Oracle Apps 11i Performance Benchmarks

    Hi, Does anyone knows where to obtain the benchmarks. What is the normal time to load apps, sign in, open forms etc.. thanks, Sam

  • Tcl Ping Script Help

    Hello Community, I'm currently getting assistance from Joseph and Mike on another ping script. In the meantime, I have come across the attached Tcl Ping script that might help. However, each time I attempt to run the script from the command line as s