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
Similar Messages
-
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. -
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=comImport-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 -
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!
DougieHere 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 ApplebyHello 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, -
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,
AndreiAndrei,
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 RichterHi
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=$trueThat 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: pensncrows60wpm 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 -
How can I use automator to import a .csv file into a an excel file
I would still like all the import settings that I get if I am using excel to do the process, i.e. going in with the text format instead of the general format. That way my dates don't change
You'll need to use Applescript in Automator.
Note: File extension cannot be CSV (Excel will assume that the file is comma separated), so add an action to copy or rename with extension TXT.
(You can rename back at end of Workflow is needed)
The Applescript Action is:
on run {input, parameters}
repeat with f in input
tell application "Microsoft Excel"
open text file filename (f as string) data type delimited field info {{1, text format}} other char "|" with use other
end tell
end repeat
eturn input
end run
NOTE: This is formating the 1st col to text
If you need to format the second, then you need to:
open text file filename (f as string) data type delimited field info {{1, general format}, {2, text format}} other char "|" with use other
(You'll need to list the 1st col, 2nd col, etc until you get to the col to format as text). Formats are (from the Applescript Excel Library):
[field info list] : A list contain parse information for the individual columns of data.
Formats are general format, text format, MDY format, DMY format, YMD format, MYD format, DYM format, YDM format, skip column.
Or you can skip using Automator and just use an Applescript App (this is a droplet, just drop the files on the icon, or click to choose files):
on run
set fs to choose file with prompt "Select one or more files to open:" default location alias (the path to desktop folder as text) with multiple selections allowed
proceed(fs)
end run
on open fs
proceed(fs)
end open
on proceed(fs)
repeat with f in fs
tell application "Microsoft Excel"
open text file filename (f as string) data type delimited field info {{1, text format}} other char "|" with use other
end tell
end repeat
end proceed
Maybe you are looking for
-
File name display in delete dialog box
In the course of working with photos in Lightroom, I've noticed a small user interface issue that can lead to confusion while deleting photos. In Explorer, a highlighted file is directly tied to any action selected via right click. For example, if I
-
Adapter jar file in classpath ?
Hi All, Is it still a requirement to put the adapter jar file in classpath for the adapter developed using ADK in WLI2.1 and WLS6.1SP1 ? coz if I dont put it in the classpath, then its not able to find the message
-
HT1349 Need serial number and it is not showing up where it should be...
my iphone was lost (or stolen) and i need the serial number and IMEI number in order to report it to insurance company. However, when i go into itunes (10) and click on devices (as instructed), my iphone shows up in the list of devices...but when i
-
Matl master not in sync with Change master
Hi Folks, I found the matl master is not in sync with change master, we use PDM thru PI to manage matl master and in a matl the MARA-MSTAE was updated thru change number but if i look into the matl master thru CC03 it looks diff then the value in act
-
HP iPAQ rw6828 and smtp authentication
Hi there I'm trying to get an ipaq rw6828 to send mail through my xserve's smtp server - but I can't get it working. I have tested the settings through apple mail and it's working fine - but with the same settings in my ipaq it won't send mail. It ch