Importing a csv file into addressbook

So I did a search & found this question has come up quite often, but with the person having a slightly different problem, so here goes.
I am trying to import a csv file into address book, when I go import -> text tile it comes up like it should do and I pick the file, if I select ok at this point, it will quite happily import all of the data no trouble (but in the wrong categories). So I make the changes to what I want ie. Phone other --> Phone (work). Then when I click ok, the button goes from blue to white but nothing happens.
When I open the csv file in textedit I can see all the values separated by commas.
Any Ideas?

I too just had this problem. To clarify all fields work and you can map them. I found that the Outlook CSV file had two problems which were tripping up the AddressBook import function. Note these were both in street address fields so I suspect the poster who said that addresses don't work may have been having that problem.
The CSV load program does not work if you have commas "," in your data. In my case this was very common for some European addresses as well as some company names. And then the second problem was if there was a carriage return or new line character in a field. This later one was a problem with the address fields. I suspect an AddressBook export to CSV might have this same issue. Specifically, when there were multiple lines to the street address, they had been entered as multiple lines in street address one, as opposed to entering them in multiple fields such as "street 1", "street 2", etc.
To solve the problem I opened the CSV file using Numbers and did a global find and replace on: commas, substituting the string --- and on the newline character "¶" (ALT+Rreturn) with *.
Note to reduce some of the remapping I also changed all of the labels with "business" in the header row of the CSV file to "work". This made it a little easier for the AddressBook import function to map fields more correctly.
After these set of changes rather than the alternating blue then white with nothing behavior it cleanly loaded all of my names. I could then search for "---" and "*" in addressbook's search field to identify all addresses which I had to clean up.
I hope that is helpful to someone else. The import function really does work. However, it is not robust enough to deal with certain oddities in one's data.

