How to display pdf in Web Dynpro Page
Hi Experts,
I need to display the pdf file in web dynpro page. I am using Web dynpro 7.1(CE), in that no ui element like Iframe. With Iframe we can display the pdf file in web Dynpro page in 7.0.
But My problem is how display pdf with out using Iframe.
Please any one tell how to display with any other UI elements.
Regards,
Sunil.
Hi sunil..
chk this link..
<u><b>Pdf</b></u>
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0401535-f81c-2a10-0192-ffd41e8e8d59
<u><b>Adobe</b></u>
/people/achim.hauck/blog/2005/02/04/my-struggles-with-the-adobe-document-services-in-was640
<u><b>Configuration</b></u>
http://help.sap.com/saphelp_nw70/helpdata/en/43/8a1a8ece230c8ce10000000a11466f/content.htm
<u><b>Adobe Document services</b></u>
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e4e9afb-0701-0010-f8a8-b8cd093662c2
<u><b>Configuring Guided procedure of Interactive Forms</b></u>
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b9ea34c2-0701-0010-e2a2-d8e9cd6d85dc
<u><b>Forum Discussions abt Adobe Document Services</b></u>
Re: Configuring the Destination URL for the Adobe Document Services
Hop will this helpful for u..
Regards,
GS
Similar Messages
-
How to display PDF file in OAF page
Hi All,
I have an requirement to display a PDF file in OAF page. The PDF file will be stored in custom location in unixbox and when the user clicks on the hyperlink from OAF page, the PDF file should be promted to open or save the file in the local system.
The pdf file will be stored in $XBOL_TOP and I am not sure on how to link the file directory path from OAF page.
Please share some information on how to achieve this logic.
Regards,
RamHi,
Did you find a way to do this.
Please advise.
Thanks
Krishna
Edited by: user452458 on May 11, 2010 6:53 PM -
How to display smartform as PDF in web dynpro java
Hi,
Where can I find sample program to display smartform as PDF in web dynpro java.
Thanks.
Regards,
Henry1. Create a smart form in the R/3 side
2. Now create a function module with the corresponding export parameter:
3. Make sure that the function module is marked remote enabled.
4. In NWDS create an Adaptive RFC model which points to the FM created in R/3 under the webdynpro application
5. Now create an application and view inside it to display the PDF and Insert a frame inside the view
6. Create a value node and an attribute say url of type string inside that node and bind it to the source
7. In the doInit() method place the following code
> ZTest_Pdf_1_Input input = new ZTest_Pdf_Input();
> wdContext.nodeZTest_Pdf_Input().bind(input);
> try {
> wdContext.currentZTest_Pdf_InputElement().modelObject().execute();
> }
> catch (Exception e) {
> e.printStackTrace();
> }
> wdContext.currentInternalElement().setUrl(convert(wdContext.currentOutputElement().getBin_File()));
Inside that view create a method to convert the string to url so that it can be passed as a string to the setUrl method of the currentContextElement() , say convet(byte[] doc_content) which return a string.
Inside that methos write the following code,
> String url = "";
> WDWebResourceType webResType = WDWebResourceType.PDF;
> IWDWebResource webResource = WDWebResource.getWebResource(doc_content, webResType);
> try {
> url = webResource.getURL();
> }
> catch (Exception e) {
> e.printStackTrace();
> }
> return url;
Hope It will be helpful
Regards,
Sam Charles J. -
How to display all data on one page in web app
Hello.
So I have web app JSF (IceFaces framework) + JBoss all Crystal Report working perfectly. So I have page with Crystal Report tags (e.g.
<bocrv:reportPageViewer reportSource="#{crystalReport.reportPath}" ...
in this report I have table with some data (data from DB) and I want to display this data on one page. Unfortunately now this data are moving to the next page and unfortunately I even donu2019t know how switch to the next page (I see only info e.g. 1with 2).
So how to display this data on one page if its impossible how to torn on pagination.So I canu2019t do this, I canu2019t display all data on one page (until Iu2019m using JSF tags)?
In JSF tags Iu2019m setting only path to file. In my bean Iu2019m using u201CReportClientDocumentu201D object itu2019s easy way to load report file (u201Copenu201D method) and set parameters (u201CgetDataDefController().getParameterFieldController()u201D method) and also connect to data base (u201Clogonu201D method) but I havenu2019t this property u201CsetSeparatePages(boolean)u201D.
Maybe Iu2019m doing this wrong and there is a simpler way maybe I can use somehow u201CCrystalReportVieweru201D please give my any advice. -
Hi,
I want to display PDF's with multiple pages as a slideshow.
This is possible with a default Adobe Reader and have this working for ONE pdf file.
But I want do display multiple PDF's as a slideshow, the one after the other.
In Adobe Reader you can define to return to the first page again or it automatically 'stalls/halts' at the last page.
But I want Adobe Reader to close after the last page is displayed so it continues (in a simple DOS-script) with a second, third, etc. PDF to be displayed.
Is this possible?
What kind of simple DOS-script kan be used or an other reader/utility?
Thanks in advance!
GuntherHi Bernd,
I was looking for ways to script this kind of solution.
But do not have good results. There are tools to combine pdf's into one large pdf - but mostly to be selected by hand.
We need it in a scriptable way to automate.
Additionally, we want to be able to combine different types of documents to rotate as a slide show (so not only PDF's but also pictures or other output).
If you or someone else have such scripts, it will be highly appreciated.
Regards -
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. -
Display data in Web DynPro table from database via EJB
I have a JavaBeans model which has a method populateDataToTable()to retrieve data from database via Session bean (calling entity bean, returning ArrayList of data) and the data needed to be display in the Web DynPro table.
User Interface (Web DynPro) <-> JavaBeans Model <-> Busineess Logic (session bean) <-> Persistence (Entity Bean)<-> DB table.
The context bindiing and table part is ok. How do i load the data to the table ? what the coding to put in wdDoInit() ?
Any help would be appreciated.in wdinit(),
Collection col = new ArrayList();
try{
MyCommandBean bean = new MyCommandBean();
col = bean.getDataFromDbViaEJB();
wdContext.nodeMyCommandBean().bind(col);
} catch (Exception ex) {
ex.printStackTrace(ex);
in your JavaBean model class, MyCommandBean getDatafromDbViaEJB() method:
Collection col = new ArrayList();
Collection newcol = new ArrayList();
//include your own context initialization etc...
col = local.getDataViaSessionBean(param);
// if your returned result also a bean class, reassigned it to current MyCommandBean
for (Iterator iterator = col.iterator(); iterator.hasNext();) {
MyOtherBean otherBean=(MyOtherBean)iterator.next();
MyCommmandBean bean = new MyCommandBean();
bean.attribute1 = outBean.getAttirbute1();
// get other attibutes
newcol.add(bean);
return newcol; -
How is EP linked to Web Dynpro
Hi boss,
Am new to Web Dynpro willing to train in Web Dynpro, and would like to know how is EP linked to Web Dynpro. When i complete my course how should i market my self as Web Dynpro expert or EP with Web Dynpro.
Please guide me,......Thank's in advance
Points will be rewarded.
Thank you...Hi Ajay,
Webdynpro is SAP Programming model to develope web Based Application.
EP is a FrontEnd tool for Netweaver to display integrated information.
The information displayed in EP may be from R/3, non R/3, Database,WEb Applicatins.
To Display such information in EP we are using some development tools.
In Short Webdynpro is an Enterprise Portal development tool which can fetch
R/3 data,non R/3 data.
You will be integrate your webdynpro application in EP by creating SAP Webdynpro iView.
Of Course thr are lot of EP development Tools are available such asWebdynpro Java, Web Dynpro ABAP,Visual Composer,PDK. etc.
Using Model Concept in webdynpro you can fetch the data from
R/3.
Webdynpro Java needs Basic Java Knowledge and ABAP needs Basic ABAP.
To be am expert ,Familiar with these Links,
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e036712
You can start with tutorials and all. There are around six tutorials in SDN library.
Web Dynpro for ABAP
http://help.sap.com/saphelp_erp2005/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/frameset.htm
best tutorials in wbdynpro for ABAP to start with :
https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken]
Have a look at the following SDN WDA Wiki . There you can find all relevant information.
https://wiki.sdn.sap.com/wiki/display/WDABAP/Main
Regards,
<b>Ramganesan K</b> -
How to Display a complete Web Site ?
hi , I need to know how to display a complete web site using Directly from DMM or DMP ?
anyhow i dont want any dynamic updates, but i need to display the whole page with flash and picture contents ..
Please guide me
thanksThis particular problem has been reported at https://bugzilla.mozilla.org/show_bug.cgi?id=622472 I have just voted for that bug.
Since my last report one month ago above, I have found the "Report Broken Website" appears under the Help menu item, is clickable when a webpage is displayed, but just endlessly displays a "Sending Report to server" dialog. It has never worked for me since several weeks ago. The moving blue bar under "Sending Report" just keeps moving but nothing happens.
Mozilla Firefox 3.6.13 , the latest version according to Check Updates. Windows Vista Home Premium.
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729)
Expected behaviour: I guess the Report menu item should be grayed out or invisible until the reporting mechanism works.
There are a few other related problems with reporting broken websites here:
https://bugzilla.mozilla.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&product=Firefox&content=Report+a+broken+Website -
Hai friends,
I want to call a web dynpro page using portal application(.par). How can i do this.
Please help me on this issue.
Regards,
Krish.1. Create Webdynpro iView
2. Call this iView from PAR based JSP or HTML using JavaScript.
3. The Webdynpro iView PCD path has to be considered for this.
4. javascript: EPCM code
[EPCM NAVIGATION API|http://help.sap.com/saphelp_nw70/helpdata/EN/26/71c74030308431e10000000a1550b0/content.htm]
5. you can also use <iFrame src="" width="" height=""> and call the iview in a new window -
How to display PDF in JSP using Iframe
Hi All,
I am using Struts 2. I am building my file in ActionClass with seperate Method like getGeneratedPDF() in which, I am setting header of response and writing into PDF.
This method will be called from JSP by this way
s:property value="getGeneratedPDF()" />
But It displayed Junk Characters , and this PDF is not static (already Generated). It is generated and build on Fly.
I have 2 questions 1 -- How to display PDF in JSP in proper way without Junk Character in it?
questions 2 -- How to display it in Iframe?
Please help me , If you know the solution.
Thanks in Advance,
Jimmyjamy_26 wrote:
But It displayed Junk Characters , and this PDF is not static (already Generated). It is generated and build on Fly.A PDF file is a binary file, not a text file, and you're trying to display it as String. Of course you would get "junk characters". Have you ever tried opening a binary file (pdf, doc, jpg, xls, etc) using a text editor like Notepad?
I have 2 questions 1 -- How to display PDF in JSP in proper way without Junk Character in it?Display it as binary stream, not as text stream. You can display it standalone, just let the link/form/addressbar URL point to some Servlet which writes the InputStream of the PDF file to the OutputStream of the response, along with a correct set of response headers (at least content-type, content-disposition and content-length), so that the browser can open it in the correct application (which is usually Acrobat Reader). If you want to embed the PDF file in a JSP, then one of the ways is indeed using the HTML <iframe> tag.
questions 2 -- How to display it in Iframe? Just let the iframe URL point to the aforementioned Servlet.
You can find here an example of a generic file servlet, you may find it useful to get the idea how to do it: [http://balusc.blogspot.com/2007/07/fileservlet.html]. -
How to display query result in seperated page.
How to display query result in seperated page, if the results are very big (more than 5000 records) and there are so many concurrent users (about 500 - 1000 users).
Are there any solutions or frameworks?
Plese help me .........
thanks,
--bhasinHi,
How to display query result in seperated page?I think RowSet will be the better technology to use in this
situation.For more information on this please visit http://developer.java.sun.com/developer/Books/JDBCTutorial/chapter5.html
which explains in detail about RowSets.
Hope this helps.
Good Luck.
Gayam.Srinivasa Reddy
Developer Technical Support
Sun Microsystems
http://www.sun.com/developers/support/ -
How to create calendar in web dynpro abap
Hi ,
how to create calendra in web dynpro abap.
Thanks in advance.
Regards, Chetanhi,
For calender control, there is Date Navigator under "complex tab". You can just click and drag it and provide calender control.
One more easy way is to create a input field. In the context, create a node and attribute of type "D"(which means DATE). And bind the context to your input field under "values" in property window. While running the program, you will see an calender attached to lt on the input field.
Regards,
Jithin -
Dynamically generate PDF with web dynpro
Is it possible to generate a PDF in web dynpro abap without using the interactive form UI element ? In other words just take the data in my context and convert that into a xstring pdf using a predefined template and interface?
Hi
Do tell your solution for others to benefit
Regards
Yuval -
How to display flash file in adf pages
how to display flash file in adf pages need help
Thanks all,
It is resolved.
the code i am using to display a flash is below.
<f:verbatim>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version
=10,0,0,0" width="300" height="300" id="11gR1_aniH_grey" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="wmode" value="transparent" />
<param name="movie" value="mx2004demo.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#4d5c64" />
<embed src="../Images/mx2004demo.swf" quality="high" width="300" height="300" name="mx2004demo.swf" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false"
type="application/x-shockwave-flash" wmode="transparent"
pluginspage="http://www.adobe.com/go/getflashplayer" />
</object>
</f:verbatim>
Maybe you are looking for
-
CS4 jsx app.place leaving object problem
Hi, I have a jsx script that I am developing for InDesign CS4. The script acquires an xml string, then after doing some manipulation on it, saves it to a UTF-8 file. After saving the file, the script does an app.place() using the file it saved. The f
-
when I upgraded to 4.0 the program states "You must reboot your system to an earlier version" and it locks you out of the internet unless you have another server proxy
-
Just installed an Epson Artisan 710 All-in-One and have it working wireless, only problem so far is printing from IPhoto 9. It is a "no-go". Keep getting error message and program shuts down. Any ideas?
-
Requerying MS Access table?
Hi, Ok, I got my insert statement to work now using a preparedstatement. I noticed now that my JTable doesn't reflect the new record unless I stop and restart my application. I'm using a JTabbedPane and adding a class that extends AbstractTableModel
-
SSRS 2008 - Unable to connect to remote server
Win2k3 R2 SP2/SQL Server 2008 instance with SSRS/Visual Studio 2008 I installed SQL 2008 and SSRS with native mode default configuration. All SQL 2008 services are running under "NT Authority\Network Service" account. When i try to deploy a new repor