Trransfering file in specified format
I'm using WebUtil_File_Transfer.URL_To_Client to transfer a pdf file on the client machine. But I'm not getting exactly what I want. Want I be able to transfer the pdf file in another format, like csv, txt... Would anyone have an idea on how to achieve that?
Thanks
Hello,
What you want is not a transfert method but the ability to open a document in a format then save it in another format. Nothing that can be done by a single Forms or Webutil method.
As far as I know, you need a file converter, that has nothing to do with the Forms product.
Francois
Similar Messages
-
Export file in specified format for printing labels etc (BOnewbee question)
Hello to all,
has anyone experiences with generating a export file in special text-format to a directory???.
Is ist possible to generate this file after some action in BO?? (Printing delivery form and after that generate file for printing barcodelabel in special application???)
Sorry, but i dont have any programming experiences in BO - only in SAP R/3 with ABAP.
Thanks in advance for your replies!There are a number of ways to do this. You could use the SDK to trap an event and then automate your barcode printing from .net. You could also use middleware (iBolt, K2, biztalk, etc) You might also write a SQL DTS job with an associated trigger to save out a text file.
I guess the answer to your question depends on how big your company is, how spread out your IT resources are and what technical resources you have to dedicate to the project. -
How to read multiple files of a specified format from a selected folder?
i want to read multiple files of specified format from a selected folder, even if the selected folder contains multiple sub-folders, is it possible, if so please provide me a sample.
try this:
foreach (string dirPath in Directory.GetDirectories(WriteYourPathHere, "*",SearchOption.AllDirectories))
string[] files = System.IO.Directory.GetFiles(dirPath, "*.txt");
//loop over files array and do what you want with .txt files picked up during the loop
OR in one line also:
foreach (string file in Directory.GetFiles(WriteYourPathHere,
"*.txt", SearchOption.AllDirectories))
Fouad Roumieh -
User specified formatted Excel File
Hello all,
this forum has been extremely helpful to me earlier...i'm hoping for
the same this time around.
here is my query:
I need to write information to an Excel file in a formatted fashion,
as usual i'm using open book, open sheet, set value with range... i
would like to format the data that i read from the PLC in to the EXCEL
file in a specified manner is there a way to do this...
date on the first row,
columns seperated by colons ":" and then column names and the
respective data below them...
thanks,
cheers,
-UTry using the format into string function in the string subpalette. This will allow you to enter all of your inputs and build a string to write to file. You can use string constant to create the ":" and you can use a variety of tabs, end of lines, etc. to build the string the way you want. If you have LV 7 you can use the Build Text express vi. This will allow you to format easier with a nice property page. The drawback with using the build text is a limit of 8 inputs. The format into string will allow more than 8. Hope this helps.
BJD1613
Lead Test Tools Development Engineer
Philips Respironics
Certified LV Architect / Instructor -
Need help in writing data to a flat file in .csv format
Hi All,
could you please show with a sample example to write data in .csv format using UTL_file.
The result of the refcursor i want to write to a file in .csv format.
How can i achieve this.
ThxHi,
There are two ways to acheive this.
First and which I prefer is creating a SQL script which will generate csv file at the specified location in CSV format. And then this SQL script can be called from your cron job similar to how you call stored procedure. Following is pseudo code that can be used -
set linesize 500
set echo off
set feedback off
set prompt off
set pagesize 0
spool <name of the csv file>.csv
<Your select statement>;
spool offPut select statement delimiting columns you want to use with ','. E.g. following query should create a CSV file named as abc.csv with one record and 2 columns delimited by comma. First column is ENO and second column is ENAME.
set linesize 500
set echo off
set feedback off
set prompt off
set pagesize 0
spool abc.csv
select ENO || ',' || ENAME from employee;
spool offSecond, you can write a PLSQL procedure and then call this procedure from cron job. There is a generic procedure shared by BluShadow some time back which is a very good example for this. Please refer to following link for this solution -
REF Cursor creating CSV files
I will suggest to use first method above if possible since it will be faster and less complicated in my opinion. Second method is recommended for scenarios where select statement is created dynamically and cannot be written during development.
Hope this solves your purpose.
Cheers,
Anirudha -
How to export data to specified format as EXCEL(XXL)
Dear Experts,
Good day!
Who can help me that to export data in SAP by KE30 Transaction Code? We planed to do some things on browser using SAP GUI for HTML and ITS 6.20 in SAP R/3 640. Now, our end-user occur one problem that they need outgoing the data wanted through browser from SAP(Triggered by KE30). In the SAP GUI for Windows, they can do it to export data into specified format (as XXL), but that for HTML can't done. The problem had a message shown below: The presentation server does not function in Windows. Which other way to resolve this? Please tell us, thank you!The XXL export is not supported by Sapgui for HTML(Webgui) via Office Integration. See note: 512068 Office integration and SAP GUI for HTML
However there is a workaround available, this is described in note:
#435769 ALV WebGUI: Excel download by saving into local file
can help you.
(the note is old - but the information in it still holds true)
Please note that the download and upload functionality of the SAPGui for HTML (WEBGUI) requires a Java Virtual Machine.
Please see note 980772 for a list of the supported JVMs.
One can also using the following link to check your current JVM version in your Browser:
http://www.java.com/en/download/help/testvm.xml -
PO to xml in a specified format in B1iSN
Hi All,
I have scenario where I want to generate xml from PO in a specified format in B1iSN,
The default xsl seems from the package that I have made u201Cbiu.Z.bp.Z.POtoXML.xslu201D.
Now where can I add my own xsl transform template in this and how can I call this transform template.
Also just wanted to confirm I got this default xsl under u2013 u201Csim.com.sap.b1i.datasync.001u201D rather than showing up in - u201Ccom.sap.b1i.vplatform.scenarios.designu201D
Kindly help.
Thanks
Deep KulshresthaHi,
please have a look into B1iSN Guide 02 - Integration Development.
On page 6 you're getting an overview how to develop integration scenarios using B1iSN.
The BizStep/BIU where your data mapping takes place is located - as you already assumed - in following folder:
sim.com.sap.b1i.datasync.001/biu.Z.... depending on the name you chose for your BizStep
When using the B1iSN Tools to generate your BizStep/BIU, the XSL-file gets the same name as the folder above:
In this file your explicit XML transformation mapping takes place, a newly created BIU just does a copy-of -operation of your sender message.
best regards
Bastian -
Trouble converting downloaded m4a files to mp3 format
This has never happened to me before. I downloaded a full album and 3 of the 13 songs get an error saying "the file format is not valid" when I try to convert the files to mp3 format. How do I go about fixing this?
+if I do that, it will create the MP3 files all in the same iTunes Music folder as the AAC files,+
Yes, if the AACs are by artist/album
+and worse, it will probably duplicate each song in the playlist.+
No, the conversion process does not touch any playlists.
+The only thing I can think of is to either (A) have a blowaway copy of iTunes on the Windows PC, copy all the AAC files to it, import them, and convert them, or (B) allow my real iTunes to duplicate them all, make the MP3 CDs, sort by create date or file type, and delete the MP3 duplicates from the library.+
B sounds easier than A. You can also consider doing the conversions with a non-iTunes program such as Switch, which allows you to specify the destination folder for the new file. -
Generate XML report then display like HTML with specified formate
Hello,friends
I want to generate XML report then use XSL to parse it,report will display like HTML with specified formate like attachment,any ideas?
Thank you
AlbHi Ray,
I don't why I can not upload any format picture,so I listed the display as below:
Test Result Company Logo
SN 1111 User Operator
Status Fail Factory SE
Product xxx Tester xxx
Start time xxx Line xxx
Test time xxx
NAME STATUS VALUE LOW HIGH RULE
1.0 Pass/Fail Test Passed True True EQ
2.0 Less than Test Failed 15 10 LT
3.0 String Value Test Passed A string from the limit file A string
End of Report
Could you give me some suggestions?
Thanks a lot
Alb -
Idoc-xi-file scenario. how to display file in html format
I am not sure whether this is a valid question.........but want to confirm as it was asked by somebody
In idoc-xi-file scenario....... how to display file in html format ??
Thanks in advance
KumarHi Vijayakumar,
Thanks for your reply !! You mean to say I got to use XSLT mapping and also .htm and .html extension together to produce the html file ?? or it is sufficient to use any one of them to produce the html file ??
Regards
Kumar -
Issue while downloading file in .CSV format
Hi,
I need to download the file in .CSV format.
I hade used FM SAP_CONVERT_TO_CSV_FORMAT and then used GUI_Download.
Now when I am opening file which is downloaded, it gives all the data in a single column. If there are 5 fields in my table, the generated file gives the data of all the 5 fields in a single column.
Could you please help?Hi try wi th the following code.
TYPE-POOLS : truxs.
DATA: t_file TYPE STANDARD TABLE OF type_file.
data:t_conv_data TYPE truxs_t_text_data.
CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'
EXPORTING
i_field_seperator = ', '
TABLES
i_tab_sap_data = t_file
CHANGING
i_tab_converted_data = t_conv_data
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'C:\TESTCSV.CSV'
filetype = 'ASC'
write_field_separator = ' '
TABLES
data_tab = t_file
fieldnames = names
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22. -
Can Adobe Distiller be used for converting all pro/e (3D -2D) files to pdf format?
Acrobat Distiller Server converts Postscript to PDF.
-
HT3775 How can I play an audio file in 3GP format?
Hi,
I have an audio file in 3GP format, which was recorded in a mobile phone and transferred to me.
I am not able to play it using QuickTim and VLC Player.
Can someone please help me how to play this?
Regards
Sharath ArunIs that file played in a tab in the current window or in a separate pop-up window?
Are you allowing pop-up to modify the window size (dom.disable_window_move_resize = false)?
*http://kb.mozillazine.org/JavaScript#Advanced_JavaScript_settings
You can try set the Boolean pref <b>media.windows-media-foundation.enabled</b> to <i>false</i> on the <b>about:config</b> page to disable the built-in HTML5 media player.
*http://kb.mozillazine.org/about:config -
How can i convert a window media player file into a format playable on ipod
hey guys can you tell me how can i convert an widdow media player file into a format that can be played on my ipod, i used videora ipod converter but it can't convert the window media player file
the program you show change wma to mp3, but the mp3 file can't be understanded by the iPod, how can i change a wma file to a format understanded by the Ipod?
-
How can I move my elements 9 files in windows format to elements 11 in Mac format?
How can I move my windows 9 files in windows format to elements 11 in Mac format?
I guess this is what I want to do. I have jillions of photos that were transferred in a Windows version of photoshop (many different versions) plus some that were transferred from my iPhone and also in Nikon Transfer (before I started using Photoshop). Then I got the brilliant idea that I wanted to start using Mac for all of my photo projects and I'm dead in the water right now because I can't figure out how to move all of these Windows based filed to the new Mac - especial since the I have a current mac version of Photoshop and the Windows version that I have is older. I totally do not understand what a tly file is.
Maybe you are looking for
-
Open images in Express from a mac?
How do I open images from a mac? Do they need to be in the "Camera Roll" folder on the Ipad Air (7)? Thanks, Qwerky
-
Upgrade fails: "SQL Server 2008 R2 Feature Upgrade"
Shouldn't I be able to upgrade to 2008 R2? Current version: Microsoft SQL Server 2008 (SP1) - 10.0.2531.0 (X64) Mar 29 2009 10:11:52 Copyright (c) 1988-2008 Microsoft Corporation Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7600: )
-
When I add contact photos on my phone they get small. They do not cover the whole are as the should. The first time they where big, but when I resynced my contact list trough Google contacts they get small. The quality is really sharp but they are sm
-
Error -9808 using Proxy Server
Hey All, I can't log in to the iTunes Store or authorize my computer. Trying to do so brings up error -9808. I can however view the store and download free songs etc. I think the problem is related to my proxy server. I live on a university campus an
-
List of Refurbished Verizon Phones for sale
Does anyone know if Verizon still offers refurbished Verizon phones for sale? About 3 years ago my son broke his phone and I couldn't afford a brand new one but our local Verizon store gave me a list of a whole lot of refurbished phones and I ended u