How to retrieve PDF file
Hi
My screen consists of the fields from date and to date,after entering the dates one PDF should open consisting of data in between the dates.
How can i retrive the PDF,or please tell me the code needed.
I am new in webdynpro,please give me step by step process.
Its urgent......
with regards,
Gobinath.R
chk it
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8d7b9e7d-0c01-0010-2495-947691554cb7
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2b6db1c4-0801-0010-faa5-ff4b4df55b45
http://help.sap.com/saphelp_nw04s/helpdata/en/46/55c841d202c317e10000000a155106/frameset.htm
Similar Messages
-
How to retrieve pdf file saved in icloud drive from iphone
how to retrieve pdf file saved in icloud drive from iphone or ipad
Hi henawybek,
Welcome to Apple Support Communities.
Take a look at the article linked below, it provides answers to frequently asked questions about iCloud Drive and will help you solve your question.
iCloud Drive FAQ
You can access your files in iCloud Drive any of these ways:
On your iPhone, iPad or iPod touch with iOS 8, you can use Apple apps like Pages, Numbers, and Keynote, or any apps that support iCloud Drive.
I hope this helps.
-Jason -
How to save pdf file in database
Dear All,
my application is forms 6i and database is 8i,requirement is that how to save pdf file in database and users can view through formsI'll apologize up front for the length of this post. I have a few database procedures I created that write a file to a BLOB column in a table as well as retrieve the BLOB from the column after it stored there. I have successfully stored many different types of binary file to the database using these procedures - including PDF files. I have not used these procedures in a Form so I can confirm that they will work, but theoretically they should work. I'm including the code for each procedure in this posting - hence the apology for the long post! :-)
Also, since these procedures reside on the database you will need to use Forms TEXT_IO built-in package to write your file to the server before you can use these procedures to store and retrieve the file from the database.
These procedures reads and writes a binary file to a table called "LOB_TABLE." You will need to modify the procedure to write to your table.
-- Author : Craig J. Butts (CJB)
-- Name : load_file_to_blob.sql
-- : This procedure uses an Oracle Directory called "IN_FILE_LOC". If you
-- already have a directory defined in the database or would prefer to use
-- a different Directory name, make sure you modify line 21 to reflect the
-- new Directory name.
-- ==================================================================================
-- History
-- DATE WHO DESCRIPTION
-- 12/11/07 CJB Created.
CREATE OR REPLACE PROCEDURE load_file_to_blob (p_filename IN VARCHAR2) IS
out_blob BLOB;
in_file BFILE;
blob_length INTEGER;
vErrMsg VARCHAR2(2000);
BEGIN
-- set the in_file
in_file := BFILENAME('IN_FILE_LOC',p_filename);
-- Get the size of the file
dbms_lob.fileopen(in_file, dbms_lob.file_readonly);
blob_length := dbms_lob.getlength(in_file);
dbms_lob.fileclose(in_file);
-- Insert a new Record into the tabel containing the
-- filename specified in P_FILENAME and a LOB_LOCATOR.
-- Return the LOB_LOCATOR and assign it to out_blob.
INSERT INTO lob_table (filename, blobdata)
VALUES (p_filename, EMPTY_BLOB())
RETURNING blobdata INTO out_blob;
-- Load the file into the database as a blob.
dbms_lob.open(in_file, dbms_lob.lob_readonly);
dbms_lob.open(out_blob, dbms_lob.lob_readwrite);
dbms_lob.loadfromfile(out_blob, in_file, blob_length);
-- Close handles to blob and file
dbms_lob.close(out_blob);
dbms_lob.close(in_file);
commit;
-- Confirm insert by querying the database
-- for Lob Length information and output results
blob_length := 0;
BEGIN
SELECT dbms_lob.getlength(blobdata) into blob_length
FROM lob_table
WHERE filename = p_filename;
EXCEPTION WHEN OTHERS THEN
vErrMsg := 'No data Found';
END;
vErrMsg := 'Successfully inserted BLOB '''||p_filename||''' of size '||blob_length||' bytes.';
dbms_output.put_line(vErrMsg);
END;
-- Author : Craig J. Butts (CJB)
-- Name : write_blob_to_file.sql
-- Descrip : This procedure takes a BLOB object from a database table and writes it
-- to the file system
-- ==================================================================================
-- History
-- DATE WHO DESCRIPTION
-- 12/11/07 CJB Created.
CREATE OR REPLACE PROCEDURE write_blob_to_file ( p_filename IN VARCHAR2 ) IS
v_blob BLOB;
blob_length INTEGER;
out_file UTL_FILE.FILE_TYPE;
v_buffer RAW(32767);
chunk_size BINARY_INTEGER := 32767;
blob_position INTEGER := 1;
vErrMsg VARCHAR2(2000);
BEGIN
-- Retrieve the BLOB for reading
BEGIN
SELECT blobdata
INTO v_blob
FROM lob_table
WHERE filename = p_filename;
EXCEPTION WHEN OTHERS THEN
vErrMsg := 'No data found';
END;
-- Retrieve the SIZE of the BLOB
blob_length := DBMS_LOB.GETLENGTH(v_blob);
-- Open a handle to the location where you are going to write the blob
-- Note: The 'WB' parameter means "Write in Byte Mode" and is only
-- available in the UTL_FILE pkg with Oracle 10g or later.
-- USE 'W' instead for pre Oracle 10q databases.
out_file := UTL_FILE.FOPEN('OUT_FILE_LOC',p_filename, 'wb', chunk_size);
-- Write the BLOB to the file in chunks
WHILE blob_position <= blob_length LOOP
IF ( ( blob_position + chunk_size - 1 ) > blob_length ) THEN
chunk_size := blob_length - blob_position + 1;
END IF;
dbms_lob.read(v_blob, chunk_size, blob_position, v_buffer );
UTL_FILE.put_raw ( out_file, v_buffer, TRUE);
blob_position := blob_position + chunk_size;
END LOOP;
END;Hope this helps.
Craig...
-- If my response or the response of another is helpful or answers your question please mark the response accordingly. Thanks! -
HT4847 how to store pdf files on iCloud ?
how to store pdf files on iCloud ?
Hi SirNicksolot
After move the pdf to iCloud, how do I retrieve it from my iPad or other Mac computer after using Preview to move pdf file to iCloud? -
How to link pdf file in flash by xml ??
how to link pdf file in flash by xml ??
try to give <a href="your address">My Pdf</a>
and your textfield should be html enabled
mytextField.html=true
mytextField.htmlText=your xml text -
How to process pdf file in clower ETL
Hi,
I want process pdf document in clower ETL dataintegartor. I have created sample project and created ETL garph universal data reader, data i have imported pdf file, while openning the metta data information it's show encoding data format and invalid delimiter and while running error in the console
Please assist me how to process pdf file with unstructured data format.
I am getting below the error,
ERROR [WatchDog] - Graph execution finished with error
ERROR [WatchDog] - Node DATA_READER0 finished with status: ERROR caused by: Parsing error: Unexpected record delimiter, probably record has too few fields. in field # 1 of record # 2, value: '<Raw record data is not available, please turn on verbose mode.>'
ERROR [WatchDog] - Node DATA_READER0 error details:
org.jetel.exception.BadDataFormatException: Parsing error: Unexpected record delimiter, probably record has too few fields. in field # 1 of record # 2, value: '<Raw record data is not available, please turn on verbose mode.>'
at org.jetel.data.parser.DataParser.parsingErrorFound(DataParser.java:527)
at org.jetel.data.parser.DataParser.parseNext(DataParser.java:437)
at org.jetel.data.parser.DataParser.getNext(DataParser.java:168)
at org.jetel.util.MultiFileReader.getNext(MultiFileReader.java:415)
at org.jetel.component.DataReader.execute(DataReader.java:261)
at org.jetel.graph.Node.run(Node.java:425)
at java.lang.Thread.run(Thread.java:619)
please can any one help me.
Thanks
Rajini C
Edited by: 954486 on Sep 19, 2012 11:19 PMThere is a separate forum for the BI/Information Discovery application of Endeca software: Endeca Information Discovery You should post your message there.
Thanks.
Sean -
How to view pdf file in java/jsp?
Hello Everybody,
Any one help me how to view pdf file in jsp using java application.
I have pdf file c:\app.pdf.
How can i display the pdf file.
Please help me.................
ThanksHello,
You can use the below code, but i am not sure how far is this a startard way of doing it.
# <%
# ServletOutputStream servletOutputStream = response.getOutputStream();
# File reportFile = new File("C:\\Tomcat 5.0\\webapps\\TestApp\\myfile.pdf");
# FileInputStream fis = new FileInputStream(reportFile);
# byte[] bytes= new byte[128000];
# int count=fis.read(bytes);
# try
# response.setContentType("application/pdf");
# response.setContentLength(bytes.length);
# servletOutputStream.write(bytes, 0, bytes.length);
# servletOutputStream.flush();
# servletOutputStream.close();
# }catch(Exception e){} -
How to display Pdf file in iPad site
Hi
How to display Pdf file in web page which can able to view in iPad safari?
Thanks,
ArunYou can't really.
You need to use DHTML in the swf-wrapper HTML file, usually a
division wrapped iFrame, and load the PDF into the iFrame as an
overlay to the Flash. -
How to upload pdf file in iphone and how to view
how to upload and how to view pdf file in iphone 5s
Hey saif.antri,
You can view PDFs and more using iBooks on your iPhone:
iBooks: Viewing, syncing, saving, and printing PDFs on iPhone, iPad, and iPod touch
http://support.apple.com/kb/HT4227
Have a great day,
Delgadoh -
HOW TO CONVERT PDF FILE IN TO XML FILE?
HOW TO CONVERT PDF FILE IN TO XML FILE
No Office programs can open a pdf and edit the contents so you will have to get a different app to convert teh pdf into xls format. There are plenty to be found on the web.
Rod Gill
The one and only Project VBA Book
Rod Gill Project Management -
How to upload pdf file in a canvas in flex web application?
how to upload pdf file in a canvas in flex web application?
Hey saif.antri,
You can view PDFs and more using iBooks on your iPhone:
iBooks: Viewing, syncing, saving, and printing PDFs on iPhone, iPad, and iPod touch
http://support.apple.com/kb/HT4227
Have a great day,
Delgadoh -
How to call PDF file in Web Dynpro Appl?
How to call PDF file in Web Dynpro Appl?
Hi Gobinath,
1. Create a value attribute of type byte called pdfSource.
2. Insert an UI element called Interactive Form in your layout
3. Set the source property of this Interactive From UI element to the context pdfSource.
4. Insert a button which would open your pdf file.
public void onActionsubmit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionsubmit(ServerEvent)
IPrivate<viewname>.IContextElement contextElement = wdContext.currentContextElement();
byte[] bytes = contextElement.getPdfSource();
try
File file = new File("C:
temp
example.pdf");
FileOutputStream os = new FileOutputStream(file);
os.write(bytes);
os.close();
catch (IOException e)
// do something
e.printStackTrace();
//@@end
Warm Regards,
Murtuza -
How to display pdf file in windows phone 8 silver light application?
Hi,
I am developing windows phone 8 silver light application . For my app I want to display pdf files . Is there any default controls to display pdf files ?
I don't want to display using launchers , I want to display with in the app.
any help,
Thanks..
Suresh.MProbably this should give you a fair idea : How to view PDF file inside an Windows Phone application?
http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8 -
My music files etc were all located on my old laptop which was stolen. I have just plugged my iphone in to my new computer and it has deleted all my files. Has anybody got any ideas on how to retrieve the files?
WINDOWS?
Connect the iPod to your PC. If iTunes starts syncing (ie erasing) your music automatically, hit the X in the upper right hand corner of iTunes display, to the left of the search box, to stop it.
In Control Panel, Portable Media Devices, double-click your iPod.
In the Tools menu -> Options, in the View Tab, check "Show hidden files and folders."
Navigate to the Music folder. On my 'pod, the full path is
Portable Media Devices\NAME of IPOD (F:)\iPod_Control\Music
Select all the music folders, and drag and drop them into a folder on your hard drive, or directly into iTunes.
And you're done! The iPod music folder structure is strange and inexplicable, but once you move your files into iTunes you can set it to automatically organize your folder by artist and album to clean that up. (To do this, in iTunes Edit menu, choose Preferences and in the Advanced tab, check "Keep iTunes Music Folder organized."
might be out of date worth a try -
How to open *.pdf files in BOXI r2 inbox
I am scheduling as *.pdf file for deski report.After scheduling i am getting *.pdf in my inbox.if the report is deski or webi we can use FC_REPORT_ENGINE or WI_REPORT_ENGINE to open the report's using java code.In same way how to open *.PDF file in Inbox?
Edited by: ramkishore kishore on Nov 7, 2008 8:31 AM
Edited by: ramkishore kishore on Nov 7, 2008 8:31 AMHi Ram,
Following information might help you to resolve the issue.
After logging into Desktop Intelligence, you may be presented with a message stating:
u201CYou have received 1 document from users"
Examining the Inbox from within the Desktop Intelligence client shows no objects visible in your Inbox.
The object in your Inbox is in a format other than Desktop Intelligence format such as, PDF, XLS or other format. Therefore the object is not recognized by the Desktop Intelligence client inbox browser.
Log in to Info View or the Central Management Console, browse to your Inbox and verify the file name and format that has been sent to your Inbox. The object may be saved, copied, moved or deleted as necessary.
Regards,
Sarbhjeet Kaur
Maybe you are looking for
-
When I insert a shape, how do I change the color without changing the texture?
When I insert a shape, how do I change the color without changing the texture?
-
We now live in Portugal where, as you may know, because of use of an alternate satellite, we cannot now receive UK programmes direct to our TV. Would you please confirm that this adapter will feed live BBC/ITV. etc from Apple ipad 3 to Samsung LC
-
Intrastat report wrong when job processing is involved
Hello Everybody, I got a problem with the Intrastat Add-on. For Example: I buy goods in France for 100u20AC . From there they are send directly to the Netherlands for job processing which costs 50u20AC. Then the processed goods are send to me in Ger
-
Web server hangs after exceeding number of connection
Hi DBAs, We are maintaining oracle 9i and webser on solaris. so, after reaching 800 connection as shown on v$session the webserver hangs and we have to restart the webserver again. Please help me where i need to check for this. Regards Asif
-
Cannot determine redemption code on back of itunes gift card???
I bought an itunes gift card but I cannot determine the redemption code on the back after rubbing off the scratcher. How do I redeem?!