Double quotes missing in CSV file but exist in text file from AL11
Hi I am sending a file to AL11 with one of the fields having double quotes Like "field value" . When i download into Text file i am seeing the quotes but not when download as CSV file from Al11. Any SAP notes for this . If i add multiple quotes ' """" ' to have in csv I am seeing more quotes in text file which is not accepted . Please reply if anyone worked on this before . Thanks Kamesh
The CSV file also has the quotes (check in notepad), but when opened in MS Excel, Excel has a feature to ignore double quotes and consider the comma inside the quotes as part of field, not as a field separator.
Similar Messages
-
I have 14GB for Movie File But I have Movie File only 1GB. I don't know where the other ?
Type .mov into Spotlight search to see if any files show, other than the one you know about.
Also you can try other types like .mp4
Al -
How to read text file by clicking on text file ?
Hello.. friends
I have made a java editor. I want to pass file name to a function in application by clicking on particular text file.
I assoiciated *.text file type with my application. when I click on text file application is run but I file is not read by my java application.
For example : in windows System all text are oppened in notepad when we click on any text file.
How to do this thing. please suggest me and if possible show me a sample code.
ThanksIf you are doing this in a web application you can set the content type appropriately and the file will open.
If you are doing this standalone you can use the Java RunTime class and execute something like this as the command "notepad.exe c:\\myfile.txt" which should open it up on a Windows operating system. -
How to check File size of a Text file.
How to check File size of a Text file.
please explain me.
I am new in LabVIEW. and dont have much idea on this...;
Prashant Soni
LabVIEW Engineer
Solved!
Go to Solution.Hi Prashant,
and here's what you get when using the LV help...
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
Removing Double Quotes while uploading CSV file in APEX
Whenever I upload a CSV file using data load option in APEX there are values which get uploaded in Double Quotes.
e.g Oracle Polska Sp. z o.o -----------value like this gets uploaded with Double Quotes."Oracle Polska Sp. z o.o"
How can I overcome this problem? I am using Apex 4.2.Did you specify the "Optionally Enclosed By" option with the double quote sign?
-
Using get -childitem to scan different drives but append one text file.
Folks,
I need some help, I wrote the below to scan for certain files types on client machines but I cant get the script to scan anything other than the C$. Apologies I am kind of new to scripting and PS. The script is kicked off using a batch file that makes the
CR directory on the clients. I think the problem stems from the $disk variable or the way I have used foreach or the loop - any help would be appreciated
Set-Location c:\
$s = new-object -comObject SAPI.SPVoice
$s.speak("Scan in progress")
write-host "Scanning for files"
$Extension = @("*.zip","*.rar","*.ppt","*.pdf")
$Path = "$env:userprofile\Desktop"
$disks = "c$","D$"
foreach ($disks in $disks)
{get-childitem -force -include $Extension -recurs -EA SilentlyContinue >$path\files.txt}
$s.speak("Scan completed")
Write-Host "Scan complete, files.txt created on your desktop - press any key to exit..."
$x = $Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyUp")
Remove-Item c:\cr -recurse -EA SilentlyContinue
exitThen there is "$x = $Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyUp")" , What are you trying to do?
It looks like that is a pause after the code has completed to give the user time to read the message prior to exiting.
@V Sharma - As gaff-jakobs has mentioned, there are some parts of your code that need looked at. Please take a look at what he has advised and make the necessary changes. If you want to append data (doing a > does not append), I would look at using Out-File
-Append -FilePath <filename> to accomplish this.
Usually, outputting to a text file limits what you can do with the output once it goes to a text file. I would look at using something such as Export-Csv -Append -Path instead (assuming you are running PowerShell V3). But if saving to a text file is part
of your requirement, then just be sure to use the first method I mentioned.
Boe Prox
Blog |
Twitter
PoshWSUS |
PoshPAIG | PoshChat |
PoshEventUI
PowerShell Deep Dives Book -
'Blu Ray Error Code 6: File Alreay Exists The ES File is Short' Message
I have successfully built my project several times until I edited three files outside of Encore.
These clips are now slightly shorter in length and I have re-imported them back into Encore and re-done the timelines they were in, the chapters and menus. I have saved the project under a different name, but when i come to build the project (Blu Ray disc or ISO) I keep getting the error 'Blu Ray Error Code 6: File Alreay Exists. The ES File is Short' and it aborts the build process.
Using CS5
Any ideas?
ThanksSometimes session files get corrupted when burn a project again and again or changing the assets.
If you remove session files from you project then while burning Encore will create new session files and this problem may resolve.
Remove the session files from AuthorScriptHDMVSessions folder
Session file location -
/<Project path>/AuthorScriptSessions
Remove this folder and try to burn the project
Thanks,
Pankaj Gauba -
Hard drive failed - have music files but not library.itl file
So here's the situation. The hard drive on my husband's laptop recently failed. It is now fixed, but his data is lost. Luckily, we had moved his music files to an external drive. It appears that we only moved the music files and not the library.itl file. We have a backup from November of the library.itl file.
1. His ipod is fine. He wants to be able to pull the playlist info from his ipod to restore the info on the library.itl file. Is that possible?
2. If that is not possible, what are the ramifications of restoring the library.itl file from November? Will he "lose" the music that was added since then?1. Not with itunes, sadly. It will try to wipe the ipod since it is a 'new 'library.
2. Yes, he'll lose everything added since November. -
Write into existing file with "write to text file"
Hi all,
I have a text file that contains several lines of data (text). Now I would like to replace the first three lines with text coming from a string array.
My approach is shown in WriteToFile.vi that is attached.
When I am executing this vi (with an empty file), everything seems to be working fine in the first place.
The file will contain the following text:
oneoneone
twotwotwo
threethreethree
Now, when the third element in the array is shortened (lets say to "threethr") before execution, the file will contain the following text:
(the file was not emptied before execution)
oneoneone
twotwotwo
threethr
three
How can I avoid the last line being written? I have made many tests and I could not find a solution.
One more example:
Lets say we have an existing file, inside this file is:
oneoneone
twotwotwo
three
fourfourfour
Now I would like to overwrite line three with "threethreethree". Therefore I execute my vi as shown in the attachment.
What I get as a result is:
oneoneone
twotwotwo
threethreethree
ur
So, the text in line four, which should not be touched, is "ur" instead of "fourfourfour".
Any idea to solve this problem?
What I basically need is replacing a line of a text file in a conveinient way.
Thanks,
Holger
LV 8.5.1
Attachments:
WriteToFile1.jpg 17 KB
WriteToFile.vi 11 KBThe remaining fourth line is there because the third line has a <nl> at the end. You have not emptied the file so the rest of the file will be kept. This is because your line is shorter.
In the scond example the third line is longer and it will overwrite the beginning of the fourth line.
Files aren't organized in lines they are oganized in bytes. And what you write are bytes to the file even with text files.
Replacing a single line in a file is done by reading the file line by line. All unchanged lines are written to a temporary file and the line with the new text will be written instead of the original line to the temporary file. When the writting is done rename the original file, then rename the new file into the original file and then delete the renamed original file.
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions -
My cs3 cant open .cr2 file but can open .nef file
Hello there..can anyone here help me to solve my problem?i'm using photoshop cs3.i've just install the camera raw4.6 to it and still cant open my .cr2 file.but can open file from nikon (.nef)..why?
You might find some info helpful in answering your question, and a possible workaround using the free DNG converter, in this thread:
http://forums.adobe.com/message/3000238
-Noel -
Hello Guyz.
i am working on Macromedia Flash 8 and i just want to call a external SWF when i press the button within another SWF file.......but the second SWF file play Externely............can any one knows the code.... AS2try this
http://www.actionscript.org/forums/showthread.php3?s=&threadid=28123 -
InCopy Users can't open ICML files, but can open INCX files
We've just switched over to CS4 -- both for designers and editors. If the editors/writers create a file and save it as an ICML, I can open and edit it no problem. However, when I export something in ICML, they cannot access it. The writers/editors are all on PCs (running XP Professional 5.1 - service pack 3). I am also on the same type of system, but this is also happening to another designer here who is on an iMac (probably OSX).
Does anyone know if this is a known problem with an easy fix, such as a patch, plug-in, upgrade, etc.? Our tech support guys are not very good with Adobe products, especially InCopy.
I've tried to search for a previous thread about this on this forum, with no luck (maybe I'm not using the right terms), and also on Google.
At the very least, if anyone knows a way to switch the export file type default so it just does CS3 Exchange (incx) instead of the ICML files, that would also really help.
Thanks,
CherylThey shouldn't be opening the ICML files. They should be opening an InDesign file or an InCopy assignment file.
That said, what do you mean when you say they can't access it. That's not nearly enough to go on.
What happens when they try? Could it be a permissions issue on the server?
BTW, CS4 is now at 6.0.4 for both InDesign and InCopy.
Bob -
Read Unicode text file convert to ANSI text file
I am new to Java. I am trying to read from, ReadUnicodeEncodedPlainTextDocument.txt, a plain text file encoded
in Unicode, then select four particular lines, and then write those plain text lines to, WriteANSIencodedPlainTextSelectedFields.txt,
another file encoded in ANSI.
Using my code ConvertEncodedText.java:
import java.io.*;
import java.util.Scanner;
public class ConvertEncodedText
public static void main(String[] args) throws Exception
File f = new File("ReadUnicodeEncodedPlainTextDocument.txt");
Scanner scan = new Scanner(f);
String peek1, peek2, peek3, peek4;
boolean pk1 = false, pk2 = false, pk3 = false;
int count = 0;
while(scan.hasNext()) // begin search
peek1 = scan.nextLine();
if (peek1.startsWith("From"))
pk1 = true;
peek2 = scan.nextLine();
if(pk1 && peek2.startsWith("Date"))
pk2 =true;
peek3 = scan.nextLine();
if(pk1 && pk2 && peek3.startsWith("To"))
pk3 = true;
peek4 = scan.nextLine();
if(pk1 && pk2 && pk3 && peek4.startsWith("Subject"))
System.out.println("\n" + peek1 + "\n" + peek2 + "\n" + peek3 + "\n" + peek4);
count++;
pk1 = false;
pk2 = false;
pk3 = false;
}//if pk1 && pk2 && pk3 && peek4.startsWith("Subject")), print, begin new search
else
pk1 = false;
pk2 = false;
pk3 = false;
}//else begin new search
}//if(pk1 && pk2 && peek3.startsWith("To"))
else
pk1 = false;
pk2 = false;
pk3 = false;
}//else begin new search
}//if(pk1 && peek2.startsWith("Date"))
else
pk1 = false;
pk2 = false;
pk3 = false;
}//else begin new search
}//if (peek1.startsWith("From"))
}//while hasNext
System.out.println("\ncount = " + count);
}As shown below, I would like to write to the following text file encoded in ANSI, WriteANSIencodedPlainTextSelectedFields.txt:
From: "Mark E Smith" <[email protected]>
Date: April 9, 2007 11:28:19 AM PST
To: <[email protected]>
Subject: FW: RFI Research Topic Up-date
From: "Mark E Smith" <[email protected]>
Date: May 26, 2007 11:14:12 AM PST
To: <[email protected]>
Subject: Batting Practice Sportsphere
From: "Mark E Smith" <[email protected]>
Date: May 30, 2007 11:53:45 PM PST
To: <[email protected]>
Subject: 3p meeting
From: "Mark E Smith" <[email protected]>
Date: June 20, 2007 4:09:10 PM PST
To: <[email protected]>
Subject: Question
count = 4
In order to produce the above text file,
I would like to read the following text file encoded in Unicode, ReadUnicodeEncodedPlainTextDocument.txt:
From: "Mark E Smith" <[email protected]>
Date: April 9, 2007 11:28:19 AM PST
To: <[email protected]>
Subject: FW: RFI Research Topic Up-date
Hi, Dr. Ulrich.? Are there any authors and titles of JME that you could recommend for my reading??
Thanks.? Mark
From: Joe Greene [mailto:[email protected]]
Sent: Sat 4/7/2007 4:10 PM
To: Mark E Smith
Subject: RE: RFI Research Topic Up-date
Hi Mark,
Thanks for the update. I have met Dr. Ulrich on several occasions ? he is a great guy!
Dr. Hammer and I also have the same advisor from graduate school. He did his Masters with my PhD advisor at Poly-Tech. We have also met many times in the past. I think you will be in good hands down there.
It seems clear that you need to start learning JME and can perhaps forget about Windows Mobile. JME represents a smaller footprint for Java that contains support for various APIs for mobile functionality. I do not own any JME books, but a search on Amazon.com turned up what looks like several good ones.
Best wishes
Joe
----------------------------------------------------
Joe Greene, Ph.D.
DCSIT
it.sdu.com
[email protected]
http://www.greene.org
From: Mark E Smith [mailto:[email protected]] 
Sent: Saturday, April 07, 2007 9:30 AM
To: [email protected]
Subject: RFI Research Topic Up-date
Welcome to the conversation, Dr.Greene.? This is where we are so far.? I would appreciate your thoughts.
Thanks.? Mark
From: "Mark E Smith" <[email protected]>
Date: May 26, 2007 11:14:12 AM PST
To: <>
Subject: Batting Practice Sportsphere
Saturday, May 26, 2007
Hi, Dr. Ulrich.? This read-sensitive run-recognition pitching distribution is perhaps a commercial problem in a less sophisticated framework.? Could we build a simple commercial application and then customize the solution for the Ballpark functions and framework?? Thanks.? Mark
From: "Mark E Smith" <[email protected]>
Date: May 30, 2007 11:53:45 PM PST
To: <[email protected]>
Subject: 3p meeting
Hi, Dr. Ulrich.? Attached are a few notes from my research of the project docs that you sent me.? I am looking forward to our 3p meeting.??Thanks.? Mark?
From: "Mark E Smith" <[email protected]>
Date: June 20, 2007 4:09:10 PM PST
To: <[email protected]>
Subject: Question
Hi, Dr. Ulrich.? Pine-tar.? What do you think?? Would you please show me how to pitch sliders and splitters into this so I can study the features in detail?? Thanks.? Mark
P.S.
As you can see, my code reads the particular sequence of 4 selected fields, From, Date, To, and Subject,
out of an email that contains that specific sequence of 4 fields then I would like to place them in a text file
called WriteANSIencodedPlainTextSelectedFields.txt, and then print the number of emails in the document.
Instead of the desired output I would like to write to the file WriteANSIencodedPlainTextSelectedFields.txt; I am only getting this:
Count = 0
What is my problem???
Thanks,
MikeWhat is my problem???Obviously one of your conditions not being true...
What does your question have to do with the thread's subject, btw? -
Receiver File Adapter - Tab delimited Text file
I am using receiver file adapter to convert message created by ABAP PROXY to convert tab delimited text file format.
XML message is in following format.
- <DT_R3_ROLES_OUTBOUND_REC>
<LIST_CATEGORY>SAP_HR</LIST_CATEGORY>
<USRID>MRUDULAP</USRID>
<EMAIL>[email protected]</EMAIL>
<NAME>MRUDULA PATEL</NAME>
</DT_R3_ROLES_OUTBOUND_REC>
- <DT_R3_ROLES_OUTBOUND_REC>
<LIST_CATEGORY>SAP_HR</LIST_CATEGORY>
<USRID>HCHD</USRID>
<EMAIL>[email protected]</EMAIL>
<NAME>H CHD</NAME>
</DT_R3_ROLES_OUTBOUND_REC>
I have used file content conversion in the adapter configuration.
Recordset structure = DT_LISTSERV_INBOUND_REC
DT_LISTSERV_INBOUND_REC.addHeaderLine = 0
DT_LISTSERV_INBOUND_REC.fieldSeparator = ','
How to use Tab as the delimiter in the fieldSeparator field?
Now the output in the file is as follows :
[email protected]'MRUDULA PATEL
[email protected]'H CHD
What I need to do to make the file as the tab delimited file?
Thanks in advance!
Mrudula PatelHi Mruddula,
Use fieldSeparator: '0x09' for horizontal tab
<b>DT_LISTSERV_INBOUND_REC.fieldSeparator: '0x09'</b>
Naveen -
How do I save a Number file to an delimited text file
I was trying to import all my conatct that I created from Number to iList, I kept on failing, after I did some reaserch, and found out I need to save to an delimited text file. Can anybody help me? Or if anyone can direct me from import an Number file into iList, it would be wonderful, please help.
Thank againYou have a couple of options to convert the data to a tab-delimited file. The easist may be to copy the table from Numbers & paste it into a Pages word processing document. From there you can export it as a plain text file which you can then import.
Jerry,
IList Data is a database app that may be a solution for those moving from AppleWorks. It's more than Bento & less than FileMaker.
Maybe you are looking for
-
The emails from my hotmail account aren't syncing with both my ipad and iPhone. I have tried turning it on and off, deleting and reloading the account. The iPhone briefly worked on 3G but is now not working with that. Help please!
-
ok people, I understand many have issues with the wi-fi connection. In my case, measured with speedtest.net, compared side by side laptop and ipad. laptop ~ 1.5mbs download (I know, crappy hours + comcast) ipad ~ 0.5 mbs download so, when an explanat
-
Oracle financial application and oracle 8i problem
Hi Every one, I install the oracle financial appliation and oracle 8i, it give following error messages " TNSLSNR.EXE unable to locate dll the dynamic link library orancrypt8.dll could not find path G:\oracle\bin............ " oracle financial applic
-
How to use AME to define Compensation Workbench Manager Hierarchy?
Hi, I have set up the CWB to allow HR managers to allocate all the compensation using AME Hierarchy in R12. However, after running the CWB Participant Process using the manager login, there is no employee attached to this manager. For e.g. a company
-
OSB RESTful service is not reachable
Hi Team, I defined an OSB REST service as mentioned in https://blogs.oracle.com/jeffdavies/entry/restful_services_with_oracle_s_1 When I test it from SOAPui, it is not reachable. Any pointers please. Thanks, AG