Import csv with date into HANA

Hi,
I have a table with multiple text columns and one date column in the csv I am trying to import I have the date as YYYY-MM-DD which I thought was the format I needed. Every time I select the csv and the table to import to then press next my whole studio freezes up and I have to do a force close.
I attached the screen where I get to when it freezes. When I take this column out it loads fine.
Can someone tell me the correct format for date to enter it in CSV, or what I am doing wrong?
Thanks,
Connor

You may want to open a support incident for this.
- Lars

Similar Messages

  • Importing csv with dates

    Hi all,
    I am importing csv files that contain (among others) two columns with dates into Numbers. The dates are all uniformly formatted by dd.mm.yyyy, which is in Germany the usual date format. However, the import changes them into numbers, e.g.
    26.10.2009 becomes 38650
    13.11.2009 becomes 38668
    So, there seams to be some logic behind, but how can I conveniently get the correct date back?
    Thanks for any help.
    Best regards.

    Unfortunately, I wasn't able to change the cell format type to 'date' *after* importing the data, it just remained 'number'.
    However, I found a way to work around the problem: Introducing a new column and using there the function EDATE gave me the original date back! The function takes two arguments, the first I let point to the cell with the strange number, the second I let point to an empty cell.
    EDATE might not be meant to work that way and this feature is not documented, anyway, it worked for me.

  • Import CSV/Excel data into Flex Datagrid using Java/JSP

    Hi,
    Is there any way we can import excel/csv data into flex datagrid component.
    I see that is been done using php in this site. http://code.google.com/p/as3xls/
    Any help would be appreciated.
    Thanks in advance

    You can store the list of data from the Excel sheet that you have read already into an ArrayList
    Then go through the JDBC tutorial, and learn how to insert a single record into the table.
    After you understand how to insert a single record, you can iterate through the ArrayList of data and insert them into the table in the database.
    If you know JDBC, see if you can use OR Mapping frameworks like Hibernate or iBatis, they make it very easy to manage database in Java.

  • Is there a way to import large XML files into HANA efficiently are their any data services provided to do this?

    1. Is there a way to import large XML files into HANA efficiently?
    2. Will it process it node by node or the entire file at a time?
    3. Are there any data services provided to do this?
    This for a project use case i also have an requirement to process bulk XML files, suggest me to accomplish this task

    Hi Patrick,
         I am addressing the similar issue. "Getting data from huge XMLs into Hana."
    Using Odata services can we handle huge data (i.e create schema/load into Hana) On-the-fly ?
    In my scenario,
    I get a folder of different complex XML files which are to be loaded into Hana database.
    Then I gotta transform & cleanse the data.
    Can I use oData services to transform and cleanse the data ?
    If so, how can I create oData services dynamically ?
    Any help is highly appreciated.
    Thank you.
    Regards,
    Alekhya

  • Loading data into HANA DB (using hdbsql client) with Control file.

    Hi,
    I am working on a Project where the requirement is to load data from a csv file into HANA Database.
    I am using HDBSQL, command line client on a windows machine to upload the data into HANA DB on a linux server.
    I am able to successfully use the HDBSQL to export the file.
    I have the following questions w.r.t to Bulk uploading data from CSV:
    Where should the CSV file reside? Can this be in the windows machine or is it mandatory to have in the dropbox location.
    Where should the control file reside? Can this be in the windows machine or is it mandatory to have in the dropbox location.
    Where will the error file reside in case of errors?
    I am new to this and any help is much appreicated.
    Thanks,
    Shreesha

    Hi Shreesha,
    Where should the CSV file reside? Can this be in the windows machine or is it mandatory to have in the dropbox location.
    Where should the control file reside? Can this be in the windows machine or is it mandatory to have in the dropbox location.
    Where will the error file reside in case of errors?
    We need to create the DATA,CONTROL and ERROR folders on the linux server on which HANA is installed.( or a server accessible to SAP HANA server )
    Hence we need to SFTP the file to HANA server to further load into Table.
    Also have a look on the similar requirement on which i worked
    SAP HANA: Replicating Data into SAP HANA using HDBSQL
    Regards,
    Krishna Tangudu

  • Importing COPA data into HANA Studio

    Hello-
    I am currently trying to import my COPA data into my HANA Studio.
    I have extracted the files and I am trying to follow the steps listed here:
    https://wiki.wdf.sap.corp/wiki/display/bobjdemo/HowtoimportCOPAdata
    Seems easy enough, but I can't decipher the first step: u201C1. Copy copa_export.tar.bz2 file from
    idesapps\publicshare\HANA  to HANA server /tmp using tools like WinSCPu201D
    I downloaded, but could not gain access to WinSCP. What are other tools "like" WinSCP?
    Is there an alternate way to import this data without the first step?
    Thank you so much.
    Truly appreciative,
    John

    Hi John,
    That wiki link doesn't work as it is an internal SAP site.
    In any case, WinSCP is a FTP/SFTP file transfer tool. You just need to get that file over to the HANA server somehow. It doesn't really matter what tool you use, as long as it works!
    Cheers,
    Ethan

  • Importing non-unicode data into unicode 10gR2 database

    Hi:
    I will have to import non-unicode data into unicode 10gR2 database. The systems the data is coming from are the following: CODA, Timberline, COMMS, CMS, LIMS. These are all RDBMS, sql-enabled systems. We are talking about pretty big amounts of data (a couple hundred GB combined).
    Did anybody go through a similar exersize?
    I know I'll have to setup nls_length_semantics to CHAR.
    What other recommendations could you guys give?
    TIA,
    Greg

    I think "nls_length_semantics" isn't mandatory at this point, and you must extract a little quantity of information from every source and do some probes injecting them into the Oracle10g database.

  • GetData() to insert data into HANA

    Hi there,
    we struggle while using the getData() function to insert data into HANA.
    Here is our test coding:
        typedef [
           binary HeaderId;
        Timestamp  "Timestamp";
        string SystemType;
           string SystemId;
          | ] ts_Log_Header ;
    vector ( ts_Log_Header ) lt_Log_Header ;
                    getData( lt_Log_Header,
                              'ServiceHDBANA',
                              'Insert into "SAP_SEC_MON"."sap.secmon.db::Log.LogHeader" values ( ?, ?, ?,? )', WithNullIDs.HeaderId, WithNullIDs."Timestamp", 'PILLE', '');
    We see the following error in the console output as well as in the project log file:
    Error:
    2014-05-23 14:41:46.718 | 6924 | container | [SP-3-100005] (18.299) sp(18744) Error retrieving column 1 value from result set.
    2014-05-23 14:41:46.718 | 6924 | container | [SP-3-100005] (18.299) sp(18744) A result row is skipped due to error retrieving column data.
    2014-05-23 14:41:46.718 | 6924 | container | [SP-3-104003] (18.299) sp(18744) Error in function 'getData': Error iterating result set
    2014-05-23 14:41:46.734 | 6924 | container | [SP-4-131038] (18.315) sp(18744) Stream(): error occurred in computation of row.
    The according schema of the table in HANA looks like this:
    CREATE COLUMN TABLE "SAP_SEC_MON"."sap.secmon.db::Log.LogHeader" ("HeaderId" VARBINARY(16) CS_RAW,
      "Timestamp" LONGDATE CS_LONGDATE,
      "SystemType" NVARCHAR(50),
      "SystemId" NVARCHAR(5000))
    Any help would be appreciated.Or is there any example coding available ?
    We´re using ESP SP04 on a windows machine.

    Hi,
    Create a procedure in HANA that handles the insert, and have it return a dummy record, something similar to this:
    HANA Procedure:
    CREATE PROCEDURE insert_stock (symbol varchar(10), volume integer, price float)
    LANGUAGE SQLSCRIPT AS
    BEGIN
       INSERT INTO "SYSTEM"."stock"  values(symbol, volume, price);
       SELECT ::ROWCOUNT FROM DUMMY;
    END
    ESP CCL:
    CREATE INPUT stream StockStream SCHEMA (symbol string, volume integer, price float);
    CREATE Flex stock_flex
       IN StockStream
       OUT OUTPUT STREAM stock_traded SCHEMA(symbol string, volume integer, price float)
       BEGIN
          DECLARE
             /* The typedef must be the same as the return value of the stored procedure.            */
             typedef [integer dummydata;|] datarec;
             /* dummydatarec is a vector variable to store the return value of the stored procedure  */
             vector(datarec) dummydatarec;
          END;
          ON StockStream {
             if ( isnull(dummydatarec) ) {
                dummydatarec := new vector(datarec);                 
             getData(dummydatarec, 'HANAODBCService',
                 'CALL "SYSTEM"."INSERT_STOCK" (?,?,?)',
                  StockStream.symbol, StockStream.volume, StockStream.price );
             resize(dummydatarec,0);
       END;
    Hope that helps!
    Thanks,
    Alice

  • Need a method for importing Palm III data into a Palm Centro

    I just bought a Palm Centro (Verizon), with the expectation of importing data from my old Palm III.  From the Palm III Desktop, I exported Contacts, Calendar, Tasks, and Memos into separate folders (this was done on a Windows XP PC) and copied the resulting folders & files onto a flash drive.  But when I try to import these files into the Palm Centro desktop (on a new Mac Pro with OSX), the backup files are not in a "recognized format."  Does anyone have a process for reliably getting the Palm III data into the Palm Centro?  Also, is there an easy way to purge unwanted Contacts/Calendar events from the Palm Centro handheld?  With all the trial and error, its accumulating a lot of garbage.  Thanks...
    Post relates to: Centro (Verizon)

    Click on the following link for the upgrade guide on kb.palm.com
    http://www.palm.com/cgi-bin/cso_kbURL.cgi?ID=12926
    You will need to hard reset the Centro in order to clear out the Centro before sync'ing. Click on the following link for the hard reset procedure.
    http://www.palm.com/cgi-bin/cso_kbURL.cgi?ID=887
    Click on the following link for the support page for your devices on the kb.palm.com webpage.
    http://www.palm.com/us/support/centro/centro_vzw/
    http://www.palm.com/us/support/palm3/
    There are links on the pages to the user guide, troubleshooting, how to's, downloads, etc.
    You could try to export the data in each category in Palm desktop, save to the flash drive and import the data.
    Click here for the data export procedure.
    http://www.palm.com/cgi-bin/cso_kbURL.cgi?ID=36288
    Make sure you select "ALL" for the range during the export procedure. If you don't, it will only export the currently selected record.
    Post relates to: Palm i705

  • Import Excel File Data into oracle database table.

    HI,
    i want to insert data into a specific table from a excel file. please help me..
    for example
    emp.xls file's data need to be import in emp database table.
    thanks in advance...

    Hi,
    to all knowledgable person, this would be gald for u all that i have solved the problem.
    through this procedure..
    PROCEDURE IMPORT_FROM_EXCEL_PROC (as_FileName VARCHAR2, exe_name varchar2) IS
              appid PLS_INTEGER;
              convid PLS_INTEGER;
              docid PLS_INTEGER;
              conv_established BOOLEAN := FALSE;
              buffer VARCHAR2(100);      
              Emp_code VARCHAR2(100);
              Emp_name VARCHAR2(100);
              Emp_desig VARCHAR2(100);
              Emp_Salary VARCHAR2(100);
              ls_error VARCHAR2(1000);
              li_row integer;
              li_col integer;
              li_error_count integer;
              li_load_count integer;
    BEGIN
         --Start Excel
         --This line assumes that Excel is in the specified directory
              --     APPID := DDE.APP_BEGIN('D:\OFFICE11\EXCEL.EXE',DDE.APP_MODE_MINIMIZED);
              APPID := DDE.APP_BEGIN(exe_name,DDE.APP_MODE_MINIMIZED);
         --Establish a conversation with Excel
         --The following loop will not end until a conversation with Excel
         --has been established. Therefore, it can result in a endless loop,
         --so use with caution.
              WHILE NOT conv_established LOOP
              BEGIN
              convid := DDE.INITIATE('excel', 'system');
              conv_established := TRUE;
              EXCEPTION
              WHEN DDE.DMLERR_NO_CONV_ESTABLISHED THEN
              conv_established := FALSE;
              END;
              END LOOP;
         --Open Excel document
         --This assumes that you have an Excel spreadsheet named ddetest.xls in the root of c:
              DDE.EXECUTE(convid, '[Open("'||as_FileName||'")]', 10000);     
         --Initiate conversation with Excel document
              docid := DDE.INITIATE('excel',as_FileName);
         --Begin transfer from Excel to Forms
                   li_load_count := 0;
                   li_error_count := 0;
                   li_col := 1;
                   li_row := 2;
                   GO_BLOCK('IMPORT_XLS');          
                   DDE.REQUEST (docid, 'R' || TO_CHAR(li_row) || 'C' || TO_CHAR(li_col), buffer, DDE.CF_TEXT, 1000);          
                   WHILE length(buffer) > 2 LOOP           
                   WHILE li_col < 5 LOOP
                        buffer := substr(buffer, 1, instr(buffer, chr(10)) - 2);               
                   IF li_col = 1 THEN --Emp_code
                        Emp_code := buffer;     
                   ELSIF li_col = 2 THEN --Emp_name     
                        Emp_name := buffer;     
                   ELSIF li_col = 3 THEN --Emp_desig      
                        Emp_desig := buffer;     
                   ELSE --Emp_salary
                        Emp_salary := buffer;
                   END IF;
                   IF nvl(ls_error,'N') = 'N' THEN
                   li_col := li_col + 1;
                   DDE.REQUEST (docid, 'R' || TO_CHAR(li_row) || 'C' || TO_CHAR(li_col), buffer, DDE.CF_TEXT, 1000);
                   ELSE
                   li_col := 5;
                   END IF;               
                   END LOOP;
                   IF nvl(ls_error, 'N') = 'N' THEN
                   li_load_count := li_load_count + 1;
                   IF li_load_count = 1 THEN
                   FIRST_RECORD;
                   ELSE
                   NEXT_RECORD;
                   END IF;
                   :IMPORT_XLS.Emp_code := Emp_code;               
                   :IMPORT_XLS.Emp_name := Emp_name;          
                   :IMPORT_XLS.Emp_desig := Emp_desig;
                   :IMPORT_XLS.Emp_salary := Emp_salary;
                   ELSE
                   li_error_count := li_error_count + 1;
                   DDE.POKE(docid, 'R' || TO_CHAR(li_row) || 'C5', ls_error, DDE.CF_TEXT, 10000);
                   END IF;
                   ls_error := '';
                   Emp_code := '';
                   Emp_name := '';
                   Emp_desig := '';
                   Emp_salary := '';
                   li_col := 1;
                   li_row := li_row + 1;
                   DDE.REQUEST (docid, 'R' || TO_CHAR(li_row) || 'C' || TO_CHAR(li_col), buffer, DDE.CF_TEXT, 1000);                
                   END LOOP;               
                   IF li_error_count > 0 THEN
                        DDE.EXECUTE(convid, '[[save]]', 10000);
                        Message(TO_CHAR(li_load_count) || ' Record(s) Loaded. ' ||
                        TO_CHAR(li_error_count) || ' Invalid Record(s). See error in excel file.');
                        ELSE
                        Message(TO_CHAR(li_load_count) || ' Record(s) Successfully Loaded.');
                   END IF;                
                   --End transfer to Excel
                   DDE.TERMINATE(docid);
                   DDE.TERMINATE(convid);
                   DDE.APP_END(appid);                          
                   --Handle exceptions
                   EXCEPTION
                   WHEN DDE.DDE_APP_FAILURE THEN
                   MESSAGE('WINDOWS APPLICATION CANNOT START.');
                   WHEN DDE.DDE_PARAM_ERR THEN
                   MESSAGE('A NULL VALUE WAS PASSED TO DDE');
                   WHEN DDE.DMLERR_NO_CONV_ESTABLISHED THEN
                   MESSAGE('DDE CANNOT ESTABLISH A CONVERSATION');
                   WHEN DDE.DMLERR_NOTPROCESSED THEN
                   MESSAGE('A TRANSACTION FAILED');
    END;

  • Replicate APO master table data into HANA db via SLT

    Hi,
    Can anybody help me on replicating SAP APO master table data into SAP HANA by using SLT.
    What is the hardware requirement (Version & Patch) for APO system to communicate with SLT and is it the same methodology to follow while replicating ECC data via SLT to HANA or different.
    Please treat it urgent and your suggestions highly appreciated.
    Thank you,
    Ian

    Hi Ian,
    From replication perspective its follow the same methodology as ECC replication to HANA.
    You have to install DMIS 2011 component on your APO system to communicate with SLT.
    For more details you can refer SAP note: 1759156
    Cheers

  • Import CSV, Edit Data, Export CSV

    Hello,
    I am a powershell novice and have been given a task to complete. I need to scan through AD, find all of the servers that are supposed to be active, "ping" them and, if active, get their IP address and verify that a number of services are running.
    Once all of the data is collected, I need to write all of this out to a .CSV file. So far, what I have is this:
    Using Import-Module ActiveDirectory, I am able to get the full list of servers with appropriate information and export that to a CSV
    I import the CSV file above back in and create new headers (columns) for more information
    The full list of servers are pinged individually. If pingable, I get the IP address and service information needed
    Where I am stuck is writing all of this back out to a .CSV file. Right now, I am just writing the information back out to the screen for verification. I'm sure it's something small, but being a novice I'm not sure where to go. Any help?

    Here is the full code. The Write-Host statements are just for me during the testing to see if the information is correct. The last statement was what I tried to write the information out, but it came up empty and I really haven't found a way to get it to
    work.
    Import-Module ActiveDirectory    
    Get-ADComputer -LDAPFilter "(OperatingSystem=*Server*)" -Property * |
        Select-Object Name,Created,LastLogonDate,OperatingSystem,OperatingSystemServicePack,OperatingSystemVersion,CanonicalName |
        ? {$_.CanonicalName -notlike "*Archived Servers*" -and $_.CanonicalName -notlike "*Sun Prod*"} |
        Export-CSV "c:\temp\AllADComputers4.CSV" -NoTypeInformation -Encoding UTF8
    #Add other headers
    $csv = get-content "c:\temp\AllADComputers4.CSV"
    $csv[0] += ",Pingable,IPAddress,SCCM Status,AV Name,AV Version,AV Status"
    $csv | out-file "c:\temp\AllADComputers4.CSV"
    $MachineInfo = Import-Csv -Path "c:\temp\AllADComputers4.CSV"
    $Processed = ForEach ($objitem in $MachineInfo)
        If (Test-Connection -ComputerName $Objitem.Name -Quiet -Count 1)
            If (Get-Service -name "Symantec AntiVirus" -computername $Objitem.Name)
                $AVStatus = Get-Service -name "Symantec AntiVirus" -computername $Objitem.Name
                $AVName = "Symantec AntiVirus"
            Elseif (Get-Service -name SepMasterService -computername $Objitem.Name)
                $AVStatus = Get-Service -name SepMasterService -computername $Objitem.Name
                $AVName = SepMasterService
            ElseIf (Get-Service -name "Norton AntiVirus Server" -computername $Objitem.Name)
                $AVStatus = Get-Service -name "Norton AntiVirus Server"-computername $Objitem.Name
                $AVName = "Norton AntiVirus Server"
            Else
                $AVStatus = "Stopped"
                $AVName = "None"
            $SCCMAgentStatus = Get-Service -name ccmexec -computername $Objitem.Name
            $Networks = Get-WmiObject Win32_NetworkAdapterConfiguration -ComputerName $Objitem.Name | ? {$_.IPEnabled}
            $objitem.Pingable = "Yes"
            foreach ($Network in $Networks)
                    $IPAddress  = $Network.IpAddress[0]
            Write-Host $Objitem.Name,"...Success...",$IPAddress,"   SCCM Status = ",$SCCMAgentStatus.Status, "Anti-Virus = ",$AVName, "Status = ",$AVStatus.Status
            $service = gwmi -computername $objItem.Name -class Win32_Service | ? {$_.Name -eq $AVName}
            $path = ($service | Select -Expand PathName)
            $path = $path.Replace(":","$")
            $path = $path.Replace('"','')
            $FullPath = "\\"+$objitem.Name+"\"+$path
            $ver = Get-ItemProperty -Path $FullPath | select-object -expand VersionInfo | select-object -expand ProductVersion
            Write-Host $Fullpath
            Write-Host "Version = ",$ver
        Else
            Write-Host $Objitem.Name"...Failed"
            $objitem.Pingable = "No"
    $Processed | export-csv -Path "c:\temp\AllADProcessed.CSV"

  • Import Non-SAP data into BW

    Please help with following query on Extracting the non-sap Data into BW.Please advice the full documentation on Loading,Transforming,Reporting for NON-SAP data into BW .
    Essentially, the Third party tool provides a matrix for maximizing either profit or revenue (volume) for each loan product offering depending upon the bank's goals.  For example, at the car dealership, the salesman inputs the price of car, the loan term, your FICO score, income etc and the tool calculates an interest rate for your loan based upon the bank's goals at the time.  The tool has a Java front end and C++ on the back
    Will assign points on reply and appreciate your help

    Ashley
    There are different ways of doing this. One way is down load third party data into Flat file and then upload into BW using flat file extraction.
    Other option is load data using DB connect. please see this link for DB connect
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2f0fea94-0501-0010-829c-d6b5c2ae5e40
    Hope this helps
    Thnaks
    Sat

  • Import PowerPoint with animations into Captivate 4 ?

    Can anyone let me know if it is possible to import a PowerPoint presentation into Captivate 4 AND keep all the PowerPoint animations exactly as created in the original PowerPoint ?
    If this is not possible, what are the options ?
    Thanks in advance,
    Noel

    Hi Noel
    I think the PowerPoint to Captivate conversion is a mixed bag. Mostly, I believe folks will be disappointed with the process.
    Certain animations seem to survive the conversion and others seem to fail. But the bottom line here is that we are taking a file created by a Microsoft application, sucking it into an Adobe application and expecting the result to work without a hitch. And I'm not sure how often we will see this work flawlessly. I mean, it's not unlike removing an engine from a Fiat and expecting it to seamlessly bolt up and work in a Volvo. There will be stumbling blocks.
    To be honest, I'm amazed it works as well as it does.
    The only way I'm aware of to create a Captivate that behaves exactly as the PowerPoint behaves is to present the PowerPoint show in a window. Then use Captivate to surround the window and record it using FMR as the PowerPoint does its thing. Any other way is likely going to result in having to fudge things here and there and tweak them to make them work as desired. Possibly even re-creating things here and there in Captivate.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • How to synchronize, link or import Outlook calender data into Primavera R8.3 Ressource Calender??

    Hello together,
    we are currently looking for a way to import MS Outlook calendar data into our Primavera P6 R8.3 Application. The only information I found was an Oracle Document (http://docs.oracle.com/cd/E17462_01/Web_Access/Help/en/Outlook/outlook_how_to.htm).
    Any ideas, workaround or tool tips would be appreciated.
    regrads Udo

    Hello together,
    we are currently looking for a way to import MS Outlook calendar data into our Primavera P6 R8.3 Application. The only information I found was an Oracle Document (http://docs.oracle.com/cd/E17462_01/Web_Access/Help/en/Outlook/outlook_how_to.htm).
    Any ideas, workaround or tool tips would be appreciated.
    regrads Udo

Maybe you are looking for

  • Switch b/w edge and GSM on Blackberry Curve 9380

    Hey few days back I bought Blackberry Curve 9380. Basically I'm new to Blackberry Universe. Generally when I'm at home, I prefer to use GSM only coz I have Wi-Fi. But when I swtich off data usage, connect to Wi-Fi, the Browser and other internet appl

  • Switched from iPhone to Android and now iMessage being sent instead of Text

    A friend of mine recently switched from iPhone to Android and now my text are being sent as iMessage instead of text and he obviously isn't receiving it. How do I fix this bug. I'm using iPhone 4 running iOS 5

  • Questions about subscriptions

    I would like to sign up for a subscription so I can make phone calls from my ipod touch. Before I do, I have a few questions. Can I make phone calls without a wifi connection? Can I call mobile phones? How can people reach me? If someone could help m

  • 12" Pbook / 12" iBook & Aperture - Experiences?

    Hi all, I am wondering about comparative performance using Aperture on either of the 12" Apple portables. One has more video memory but the other has a more modern graphics chip... Anybody care to share their own experience of how well either of thes

  • SVG displaying issue when textpath is refering to an id - working in Firefox and Chrome

    So I found a bug in the latest Internet Explorer. You can see it in this fiddle: http://jsfiddle.net/5uc17jwr/21/ Works great in Chrome and Firefox but does not show all text elements in Internet Explorer. So the question is why are just 2-3 words di