FM to view the file
HI SDN,
there's a FM GUI_RUN which opens the file on the presentation once u specify the file name.
similarly I need a FM to view the file that sits in the Application server.
the requirement is like i'll display the application server file name in the ALV report.
once the user selects the line item and clicks on the custom button VIEW FILE, it has to show the contents of the file.
thanks.
Asking email id - against SDN rules .. Let Mods permit it for me
Good luck Dude
Similar Messages
-
In mini bridge, is it possible to view the file name and the rating at the same time?
Hello,
In mini bridge, is it possible to view the file name and the rating at the same time?
Thank you.if you know when a new image arrives and you can retrieve that new image file name ...
Well, that's precisely my doubt, how can I know the file name? Is there a property/method for it?
function loadImages() {
for (var i:int=0; i<imagesNames.length; i++) {
var imgLoader:Loader=new Loader;
imgLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,imgLoaded);
imgLoader.load(new URLRequest(imgPath + imagesNames[i]));
function imgLoaded(par:Event):void {
trace(par.target,par.target.content,par.target.content.name);
Output window:
[object LoaderInfo] [object Bitmap] instance160
[object LoaderInfo] [object Bitmap] instance159
[object LoaderInfo] [object Bitmap] instance161 -
Unable to view the files on creative cloud
I cannot view the files I have uploaded on Creative Cloud. I joined Creative Cloud yesterday.
Hi Znico,
Could you test with a smaller file, such as a jpeg image. There are intermittent issues with large file uploads. We aware of this and are working on fixing it.
http://forums.adobe.com/thread/1056111?tstart=30
You are currently trying with a 26MB file correct? I'm wondering if the issue you describe is due to the file size and not related to the issue others described here. Can you test with a smaller file and post your results?
Thanks,
-Dave -
After downloading a pdf from a website, how can I view the file in Safari 6.0.4 (just as I can in Safari 5.0.6)? I bet that it's simple, but I've missed something, somewhere, and a solution will be greatly appreciated.
Hello Kirk,
Thank's for your efforts, and I just wish that this was the solution. Unfortunately, it isn't because, after double-clicking on the pdf in the website, it simply "opens" in another Safari window as a black screen - the pdf is there, somewhere, but not visible (either as an icon, or as a document).
When I right-click in the black Safari window, where the file is supposed to be, the only option available to display the file is to "Open file in Internet Explorer" (which is not what I want to do). Other options include saving or printing the pdf, which I don't want until I've confirmed that it's the form that I want. The same options are offered if I right-click on the file icon in the website.
Any other suggestions, please? -
Open a url and view the files with it's timestamp
Hi guys,
I need to create a flow service in SAP BC to connect to a server by it's url and display it's files with it's timestamps.
I have never done this b4, and usinf SAP BC makes it harder for me.. Mostly I need to know how to access the server and view the files with their timestamp.
Any guidance for me will be much appreciated.
Thank u.Yes,
It's like this. I will connect to an FTP server. Then I need to view the files it the server or folder i specify with their respective timestamps.
I am using SAP BC and it's webMethods to create the JAVA flow service. I am only now familiarising myself with SAP BC.
Moreover I have never done a coding to access a server and list it's file. I can do it o view in a local directory using JFrame aand stuff... But SAP BC doesn't support those..
So If u can give me some guidelines to follow.. i would appreciate it.
Here's what i have come up with so far
public static final void ReadFileServer( IData pipeline ) throws ServiceException
//define input variables
IDataCursor idcPipeline = pipeline.getCursor();
String path = null;
path = (String)idcPipeline.getValue();
// Check if url is in the pipeline
if (idcPipeline.first("path"))
File dir = new File(path);
String filesFound[]=dir.list();
long [] age;
age = new long[filesFound.length];
for (int i = 0; i < filesFound.length; i++)
age = new File(filesFound).lastModified();
String temp = "";
for (int i = 0; i < age.length - 1; i++)
for(int k = i+1; k < age.length ; k++)
if (age > age [k])
temp = filesFound;
filesFound = filesFound[k];
filesFound[k] = temp;
for (int i = 0; i < filesFound.length; i++)
//get url out of the pipeline
path = (String)idcPipeline.getValue();
//insert the FILES into the pipeline
idcPipeline.insertAfter("filesFound", filesFound);
idcPipeline.insertAfter("age", age);
//If it is not in the pipeline ERROR
else
age = "False";
idcPipeline.insertAfter("path", path);
//insert the successFlag into the pipeline
idcPipeline.insertAfter("age", age);
//Always destroy cursors that you created
idcPipeline.destroy();
return;
} -
how can i convert 2k resolution dpx files of a movie to DCP and will they be able to open the harddisk and view the files?
AFAIK, this is beyond the capabilities of FCPX/Compressor. This company makes a plug-in, which I have to say I have no experience with. Here is a thread that may give you some other ideas. Good luck.
Russ -
Viewing the file extension in the tphoto humbnails preview
The file names have the file extensions cut off. Is it possible to view the file with the extension. I need to know if I'm looking at a .jpg or a .nef file (raw file) I tried the preferences and there are choices but none show the extension. I did notice that if your over an image a pop up window appears that shows the entire file name with extension....but I need it on the photo thumbnail. Thanks!
If I had more time I would give you the short answer but you can find out how to do this and much more in an article that I wrote here:
http://www.rwboyer.com/RBDesign/Blog/Entries/2008/8/11_Aperture_and_MetadataDisplay.html
RB -
How to view the file using the content
Hi all,
I have uploaded the data from a binary file to an internal table using GUI_UPLOAD.
Could you please suggest any way how i can view the file using the content.
The binary content looks as follows.
345DCC27F35A291DFD5496E0609E8ED08F3405AF5FE3DDC574166CDE0D79B7A174BC6
D87597FA824B3E56E82E451D4C2B4D32A423279A668BB6690C7E9956E90CFE766CB37
39E70D650300006D08000011000000776F72642F73657474696E67732E786D6C9C56D
69B6197B7F5BDD4C58841ECC06943522630781EC71767DF5504F0B6B3C4674DEE0D46
Thanks,
VishnuHi all,
Thanks a lot for the reply.
Here, my requirement is to open the content as a file.
I have used 'GUI_UPLOAD' FM to upload the contents & need the same file(PDF, JPG, DOC etc) to be displayed using the content.
Eg., If i upload an Image using the FM 'GUI_UPLOAD', based on the contents & extention can i see an image?
Please help me in the regard,
Thanks,
Vishnu -
How can I view the files on my Time Capsule without using Time Machine?
In the past Time Machine was backing up to a regular external disc and I could view the files easily. I'm new to the Time Capsule and not sure this is possible as I can't "find" the Time Capsule disc.
Thanks for any tipsThe Time Capsule's drive appears as a network drive, so it doesn't show up as an external drive.
To access to it, first make sure you are connected to the Time Capsule. Then, open a Finder window and you will see the Time Capsule's drive in the sidebar, under "Shared". Select it and you will be able to access to the files stored in the Time Capsule -
How do I download/open documents if my iPad isn't giving me the option to "open with---"? (It's only allowing me to view the files/power points)
Do you have an app to open it installed? Keynote. powerpoint
-
How to view the file content from the directory? getting Error:ORA-21560
SQL> create directory READ_LOB_DIR as 'D:\Prj\Comm\Data';
CREATE OR REPLACE Procedure READ_FILE_LOB IS
-- Input Directory as specified in create directory
l_dir CONSTANT VARCHAR2(30) := 'READ_LOB_DIR';
-- Input File which is read word by word
l_fil CONSTANT VARCHAR2(30) := 'testfile.txt';
-- Separator Character between words is a BLANK (ascii = 32)
l_seb CONSTANT RAW(100) := UTL_RAW.CAST_TO_RAW(CHR(32));
-- Character at the end of the file is NEWLINE (ascii = 10)
l_sen CONSTANT RAW(100) := UTL_RAW.CAST_TO_RAW(CHR(10));
-- Pointer to the BFILE
l_loc BFILE;
-- Current position in the file (file begins at position 1)
l_pos NUMBER := 1;
-- Amount of characters have been read
l_sum BINARY_INTEGER := 0;
-- Read Buffer
l_buf VARCHAR2(500);
-- End of the current word which will be read
l_end NUMBER;
-- Return value
l_ret BOOLEAN := FALSE;
BEGIN
-- Mapping the physical file with the pointer to the BFILE
l_loc := BFILENAME(l_dir, l_fil);
-- Check if the file exists
l_ret := DBMS_LOB.FILEEXISTS(l_loc) = 1;
IF (l_ret) THEN
dbms_output.put_line('File ' || l_fil || ' in Directory ' || l_dir ||
' exists');
-- Open the file in READ_ONLY mode
DBMS_LOB.OPEN(l_loc, DBMS_LOB.LOB_READONLY);
LOOP
-- Calculate the end of the current word
l_end := DBMS_LOB.INSTR(l_loc, l_seb, l_pos, 1);
-- Process end-of-file
IF (l_end = 0) THEN
l_end := DBMS_LOB.INSTR(l_loc, l_sen, l_pos, 1);
l_sum := l_end - l_pos - 1;
DBMS_LOB.READ(l_loc, l_sum, l_pos, l_buf);
dbms_output.put_line(UTL_RAW.CAST_TO_VARCHAR2(l_buf));
EXIT;
END IF;
-- Read until end-of-file
l_sum := l_end - l_pos;
DBMS_LOB.READ(l_loc, l_sum, l_pos, l_buf);
dbms_output.put_line(UTL_RAW.CAST_TO_VARCHAR2(l_buf));
l_pos := l_pos + l_sum + 1;
END LOOP;
DBMS_LOB.CLOSE(l_loc);
ELSE
dbms_output.put_line('File ' || l_fil || ' in Directory ' || l_dir ||
' does not exist');
END IF;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line('Error:' || SQLERRM);
DBMS_LOB.CLOSE(l_loc);
END;
The Text file content is...
Copyright 1996,2001 Oracle Corporation. All Rights Reserved
This file contains installation instructions for installing the
Oracle8 ODBC Driver software.
It is divided into four parts:
o Part I: Summary of systems supported by Oracle8 ODBC client
software
Lists the platforms on which the Oracle8 ODBC Client software can
be installed.
o Part II: Oracle8 ODBC Driver software.
Describes the files, and installation prerequisites for the Oracle8
ODBC driver software.
o Part III: Exploding the kit onto your system
Describes how to explode the kit onto your system hard drive.
o Part IV: Installation Instructions
Describes how to install the Oracle8 ODBC driver.
Part I: Systems supported by the Oracle8 client software
You can install the ODBC client software on any of the following systems:
o Windows 2000
o Windows NT X86
o Windows 95
o Windows 98
The Oracle8 ODBC Driver provides support for ODBC connections
from Windows 2000, Windows NT, Windows 95, and Windows 98 systems
to Oracle databases.
o Part II: Oracle8 ODBC Driver software.
Refer to the following files for information about the Oracle8 ODBC Driver:
LICENSE.TXT - Oracle8 ODBC Driver License Agreement. Read carefully
before installing and/or using this product. Enclosed in
your software distribution kit.
SQORA.HLP - A Window's Help file which is the primary reference
manual for the Oracle8 ODBC Driver.
ODBCRelnotes.WRI - The release notes for the Oracle8 ODBC Driver
which contains information which may have not been
included in the Help file.
Installation Prerequisites
See the Oracle8 ODBC Driver release notes (ODBCRelnotes.WRI),
for a complete list of software products required and their versions.
Time Required
The installation of the Oracle8 ODBC Driver takes approximately 5
minutes. The actual time may be shorter or longer, depending upon
your hardware configuration.
Disk Space Required
The Oracle8 ODBC driver installation requires approximately 2
megabytes of available storage space. The space required depends upon
what files you already have installed. The installation procedure
checks to see if you have enough available disk space. If you do not,
the installation fails.
Part III: Exploding the Kit onto your system
Expand the self-extracting archive file onto your hard drive.
C:\> ORA8174.EXE
Part IV: Installation Instructions
Oracle8 ODBC Driver 8.1.7.4.0
This section assumes the following:
1. MS Windows 2000, Windows NT, Windows 95 or Windows 98 is running.
2. Oracle Universal Installer shipping with 8.1.7 has already been
installed on your system.
3. Part III has been completed.
Software fixes:
Refer to release notes (ODBCRelnotes.wri) for a complete list of
Software fixes.
Installation Instructions
Once the self-extracting archive file ORA8174.EXE has been
exploded it will create an installable directory structure
onto your hard drive. Run the Oracle Universal Installer from
your local drive.
1. On the screen "File Locations" use the "Browse" button of
the source path to choose the file 'products.jar' from the
folder that ORA8174.EXE was extracted to. Choose 'Next'.
2. You will receive a warning that some of the dependencies of
this product are not found in the staging area. This warning
is OK. The ODBC driver depends on the Net8 Client being already
installed on the system. Answer 'Yes' to continue.
Oracle is a registered trademark of Oracle Corporation.
Microsoft, MS are registered trademarks of Microsoft Corporation.
Microsoft Windows, Windows NT, Windows 95, Windows 98 and Open Database
Connectivity are trademarks of Microsoft Corporation.
All other trademarks and registered trademarks are the property
of their respective owners.
The output was...
File testfile.txt in Directory READ_LOB_DIR exists
Copyright
1996,2001
Oracle
Corporation.
All
Rights
Reserved
This
file
contains
installation
instructions
for
installing
the
Oracle8
ODBC
Driver
software.
It
is
divided
into
four
parts:
o
Part
I:
Summary
of
systems
supported
by
Oracle8
ODBC
client
Error:ORA-21560: argument 2 is null, invalid, or out of range
I want to diplay/view as per file content format from the file under that specified directory.
Have any other method / any help or suggestions would be really appreciated.I changed the code like...
CREATE OR REPLACE Procedure READ_FILE_LOB_tmp IS
-- Input Directory as specified in create directory
l_dir CONSTANT VARCHAR2(30) := 'READ_LOB_DIR';
-- Input File which is read word by word
l_fil CONSTANT VARCHAR2(30) := 'testfile.txt';
-- Separator Character between words is a BLANK (ascii = 32)
l_seb CONSTANT RAW(100) := UTL_RAW.CAST_TO_RAW(CHR(32));
-- Character at the end of the file is NEWLINE (ascii = 10)
l_sen CONSTANT RAW(100) := UTL_RAW.CAST_TO_RAW(CHR(10));
-- Pointer to the BFILE
l_loc BFILE;
-- Current position in the file (file begins at position 1)
l_pos NUMBER := 1;
-- Amount of characters have been read
l_sum BINARY_INTEGER := 0;
-- Read Buffer
l_buf VARCHAR2(4000);
-- End of the current word which will be read
l_end NUMBER;
-- Return value
l_ret BOOLEAN := FALSE;
BEGIN
-- Mapping the physical file with the pointer to the BFILE
l_loc := BFILENAME(l_dir, l_fil);
-- Check if the file exists
l_ret := DBMS_LOB.FILEEXISTS(l_loc) = 1;
IF (l_ret) THEN
dbms_output.put_line('File ' || l_fil || ' in Directory ' || l_dir ||
' exists');
-- Open the file in READ_ONLY mode
DBMS_LOB.OPEN(l_loc, DBMS_LOB.LOB_READONLY);
LOOP
-- Calculate the end of the current word
l_end := DBMS_LOB.INSTR(l_loc, l_sen, l_pos, 1);
-- Process end-of-file
IF (l_end = 0) THEN
EXIT;
END IF;
-- Read until end-of-file
l_sum := l_end - l_pos;
DBMS_LOB.READ(l_loc, l_sum, l_pos, l_buf);
dbms_output.put_line(UTL_RAW.CAST_TO_VARCHAR2(l_buf));
l_pos := l_pos + l_sum + 1;
END LOOP;
DBMS_LOB.CLOSE(l_loc);
ELSE
dbms_output.put_line('File ' || l_fil || ' in Directory ' || l_dir ||
' does not exist');
END IF;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line('Error:' || SQLERRM);
DBMS_LOB.CLOSE(l_loc);
END;
Now its working fine with one addtional line...
The file content is...
This is My Content
This is My Content
This is My Content
This is My Content
This is My Content
But The output was...
File testfile.txt in Directory READ_LOB_DIR exists
This is My Content
This is My Content
This is My Content
This is My Content
This is My Content
here, i want to delete that additonal line...? -
when selecting a link to a pdf file , I'm only given the choice to save it ..not view it ? How do I change that ..?
That depends on how the server sends the file.
If this is a MIME (content) type that is supported by other software then you can open the file automatically.
If the file is send with a generic content type like application/octet-stream or as Content-Disposition:attachment then you can only save the file.
*https://addons.mozilla.org/firefox/addon/force-content-type/
*https://addons.mozilla.org/firefox/addon/inlinedisposition-reloaded/ -
In column view, the file item, ie .ai doenst preview?
The preview of items are no showing. So I have to open the file in order to see
what it is, which is very bad, b/c i work with a lot of illustrator files.CocoaThumbX is a separate program that you will need to download. The developer's site is here:
http://www.stalkingwolf.net/software/cocothumbx/
When you run the program you can select a batch of files and drop them into the program and it will create thumbnails for many, perhaps even most of the ai files, but not all. I have not checked to find out why some of thumbnails are blank. Also, the thumbnails it creates appear to be only a tiny section of the original. There may be a better program for creating ai thumbs.
You can download the free QuickLook generator here:
http://hrmpf.com/wordpress/195/leopard-quick-look-for-illustrator-files
Download, unzip, and put the file here:
"/Library/QuickLook/illust.qlgenerator"
You'll need to restart or log out and back in. You will then be able to see a full thumbnail in the Finder in both the Preview column of a window in column view, and in Quicklook with any window view, just select the file and hit the Spacebar.
Francine
Francine
Schwieder -
I set up the two columns for downloading a file, and to view a file. I'm not able to get this file to be viewed. I tried editing the attachment to inline or other values, it doesn't work. I managed to get this file be viewed but its name is view.do, I want to change that name to filename.
To view a file - I removed attachment: and it worked - but wrong filename - view.do
if(contentType.equals("application/pdf")) {
sheetname = sheetname + ".pdf";
response.setHeader("Content-Disposition", "filename=\"" + sheetname + "\"");;To download a file - It works, it's for comparsion between those parameters.
if(contentType.equals("application/pdf")) {
sheetname = sheetname + ".pdf";
response.setHeader("Content-Disposition", "attachment; filename=\"" + sheetname + "\"");;
// Set the content disposition
return new ByteArrayStreamInfo(contentType, data);view.do is the struts action name.
use the second option (download). The user will have the choice to view or save a copy of the displayed pdf document. -
How to view the File created against the Transport Request in ASCII format
Hi all,
We have a requirement where in the file created against the Transport reauest and its content should be viewed in ASCII format.
Experts do you have answer for this.
Is thers any method to work out.
Thanks in advance.
Every usefull answers will be awarded points.*********Hi Anji Reddy,
Thanks for your reply.
Let me clear my querry.
when we create a program in se38 and save it in a zxxxx package then it will create a transport request. The Content of TR i mean is not the Program name or the object list in the TR. The content i mean here is the abap code written in the program. which will be stored as a file in the server. when we open this file it will give the SAP format. Which i want to view in ASCII format.
Maybe you are looking for
-
How to remove Print pdf link below the reports?
How to remove print pdf(only pdf. i need html) report which is available below the reports? I am not asking to remove it from the print icon at the left bottom of the page. I need it to be deleted from the link in the middle of the page below the rep
-
I recently updated my Mountain Lion 10.8.3 to 10.8.4 on my iMac Intel Core i7. Now I am experiencing all sorts of problems. 1. It won't recognize my phone: Under the last OS I used to just plug in my phone and it would automatically recognize it and
-
ITunes 7 Upgrade will not install
I'm running iTunes 6.0.1.3 on Windows XP. Upgrade attempts to iTunes 7 fail, and I get a pop-up window that reads: iTunes Installer Completed The installer encountered errors before iTunes could be configured. [...] The other odd thing is that when I
-
Validate related invoices from pl/sql?
Hello, Does anybody know how to run "validate related invoices" from pl/sql? thanks in advance!
-
How to maintain Customer distribution model in ALE
hi FRIENDS.. i wish to know what will be the transaction code of maintaining the customer distribution model, and how we maintain it. and also distribute custome model in IMG sreen... please reply me...i will surely award you nice points.... bye.