Issue in conversion of output file from alv to csv file using GUI_DOWNLOAD
hi,
I am using GUI_DOWNLOAD to convert the internal table that am getting as the output of an alv into a csv(comma separated file) file.I am using the following code but its not generating a csv file instead it is generating a normal space delimited file.
The code is as follows:
data : lv_fname type string.
lv_fname = 'C:\Users\pratyusha_tripathi\Desktop\status8.csv'. " Provide the file path & file name with CSV extention
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = lv_fname " File name including path, give CSV as extention of the file
FILETYPE = 'DAT'
WRITE_FIELD_SEPARATOR = '#' " Provide comma as separator
tables
data_tab = ITAB " Pass the Output internal table
FIELDNAMES =
EXCEPTIONS
OTHERS = 22
IF sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Kindly let me know what changes can be made to make my code work.Also can GUI_download be used for batch processing and storing the output in application server?
Thanks ,
Pratyusha
Hi,
the short text description for WRITE_FIELD_SEPARATOR is "Separate Columns by Tabs in Case of ASCII Download", so why do you expect a comma?
Try SAP_CONVERT_TO_CSV_FORMAT and then download.
And no, GUI_DOWNLOAD is only for download via SAP GUI to a users computer.
Best regards,
Oliver
Similar Messages
-
How do I get files from multiple DVDs that are using thesame file names?
How do I get files from multiple DVDs that are using thesame file names? Message says "file already exists in catalog"
Message was edited by: marcr56marcr56
I am viewing your question from different perspective, that is, the issue that you face when you are ripping VOBs from a second DVD-VIDEO on DVD disc using Premiere Elements,
It is best to give the Premiere Elements version and computer operating system that it is running on. In the absence of that, I will generalize.
Assuming that you are using
Premiere Elements 12
Add Media
"DVD Camera or Computer Drive"
Video Importer
Typically the Video Importer Save In: is C:\Users\Owner\Videos
Each of your DVD discs is going to have the same names for the ripped VOBs (VTS_01_1.VOB and so on depending on the duration of the movie). Consequently, after the ripping of the first DVD's VOBs and their save to Videos, you will end up with that "files already existing..." block for the ripping of the VOBs from the second DVD.
The answer is, for each DVD disc VOB ripping, to plan ahead and create and set for different folders in Videos in the Save In field of the Video Importer.
Please review and then let us know if that works for you. Please do not hesitate to ask if you need clarification on anything that I have written.
Thank you.
ATR. -
Revision: 4267
Author: [email protected]
Date: 2008-12-09 10:32:36 -0800 (Tue, 09 Dec 2008)
Log Message:
Change path to Assets.swf in eclipse .project file from full hardcoded path to use the FLEX_SDK variable as the base path. There is still an issue with Assets.swf not getting referenced correctly. If you import the framework project from Blazeds/trunk into Eclipse and get an error related to Assets.swf or that says "Unable to export SWC oem" for the time being try right clicking on the framwork project in Eclipse and selecting properties. Then in the properties panel, select Flex Library Build Path and then the Assets tab. On the Assets tab, check the check box next to Assets.swf and click Ok. This usually fixes the reference for me.
Modified Paths:
blazeds/trunk/development/eclipse/projects/flex/3.0/framework/.projectRevision: 4267
Author: [email protected]
Date: 2008-12-09 10:32:36 -0800 (Tue, 09 Dec 2008)
Log Message:
Change path to Assets.swf in eclipse .project file from full hardcoded path to use the FLEX_SDK variable as the base path. There is still an issue with Assets.swf not getting referenced correctly. If you import the framework project from Blazeds/trunk into Eclipse and get an error related to Assets.swf or that says "Unable to export SWC oem" for the time being try right clicking on the framwork project in Eclipse and selecting properties. Then in the properties panel, select Flex Library Build Path and then the Assets tab. On the Assets tab, check the check box next to Assets.swf and click Ok. This usually fixes the reference for me.
Modified Paths:
blazeds/trunk/development/eclipse/projects/flex/3.0/framework/.project -
Do you know if it's possible to generate Word 2003 files from
RoboHelp if we're using Office 2007 and RoboHelp 2007? We are
thinking of upgrading, but have customers that would still require
Word 2003 formats because they won't have 2007 installed.
Thanks!Hi NewtoRobohelp
Unfortunately I don't have Office 2007 in front of me to test
with. But I'm thinking that as long as Office 2007 still produces
the same formats as 2003, you could do it this way.
From RoboHelp 7 and using Office 2007, generate Printed
ouptut. Open said printed output in Office 2007 and perform a Save
As. Save the document as a RTF (Rich Text Format) document.
RTF is more universal. So I'm thinking this may be a possible
way around it. There is also the possibility that Word 2007 offers
up an ability when saving a file to save in an older format.
Cheers... Rick -
Can I restore photo files from Time Machine without the use of an external drive? While I was transferring photos back and forth from a thumb drive something went haywire and my IPhoto was wiped clean! When I click on Time Machine I see all the dated pages (without an external storage drive connected), go back to a date where all my photo files are there, click "restore", and I get the message: "The Finder can't complete the operation because some data in file cant be read or written (error code - 36)"
Thanks so much Terence. I tried some of the fixes from that page, but then discovered the suggestion to compress the Time Machine Back up of the original library and transfer it as a zip back to my computer as detailed here:
http://pondini.org/TM/E9.html
That worked like a charm. I really appreciate it. -
I am trying to transfer music files from one PC to another using homeshare and although I can view the music as a shared folder I cannot initiate the "import" process. I have iTunes 11.0.1.12 on both computers so the help screenshots do not help as such
Then stop trying to use HomeShare and use one of the other options listed in the document from which your question was posted.
-
BULK INSERT from a text (.csv) file - read only specific columns.
I am using Microsoft SQL 2005, I need to do a BULK INSERT from a .csv I just downloaded from paypal. I can't edit some of the columns that are given in the report. I am trying to load specific columns from the file.
bulk insert Orders
FROM 'C:\Users\*******\Desktop\DownloadURL123.csv'
WITH
FIELDTERMINATOR = ',',
FIRSTROW = 2,
ROWTERMINATOR = '\n'
So where would I state what column names (from row #1 on the .csv file) would be used into what specific column in the table.
I saw this on one of the sites which seemed to guide me towards the answer, but I failed.. here you go, it might help you:
FORMATFILE [ = 'format_file_path' ]
Specifies the full path of a format file. A format file describes the data file that contains stored responses created using the bcp utility on the same table or view. The format file should be used in cases in which:
The data file contains greater or fewer columns than the table or view.
The columns are in a different order.
The column delimiters vary.
There are other changes in the data format. Format files are usually created by using the bcp utility and modified with a text editor as needed. For more information, see bcp Utility.Date, Time, Time Zone, Name, Type, Status, Currency, Gross, Fee, Net, From Email Address, To Email Address, Transaction ID, Item Title, Item ID, Buyer ID, Item URL, Closing Date, Reference Txn ID, Receipt ID,
"04/22/07", "12:00:21", "PDT", "Test", "Payment Received", "Cleared", "USD", "321", "2.32", "3213', "[email protected]", "[email protected]", "", "testing", "392302", "jdal32", "http://ddd.com", "04/22/03", "", "",
"04/22/07", "12:00:21", "PDT", "Test", "Payment Received", "Cleared", "USD", "321", "2.32", "3213', "[email protected]", "[email protected]", "", "testing", "392932930302", "jejsl32", "http://ddd.com", "04/22/03", "", "",
Do you need more than 2 rows? I did not include all the columns from the actual csv file but most of it, I am planning on taking to the first table these specfic columns: date, to email address, transaction ID, item title, item ID, buyer ID, item URL.
The other table, I don't have any values from here because I did not list them, but if you do this for me I could probably figure the other table out.
Thank you very much. -
I am not able to download my files from iCloud to my iPad using iTunes Match, my internet connection is alive as I tested with Safari, I have enabled iTunes Match on and off to be usre is active..but still cannot download....my music
I have the same problem on my Windows 7 computer. In the right-click menu for a song one option is DELETE. However when I click that option the next window is to HIDE instead of DELETE. Apple, please help us with this.
-
Download data from db to CSV file and need to handle chinese character
Hi , all , I need to write to alow to export data from db to csv file, now the problem is some column is chinese character, in both db and web page it can dispaly the chinese, but in Csv I can't display chinese character, what should I do?
Thnak youHJava wrote:
I already have res.setCharacterEncoding("UTF-8"); in my servlet, and db
req.setCharacterEncoding("UTF-8");
Are you sure that you have set it on the response? You do not need to set it on the request. Have you read the article? Do you understand the world of characters? It look like you still don't understand it.
by the way, since csv is text file , how can I bold my University number??? in sb = new StringBuffer();
sb.append("University Number");Not possible with CSV since it is text/plain. Use real XLS if you want to add formatting to cells. -
How to transfer files from mac to ipad without using itunes
how to transfer files from mac to ipad without using itunes ???
as i want to use my ipad for official use as well...please suggest..well to be 100% technical, no you didn't but that aside, it good to know there are ways for people to transfer music into the default apps without iTunes, if they have a need.
I tend to use 3rd party apps for documents, like your mentioned iExplorer etc, which are handy.
I see from a search the two "apps" you mentioned are not iOS apps, which I had assumed, SyncPod and FreeSync are apps for your computer, that would explain their access to the default Music/Video apps.
I had wondered how Apple had allowed iOS apps in the store that could get around the sandboxing in iOS of apps.
Message was edited by: CGW3 -
How to embed and launch ipa file from another ipa package created using Air for iOS
Hi Guys,
Anybody out there knowing how to embed and launch ipa file from another ipa package created using Air for iOS ?
I am having 1 ipa file created using Xcode, Now i need to include that file in my ipa Package which is created using Flash CS 5.5 and Air for iOS. Also i need to know how to open my 1st ipa file from AS3 ?
Thanks,Hi Sir,
Thanks for your reply.
But in that case user need to download 2 applications right. I need user to download my parent application created using Flash and that package contain one more ipa created using Xcode, so from my parent app only user should able to open my 2nd app. Is there any way to do that?
Ps: I am not talking about in-app but 2 individual apps inside one package. -
How to read files from MIT-BIH arrhythmia database using labview
hello friends,
How can i read the files from MIT-BIH arrhythmia database using labview 8.6. These file extensions are in different format ie is .atr, .dat and .hea
The link for the following database is below, any example vi for reading this data in labview would be very useful.
http://www.physionet.org/physiobank/database/mitdb/
Message Edited by infra444 on 01-27-2009 07:01 AMYou will find some help here.
http://www.physionet.org/physiotools/matlab/#wfdb
Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far) -
Can I use Visual Basic to covert form user data from multiple .pdf files to a single .csv file? If so, how?
You can automate Acrobat using IAC (InterApplication Communications), as documented in the Acrobat SDK. Your program could loop through a collection of PDFs, load them in Acrobat, extract the form data from each, and generate a CSV file that contains the data.
Acrobat can also do this with its "Merge Data Files into Spreadsheet" function, but this is a manual process. -
Read a text file from DB directly (don't use PLSQL).
how can I Read a text file from DB directly (don’t use PLSQL). ?
If there is a known structure, you could use External Table access and query that "file" as any table.
Nicolas. -
How to import data from excel or csv files to Oracle table
hello everybody,
I am new here and new in Oracle. I would like to know the steps how to import data from excel or csv files to Oracle table.
Let say I already have table inside the Oracle. Then my user give me the sets of data inside the Excel Worksheet.
So, how can I import the excel data into Oracle table.
Thank you in advance.
cheers,
shimaEven easier. Download JDeveloper 11G from this site.
Set up the database connection, right click on the table, select Import->Excel and specify your file to load it. On the import pop-up, you must view and update each tab indicating Columns, Data Types, and DML.
Columns -- move the selected columns that you want to load to the box on the right
Data Types -- select column name from second column to which the data for each column of the import file should load
DML -- click this tab to generate the INSERT SQL
Once done click 'Insert'
Maybe you are looking for
-
Report generation toolkit: Get all excel worksheets
Hej everybody, how can I get a list (name and number) of all worksheets in an Excelfile using the report generation toolkit and Labview 8.2? Thanks for answers, Christoph
-
Problem with P45 Platinum during POST
Good day! I have MSI P45 Platinum mainboard and from to time to time it freezes during POST with AMI bios POST code - 423C. This happens right after the message that "4096MB OK" and before the detection of SATA/IDE drives. When this happens, the on
-
Trying to Upgrade... Trying to Change my Credit Card Information
Help... I'm trying to upgrade my storage. I no longer have the bank account that's on file. It's not allowing me to change the credit card info. Any ideas? Thanks!
-
Where is the option where you can change graphics cards?
I got a new Macbook pro yesterday for $1,499. Well I wanted to switch the graphics card so I went into System Preferences>Energy Saver. The thing is, I thought it was in the Energy Saver option, but there is nothing about the Graphics cards. How can
-
Viewing frames with internet explorer in windows
visit this site and let me know what you think...sometimes the frames open up in a completely new window...esp in windows environment. Thanks!