Similar Messages

  • Importing a CSV file into AD 2012r2

    Hi Guys
    Just wondering if anyone can help, I am a newbie on scripting and finding it really difficult to understand how to import a csv file into AD
    I have created the CSV file with the following headers, see below but I am unable to write a powershell script to import them into AD which work, I have tried multiple help guides but still cannot do it for the life of me.
    Any help on this would be really appreciated 
    objectClass user
    cn Jo bloggs
    givenName jo
    sn blogs
    mail [email protected]
    sAMAccountname j.blogs
    AccountPassword Pa$$w0rd
    ChangePasswordAtLogon true
    PasswordNeverExpires false
    ou OU=staff,DC=test,DC=com

    Import-Csv C:\User.csv| %{New-ADUser -SamAccountName $_.SamAccountName `
    -UserPrincipalName $_.userprinicpalname `
    -Name $_.name `
    -Mail = $_.mail `
    -DisplayName $_.name `
    -GivenName $_.GivenName `
    -Path "OU=Test Users,DC=XXX,DC=XXX" `
    -PasswordNeverExpires $false `
    -ChangePasswordAtLogon $true `
    -AccountPassword (ConvertTo-SecureString "test41;" -AsPlainText -force) `
    -Enabled $True -PasswordNeverExpires $True -PassThru ` }
    help New-ADUser -Examples
    You can try the below sample code
    Regards Chen V [MCTS SharePoint 2010]

  • Import a CSV-file into a new table?

    hi, im trying to import a csv file into a new tabel, but i just cant make it work :-O. what are the steps to do that? im using sql developer version1.1.2.25.
    thanks for helping :-)

    We do not support CSV import at this stage, we only support XLS import.
    Regards
    Sue

  • How to import an .csv file into the database?

    and can we code the program in JSP to import the.csv file into the database.

    It is better to use Java class to read the CSV file and store the contents in the database.
    You can use JSP to upload the CSV file to the server if you want, but don't use it to perform database operations.
    JSPs are good for displaying information on the front-end, and for displaying HTML forms, there are other technologies more suitable for the middle layer, back end and the database layer.
    So break you application into
    1) Front end - JSPs to display input html forms and to display data retrieved from the database.
    2) Middle layer - Servlets and JavaBeans to interact with JSPs. The code that reads the CSV file to parse it's contents should be a Java Class in the middle layer. It makes use of Java File I/O
    3) Database layer - Connects to the database using JDBC (Java Database Connectivity), and then writes to the database with SQL insert statements.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Keeping the above concepts in mind, first build a simple JSP and get it to work,
    then research on Google , for Java File I/O , discover how to read a file,
    Then search on how to readh a CSV file using Java.
    After researching you should be able to read the CSV file line by line and store each line inside a Collection.
    Then research on Google, on how to write to the database using JDBC
    Write a simple program that inserts something to a dummy table in the database.
    Then, read the data stored in the Collection, and write insert statements for each records in the collection.

  • Is there a way to import a .csv file into Numbers?

    Can I import a .csv file into Numbers?

    Yes, you can import csv (character-separated-values) into Numbers.
    If the csv file is comma-separated, then in Numbers you can try File > Open and navigate to the file and open it.
    If you don't get the results you want, then try this CSV to Tabs on Clipboard Automator Service (Dropbox download) instead.
    To install, double-click the .workflow package and, if necessary, click 'Open Anyway' in System Preferences > Security & Privacy.
    Thereafter to use:
    In Finder (not Numbers) navigate to the .csv file.
    Right-click on the file and choose 'CSV to Tabs on Clipboard' under Services in the contextual menu.
    Follow the prompts (trying different separators if needed).
    Click once in a Numbers cell.
    Command-v to paste.  The Numbers table will expand automatically as needed.
    These steps are quicker and easier than they sound. Just a few clicks and a keyboard entry.
    SG

  • Importing CSV file into AddressBook: Major and Immediate Crash

    I'll start with what I've already tried to solve this problem. I have read through several posts regarding other address book problems. I wanted to try the recommended deletion of file "homedirectory/library/application support/address book/AddressBook-v22.abcddb". That file does not seem to exist on my computer for me to even try delete it. I was able to locate the "libray folder" and get seamlessly to the "application support" folder, but there is no "address book" folder in the "application support" folder.
    The problem is with importing a CSV file (created/saved from Outlook Express) into my Mac AddressBook. I've made 10 attempts and have gotten 10 crash messages. The first part of the crash message is posted below.
    Is there anything I can do to solve this problem? Is it because I've created a CSV file from Outlook Express that it won't work? I have successfully imported other CSV files (like an old, ancient CSV file that I created from a nextel phone years ago and a family address file that I recently created on my MacBook in Excel.)
    Here's the first page or so of the crash message... the entire report is about 28 pages:
    Process: Address Book [254]
    Path: /Applications/Address Book.app/Contents/MacOS/Address Book
    Identifier: com.apple.AddressBook
    Version: 5.0.1 (864)
    Build Info: AddressBook-8640000~4
    Code Type: X86-64 (Native)
    Parent Process: launchd [144]
    Date/Time: 2009-12-16 15:47:00.744 -0500
    OS Version: Mac OS X 10.6.2 (10C540)
    Report Version: 6
    Interval Since Last Report: 994434 sec
    Crashes Since Last Report: 10
    Per-App Interval Since Last Report: 8923 sec
    Per-App Crashes Since Last Report: 10
    Anonymous UUID: 9EDF5817-9DD1-4C21-9CE5-F6882E750B54
    Exception Type: EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Crashed Thread: 11 Dispatch queue: com.apple.root.default-priority
    Application Specific Information:
    abort() called
    * Terminating app due to uncaught exception 'NSRangeException', reason: '* -[NSCFArray objectAtIndex:]: index (7) beyond bounds (7)'
    * Call stack at first throw:
    0 CoreFoundation 0x00007fff82bf7444 __exceptionPreprocess + 180
    1 libobjc.A.dylib 0x00007fff82d3b0f3 objcexceptionthrow + 45
    2 CoreFoundation 0x00007fff82bf7267 +[NSException raise:format:arguments:] + 103
    3 CoreFoundation 0x00007fff82bf71f4 +[NSException raise:format:] + 148
    4 Foundation 0x00007fff83fd5080 _NSArrayRaiseBoundException + 122
    5 Foundation 0x00007fff83f37b81 -[NSCFArray objectAtIndex:] + 75
    6 AddressBook 0x00007fff833af1df -[ABImportMappingModel(PrivateMappingToPersonConversion) addressDictionaryForMapping:rowData:localizedAddressMappings:] + 348
    7 AddressBook 0x00007fff833af4d3 -[ABImportMappingModel(MappingToPersonConversion) personWithRowData:localizedAddressMappings:addressBook:] + 597
    8 AddressBook 0x00007fff833ace87 __-[ABNewTextFileImportController import:]block_invoke1 + 153
    9 Foundation 0x00007fff83f7a7d9 -[NSBlockOperation main] + 140
    10 Foundation 0x00007fff83f6b06d -[__NSOperationInternal start] + 681
    11 Foundation 0x00007fff83f6ad23 ___startOperations_block_invoke2 + 99
    12 libSystem.B.dylib 0x00007fff8617ace8 dispatch_call_block_andrelease + 15
    13 libSystem.B.dylib 0x00007fff86159279 dispatch_workerthread2 + 231
    14 libSystem.B.dylib 0x00007fff86158bb8 pthreadwqthread + 353
    15 libSystem.B.dylib 0x00007fff86158a55 start_wqthread + 13

    Pamela MacBeginner wrote:
    I'll start with what I've already tried to solve this problem. I have read through several posts regarding other address book problems. I wanted to try the recommended deletion of file "homedirectory/library/application support/address book/AddressBook-v22.abcddb". That file does not seem to exist on my computer for me to even try delete it.
    it does exist on your computer. you are looking in the wrong library folder. you need the library folder in your home directory, not at the top level of the drive. click on the house icon in the sidebar of any finder window. that's your home directory. you can also get to it from the top level of the drive by going to /users/yourusername.
    if deleting this file does not help try converting the CSV file to a vcard before importing it to AB. you can use this converter for example
    http://homepage.mac.com/phrogz/CSV2vCard_v2.html
    I was able to locate the "libray folder" and get seamlessly to the "application support" folder, but there is no "address book" folder in the "application support" folder.
    The problem is with importing a CSV file (created/saved from Outlook Express) into my Mac AddressBook. I've made 10 attempts and have gotten 10 crash messages. The first part of the crash message is posted below.
    Is there anything I can do to solve this problem? Is it because I've created a CSV file from Outlook Express that it won't work? I have successfully imported other CSV files (like an old, ancient CSV file that I created from a nextel phone years ago and a family address file that I recently created on my MacBook in Excel.)
    Here's the first page or so of the crash message... the entire report is about 28 pages:
    Process: Address Book [254]
    Path: /Applications/Address Book.app/Contents/MacOS/Address Book
    Identifier: com.apple.AddressBook
    Version: 5.0.1 (864)
    Build Info: AddressBook-8640000~4
    Code Type: X86-64 (Native)
    Parent Process: launchd [144]
    Date/Time: 2009-12-16 15:47:00.744 -0500
    OS Version: Mac OS X 10.6.2 (10C540)
    Report Version: 6
    Interval Since Last Report: 994434 sec
    Crashes Since Last Report: 10
    Per-App Interval Since Last Report: 8923 sec
    Per-App Crashes Since Last Report: 10
    Anonymous UUID: 9EDF5817-9DD1-4C21-9CE5-F6882E750B54
    Exception Type: EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Crashed Thread: 11 Dispatch queue: com.apple.root.default-priority
    Application Specific Information:
    abort() called
    * Terminating app due to uncaught exception 'NSRangeException', reason: '* -[NSCFArray objectAtIndex:]: index (7) beyond bounds (7)'
    * Call stack at first throw:
    0 CoreFoundation 0x00007fff82bf7444 __exceptionPreprocess + 180
    1 libobjc.A.dylib 0x00007fff82d3b0f3 objcexceptionthrow + 45
    2 CoreFoundation 0x00007fff82bf7267 +[NSException raise:format:arguments:] + 103
    3 CoreFoundation 0x00007fff82bf71f4 +[NSException raise:format:] + 148
    4 Foundation 0x00007fff83fd5080 _NSArrayRaiseBoundException + 122
    5 Foundation 0x00007fff83f37b81 -[NSCFArray objectAtIndex:] + 75
    6 AddressBook 0x00007fff833af1df -[ABImportMappingModel(PrivateMappingToPersonConversion) addressDictionaryForMapping:rowData:localizedAddressMappings:] + 348
    7 AddressBook 0x00007fff833af4d3 -[ABImportMappingModel(MappingToPersonConversion) personWithRowData:localizedAddressMappings:addressBook:] + 597
    8 AddressBook 0x00007fff833ace87 __-[ABNewTextFileImportController import:]block_invoke1 + 153
    9 Foundation 0x00007fff83f7a7d9 -[NSBlockOperation main] + 140
    10 Foundation 0x00007fff83f6b06d -[__NSOperationInternal start] + 681
    11 Foundation 0x00007fff83f6ad23 ___startOperations_block_invoke2 + 99
    12 libSystem.B.dylib 0x00007fff8617ace8 dispatch_call_block_andrelease + 15
    13 libSystem.B.dylib 0x00007fff86159279 dispatch_workerthread2 + 231
    14 libSystem.B.dylib 0x00007fff86158bb8 pthreadwqthread + 353
    15 libSystem.B.dylib 0x00007fff86158a55 start_wqthread + 13

  • Import a CSV file into specific cells

    Hello,
    I have created a simple Numbers template and I want to import a csv file with its values entering specific cells in an automated way.
    I think the best way to automate this process would be an AppleScript that does the following:
    Selects the csv file;
    Parses the values inserting them into the the Numbers template i.e. value1 to cell B2, value2 to cell B3 etc.
    Unfortunately I know very little about AppleScript, does anyone have any experience in this area that they could pass on?
    My idea would be to place the csv values in an array, and loop through the array entering the values in B2, B3 etc.
    Many thanks in advance!
    Dougie

    Here is a script doing the full job in a single call.
    --{code}
    --[SCRIPT csv-to-selected-cell]
    Enregistrer le script en tant que Script : csv-to-selected-cell.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Utilisateurs:<votreCompte>:Bibliothèque:Scripts:Applications :Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    Sélectionner la première cellule du bloc où vous souhaitez insérer les valeurs extraites d'un fichier CSV.
    Aller au menu Scripts , choisir Numbers puis choisir “csv-to-selected-cell”
    Le script demande de naviquer jusqu’au fichier CSV.
    Il en lit le contenu,
    remplace les séparateurs (";" ou ",") par des TABs
    copie les données dans le presse-papiers
    colle dans la table.
    --=====
    L’aide du Finder explique:
    L’Utilitaire AppleScript permet d’activer le Menu des scripts :
    Ouvrez l’Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case “Afficher le menu des scripts dans la barre de menus”.
    Sous 10.6.x,
    aller dans le panneau “Général” du dialogue Préférences de l’Éditeur Applescript
    puis cocher la case “Afficher le menu des scripts dans la barre des menus”.
    --=====
    Save the script as a Script: csv-to-selected-cell.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Select the first cell of the block where values extracted from a CSV file must be inserted.
    Go to the Scripts Menu, choose Numbers, then choose “csv-to-selected-cell”
    The script urge you to navigate to the CSV file.
    It read its contents,
    replace the delimiters (";" or ",") by TAB  chars
    copy the datas in the clipboard
    paste in the table.
    --=====
    The Finder’s Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the “Show Script Menu in menu bar” checkbox.
    Under 10.6.x,
    go to the General panel of AppleScript Editor’s Preferences dialog box
    and check the “Show Script menu in menu bar” option.
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2012/01/18
    --=====
    on run
              local dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2, lesValeurs
              my activateGUIscripting()
    Extract parameters describing the target cell *)
              set {dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
    Choose the source CSV file *)
      choose file of type {"csv"}
    Get the file’s contents *)
              set lesValeurs to read result
    Grab the delimiter in use *)
              if lesValeurs contains ";" then
              else
              end if
    Replace the delimiter in use by TAB *)
              my remplace(lesValeurs, result, tab)
    Move the 'normalized' datas to the clipboard *)
      set the clipboard to result
    Reset the target cell in case something changed *)
              tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
                        set selection range to range (name of cell colNum1 of row rowNum1)
              end tell
    Paste matching style *)
              my raccourci("Numbers", "v", "cas")
    end run
    --=====
    set { dName, sName, tName,  rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    on get_SelParams()
              local d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2
              tell application "Numbers" to tell document 1
                        set d_Name to its name
                        set s_Name to ""
                        repeat with i from 1 to the count of sheets
                                  tell sheet i to set maybe to the count of (tables whose selection range is not missing value)
                                  if maybe is not 0 then
                                            set s_Name to name of sheet i
                                            exit repeat
                                  end if -- maybe is not 0
                        end repeat
                        if s_Name is "" then
                                  if my parleAnglais() then
                                            error "No sheet has a selected table embedding at least one selected cell !"
                                  else
                                            error "Aucune feuille ne contient une table ayant au moins une cellule sélectionnée !"
                                  end if
                        end if
                        tell sheet s_Name to tell (first table where selection range is not missing value)
                                  tell selection range
                                            set {top_left, bottom_right} to {name of first cell, name of last cell}
                                  end tell
                                  set t_Name to its name
                                  tell cell top_left to set {row_Num1, col_Num1} to {address of its row, address of its column}
                                  if top_left is bottom_right then
                                            set {row_Num2, col_Num2} to {row_Num1, col_Num1}
                                  else
                                            tell cell bottom_right to set {row_Num2, col_Num2} to {address of its row, address of its column}
                                  end if
                        end tell -- sheet…
                        return {d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2}
              end tell -- Numbers
    end get_SelParams
    --=====
    on parleAnglais()
              local z
              try
                        tell application "Numbers" to set z to localized string "Cancel"
              on error
                        set z to "Cancel"
              end try
              return (z is not "Annuler")
    end parleAnglais
    --=====
    on decoupe(t, d)
              local oTIDs, l
              set oTIDs to AppleScript's text item delimiters
              set AppleScript's text item delimiters to d
              set l to text items of t
              set AppleScript's text item delimiters to oTIDs
              return l
    end decoupe
    --=====
    replaces every occurences of d1 by d2 in the text t
    on remplace(t, d1, d2)
              local oTIDs, l
              set oTIDs to AppleScript's text item delimiters
              set AppleScript's text item delimiters to d1
              set l to text items of t
              set AppleScript's text item delimiters to d2
              set t to "" & l
              set AppleScript's text item delimiters to oTIDs
              return t
    end remplace
    --=====
    on activateGUIscripting()
      (* to be sure than GUI scripting will be active *)
              tell application "System Events"
                        if not (UI elements enabled) then set (UI elements enabled) to true
              end tell
    end activateGUIscripting
    --=====
    ==== Uses GUIscripting ====
    This handler may be used to 'type' text, invisible characters if the third parameter is an empty string.
    It may be used to 'type' keyboard raccourcis if the third parameter describe the required modifier keys.
    I changed its name « shortcut » to « raccourci » to get rid of a name conflict in Smile.
    on raccourci(a, t, d)
              local k
      activate application a
              tell application "System Events" to tell application process a
                        set frontmost to true
                        try
                                  t * 1
                                  if d is "" then
      key code t
                                  else if d is "c" then
      key code t using {command down}
                                  else if d is "a" then
      key code t using {option down}
                                  else if d is "k" then
      key code t using {control down}
                                  else if d is "s" then
      key code t using {shift down}
                                  else if d is in {"ac", "ca"} then
      key code t using {command down, option down}
                                  else if d is in {"as", "sa"} then
      key code t using {shift down, option down}
                                  else if d is in {"sc", "cs"} then
      key code t using {command down, shift down}
                                  else if d is in {"kc", "ck"} then
      key code t using {command down, control down}
                                  else if d is in {"ks", "sk"} then
      key code t using {shift down, control down}
                                  else if (d contains "c") and (d contains "s") and d contains "k" then
      key code t using {command down, shift down, control down}
                                  else if (d contains "c") and (d contains "s") and d contains "a" then
      key code t using {command down, shift down, option down}
                                  end if
                        on error
                                  repeat with k in t
                                            if d is "" then
      keystroke (k as text)
                                            else if d is "c" then
      keystroke (k as text) using {command down}
                                            else if d is "a" then
      keystroke k using {option down}
                                            else if d is "k" then
      keystroke (k as text) using {control down}
                                            else if d is "s" then
      keystroke k using {shift down}
                                            else if d is in {"ac", "ca"} then
      keystroke (k as text) using {command down, option down}
                                            else if d is in {"as", "sa"} then
      keystroke (k as text) using {shift down, option down}
                                            else if d is in {"sc", "cs"} then
      keystroke (k as text) using {command down, shift down}
                                            else if d is in {"kc", "ck"} then
      keystroke (k as text) using {command down, control down}
                                            else if d is in {"ks", "sk"} then
      keystroke (k as text) using {shift down, control down}
                                            else if (d contains "c") and (d contains "s") and d contains "k" then
      keystroke (k as text) using {command down, shift down, control down}
                                            else if (d contains "c") and (d contains "s") and d contains "a" then
      keystroke (k as text) using {command down, shift down, option down}
                                            end if
                                  end repeat
                        end try
              end tell
    end raccourci
    --=====
    --[/SCRIPT]
    --{code}
    Yvan KOENIG (VALLAURIS, France) mercredi 18 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k
    My iDisk is : http://public.me.com/koenigyvan

  • Import a CSV file into contacts

    I am trying to import a CSV file; a comma seperated list of email addresses. When I try to import them into contacts, contacts attempts to combine the entire email list as seperate fields of a single contact. What am I doing wrong? I am trying to import just the list of email addresses so that each email address is a seperate contact. The list does not have names or addresses, just emails. Please help.

    Hey IAmWallace!
    I have an article here that can address this question for you and tell you how to import these email addresses:
    Address Book 6.x: Import contacts
    http://support.apple.com/kb/PH4648
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • Importing a CSV file into a table for Fiori

    Hello,
    I create a fiori application with sap web ide  and i need to import a csv file from my desktop and show its content into a table in my fiori application
    Please could some one help me
    Ameni,
    Subject was edited by: Michael Appleby

    Hello Jamie
    Thank you ,
    i try this code , i putted in my detail.view.xml this code :<l:VerticalLayout> <u:FileUploader id="fileUploader" name="myFileUpload" uploadUrl="upload/" width="400px" tooltip="Upload your file to the local server" uploadComplete="handleUploadComplete"/> <Button text="Upload File" press="handleUploadPress"/> </l:VerticalLayout>
    and i put in detail.controller.js the 2 functions : handleUploadComplete and handleUploadPress
    And when i run and i press in the button to load the file but it doesn't work !
    Best Regards,
    Ameni,

  • Import a csv file into demand history

    Hi SAP Friends,
    we are sitting here for hours and just don´t get any further... Our problem is, we have written a csv file according to this example:
    Executing Loc. Type CHAR 4 CRMELOCTYP - 1002
    Cus-Facing Loc. Type CHAR 4 CRMFLOCTYP - 1002
    Type 1st Stockh.Loc. CHAR 4 CRMFSTLTP - 1002
    Order Qty: Sls Units QUAN 17 CRMORDQTYV - 1000
    Pl. GI Date (Req.) DATS 8 CRMPGIDATW - 20061010
    Pl. GI Time (Req.) TIMS 6 CRMPGITIMW - 200000
    Customer-Facing Loc. CHAR 20 CRM_FACLOC - LOC1
    1st Stockholding Loc CHAR 20 CRM_FSTLOC - LOC1
    Transaction Created DATS 8 CRM_ITCRAT - 20061010
    GUID of a CRM item CHAR 32 CRM_ITMGUI Check - PROD1
    Item Transaction Typ CHAR 4 CRM_ITMTYP Check - NORM
    Item Category Usage CHAR 4 CRM_ITMTYS Blank
    Use:Higher Level Itm CHAR 2 CRM_ITMUSE Blank
    Abnormal Demand CHAR 1 CRM_NOTNRM Blank
    Item No. Order Doc. NUMC 10 CRM_NUMINT Check - PROD1
    No. of Doc Items INT4 10 CRM_NUMOFI Check - 1
    Transaction Number CHAR 10 CRM_OBJ_ID Check - PROD1
    GUID CRM Order Obj. CHAR 32 CRM_OHGUID Check - PROD1
    Parent item CHAR 32 CRM_PARITM Blank
    Business Trans. Type CHAR 4 CRM_PRCTYP Blank
    Denominator INT4 10 Put 1 - 1
    10th Exponent INT4 10 Put 1 - 1
    Numerator INT4 10 Put 1 - 1
    Reason for Rejection CHAR 2 CRM_REJECT Blank
    Requested deliv.date DATS 8 CRM_REQDAT - 20061016
    Goods Recipient CHAR 10 CRM_SHIPTO - CUST1 (Not created in master)
    Source System CHAR 10 LOGSYS - EXCEL
    Material CHAR 18 MATERIAL - PROD1
    Update Mode CHAR 1 RECORDMODE - F
    Sales unit UNIT 3 SALES_UNIT - EA
    Product CHAR 32 CRM_PROD - PROD1
    Base Unit UNIT 3 BASE_UOM - EA
    Product ID CHAR 40 CRMPROD_ID - PROD1
    and have also imported this file into the demand history, but the "order quantity" is missing as well as the whole file in the "manual adjustment of raw data". Does anyone know, what´s the problem??
    Thank you so much in advance,
    Almi

    Hola Anjali,
    First of all, thank you for your quick answer.
    I don´t think that there is anything missing in the CSV file. We are using SPP and also have the SCM 5.0. See if we load the file into SPP neither the order quantity, nor is the file in the "manual adjustment of raw data" is shown . What do u mean by downloading and uploading?
    Thank you,
    Almi

  • How to import from CSV file into INTERVAL DAY TO SECOND column?

    Hello,
    I need to import data from a csv file that has a column that stores time-intervals (e.g. 2:06:02 Hours:Minutes:Seconds) into a table column INTERVAL DAY TO SECOND.
    Does any of you know what format I should apply?
    I tried HH:MI:SS but it didn't work.
    Any suggestion is welcomed (including changing the column type to something else that might hold time-intervals in it....).
    Thanks,
    Andrei

    Andrei,
    There is no native support for the INTERVAL datatype in the Text loading facilities of Application Express.
    To work around this known limitation, I suggest either creating a temporary table or a shadow column in your existing table. You could then upload your data for the interval as a VARCHAR2 and then use SQL to convert to an appropriate interval value.
    For example:
    1) Create a table with:
    create table foo (id number primary key, i interval day to second, shadowi varchar2(4000) )2) Using your sample data set, load this data into table FOO, loading the second column of this data into column SHADOWI
    1     01:06:02
    2     02:06:02
    3     03:01:013) Issue the following SQL to convert the value in your shadow interval column to your actual interval column
    update foo set i = to_dsinterval( '0 ' || shadowi )Note that you'll need to prepend the '0' to formulate a valid interval literal value.
    Joel

  • Import from csv file into a oracle database

    Hi,
    like i wrote in the subject i want to import some data from a csv file
    and transform it into a database.
    Its a simple setup,
    - FA which reads with a self defined schema from a physical path
    - Receive activity which creates an instance
    - transform activity
    - invoke which invokes the database adapter to fill a single table
    - deploy it to a application server
    I cant get it done.
    What i achieved is to fill the table with one set (one row of the csv file),
    but the other rows are untouched.
    Does somebody know where i have to look for some errors.
    The Auditing tool from the app server shows no errors.
    I could also provide some screenshots.
    Any help would be appreciated, i am really desperate :(
    Thanks in Advance
    Sven Richter

    Hi
    1) Is the File Adapter reading the correct number of lines in the csv file?
    2) If yes, after the transformation, how many lines are there in the resulting variable?
    Solutions:
    1) If the FA is not reading all lines, the problem for sure is the XSD you are using. The XSD must define an element which must occurs many times. You do this using a correct XSD construction with the "maxoccurs=unbounded" atribute.
    2) If the problem is with the transformation activity, you shoud use "for each" xsl node, otherwise the transformation just pick one line.
    []´s
    Menezes

  • Importing several CSV files into Excel

    Hello Everyone,
    I managed to piece together this code which runs several powershell scripts that each output a CSV for every day of the week.
    Next, I located a function that takes a CSV file as input and exports that as a worksheet in an Excel document.
    My problem is, the last column in the Excel file should be the first column and I just cannot spot why this behavior is occuring.
    #First phase, output CSV files used later in the script.
    Monday.ps1
    Tuesday.ps1
    Wednesday.ps1
    Thursday.ps1
    Friday.ps1
    Saturday.ps1
    Sunday.ps1
    #Now the function to export the CSV from Phase 1 into an Excel Spreadsheet.
    function Export-Excel {
    [cmdletBinding()]
    Param([Parameter(ValueFromPipeline=$true)][string]$junk)
    begin{
    $header=$null
    $row=1
    process{
    if(!$header){
    $i=0
    $header=$_ | Get-Member -MemberType NoteProperty | select name
    $header | %{$Global:ws.cells.item(1,++$i)=$_.Name}
    $i=0
    ++$row
    foreach($field in $header){
    $Global:ws.cells.item($row,++$i)=$($_."$($field.Name)")
    $xl=New-Object -ComObject Excel.Application
    $wb=$xl.WorkBooks.add(1)
    $Global:ws=$wb.WorkSheets.item(1)
    $Global:ws.Name='Sunday'
    import-csv 'C:\Sunday.csv' | Export-Excel
    $Global:ws=$wb.WorkSheets.Add()
    $Global:ws.Name='Saturday'
    import-csv 'C:\Saturday.csv' | Export-Excel
    $Global:ws=$wb.WorkSheets.Add()
    $Global:ws.Name='Friday'
    import-csv 'C:\Friday.csv' | Export-Excel
    $Global:ws=$wb.WorkSheets.Add()
    $Global:ws.Name='Thursday'
    import-csv 'C:\Thursday.csv' | Export-Excel
    $Global:ws=$wb.WorkSheets.Add()
    $Global:ws.Name='Wednesday'
    import-csv 'C:\Wednesday.csv' | Export-Excel
    $Global:ws=$wb.WorkSheets.Add()
    $Global:ws.Name='Tuesday'
    import-csv 'C:\Tuesday.csv' | Export-Excel
    $Global:ws=$wb.WorkSheets.Add()
    $Global:ws.Name='Monday'
    import-csv 'C:\Monday.csv' | Export-Excel
    $xl.Visible=$true

    That is interesting considering this script I found on Hey Scripting Guy.
    http://blogs.technet.com/b/heyscriptingguy/archive/2010/09/09/copy-csv-columns-to-an-excel-spreadsheet-by-using-powershell.aspx
    I have run your version above and have no issues with order. 
    I still recommend using WorkBook.OpenText($csvfile)
    and
    $wb.Sheets($csvfile).Move($wb2.Sheet(1))
    This is much faster and takes much less code.
    ¯\_(ツ)_/¯
    Could you give a terse example?  I'm trying to put something together but am not having much success.
    $sheets = @(LS D:\Scripts\work | select FullName -ExpandProperty FullName)
    $Excel = New-Object -ComObject excel.application
    $Excel.visible = $false
    $file = $Excel.Workbooks.Open("C:\tmp\mytest.xlsx")
    #$wb2 = $file.Sheets
    for ($i=0; $i -lt $sheets.length; $i++)
    $workbook = $Excel.WorkBooks.OpenText($sheets[$i])
    $workbook.Sheets($sheets[$i]).Move($file.Sheet(1))
    $Excel.visible = $true

  • Importing a .csv file into numbers

    thanks in advance for any help you can provide.
    i am a spreadsheet newbie. i am attempting to open a .csv file in numbers. this file when opened on the internet does have each filed seperated by commas, not tabs. when i drag it into numbers, it opens each line in its own row, however it puts the entire information (lets say 5 commas worth) in one column.
    so what i am getting is everything in a numbered row but the program does not appear to be recognizing the commas as a reason to put the information in its own column.
    this is not a life threatening endeavor, i am just trying to organize my guitar magazine collection. i would like to find the song by doing a search of columns/rows and i do not think i can do it as is.
    thanks again...
    Message was edited by: pensncrows

    60wpm wrote:
    I've tried putting in: ¶ - then for MS Word I heard you could put in ^p and/or \n --- but they didn't work.
    !? -- So what do I put in the Replace Text Field box?
    To type a return into the Find/Replace dialogue, Pages uses option-return, Text Wrangler uses command-return (or type \r), haven't checked Text Edit.
    If you Show Invisibles (View menu in Pages, Edit menu > Text Options in Text Wrangler, text Edit doesn't appear to have the option of viewing the invisible characters), you can copy a return, and paste it into the box in pretty much any application that will display the invisible characters. Actually, you should be able to copy the return character even without being able to see it—select from just after the last visible character in a 'paragraph' to the very beginning of the next line, Copy—but it is nice to be able to see what you're doing.
    (I have Pages, MacJournal, Bean, & Text Wrangler and a few other word processing program)
    One note on Pages: Pages does not offer the option to Save as..Text. For that, you have to go File > Export... and choose Plain Text.
    To restate the problem (and I appreciate your help)
    I have a new mailing list with about 100 emails that are separated by commas. The program I'm using seems to require each email be on a separate line. So instead of:
    [email protected], [email protected]
    I want:
    [email protected],
    [email protected]
    So I just want to do a find and replace on "," and replace it with ", carriage return".
    It would be SO GREAT to finally overcome this hurdle.
    Any of the three options above should do the job.
    Regards,
    Barry

  • How do I import a CSV file into numbers so the columns show

    Thanks for the help.  I have a CSV file generated by the Google Keyword tool; when I open it in numbers all the values go into the same row.  I get the correct number of rows but only one column with five values in each one.  I read on here to check and see if the extension is correct and it is csv.  I've also dragged the file onto the number icon in the dock and get the same result.  Google gives you the option of exporting as a tsv file. Did that and I got the exact same result.  I've looked at the CSV file in textedit and it doesn't show any commas, but seems to have tabs.  But the tsv file doesn't open correctly either.  I'm at a loss. 

    If the file is created as TSV one, its name extension must be .txt.
    Numbers open such files flawlessly.
    Yvan KOENIG (VALLAURIS, France) mardi 4 octobre 2011 11:53:27
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

Maybe you are looking for

  • Pass Parameters from Webi to Xcelsius Dashboard in BO 4.0

    Hi All, Please explain me how to pass para maters from webi report to Xcelsius Dashboard. Your Help is Highly appreciated. Thanks Arvind Shukla

  • How can I use a headset properly with Skype?

    Hello, Just purchased a Skype approved headset. Plantronics Audio 625 USB. Problem: The system does recognize my USB device -- which is good. I select the devise in my Sound applications -- both input and output.' Called support and they said it shou

  • Default posting date as 'Today Date' while executing CAT5 to transfer hours

    Hi Experts, I want to schedule a job in background to execute CAT5 automatically but system should consider posting date as 'as on date'/ 'Current date' for transferring the all hours into project otherwise it throws an error 'Posting period is not o

  • Help needed for Time Calc Java Script

    Hi, I am trying to create a timesheet in PDF and have hit a speed bump. Is there anyone there who could provide me with a script that calculated the difference between 2 times? (Field2 time)-(Feild 1 Time) = Duration.I am desperate and have tried eve

  • Pre adjustments

    I was using Raw Shooter pro essentials prior to lightroom coming out and I know that lightroom is based on the technology from raw shooter. One issue that bothers me to no end is the adjustments that are made when the image is loading. When I browse