on 05-13-2011 7:05 AM
Hello Abap gurus:
Is ther any way in web dynpro abap where by clicking on an image a form in pdf can be opened?/
Any help will be appreciated.
Thanks,
Ratna.
Hi.,
Display image as link and on click of link navigate to next view and show pdf using interactive form UI or u can also display it as a pop up in new window.
check this article for how to display image as link. [Display image as link in WDA|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90605106-091c-2e10-6096-fba04faab063?quicklink=index&overridelayout=true].
u will get an idea how to do.,
hope this helps u.,
Thanks & Regards
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Kiran.
The link provide by you helped me..
I have one other question regarding same request...
If a file is located on server and if i need to give the source directory of the file in linktourl reference property..
Please help me in how to get to the file location on the directory.
Thanks,
Ratna.
@Kisnas...Thanks for your reply...
I am using linktoURL UI elemet in my webdynpro and i want to refer the file in NWD server which is other than the server my webdynpro application is running..
So i am want to give the URL of the file in linktourl reference property..
How to access the file in other server location and open it in webdypro applicaiton..
please help me in this regard...
Thanks,
Ratna.
Thanks all for your replies..
Now i moved my file to applicaiton server and i was able to display PDF file successfully by using opendataset and closedata set statements and by using class cl_wd_runtime_services=>attach_file_to_response.
But now i face one other problem i.e, i am not able to display some of the PDF files which are having complex graphics or very large amount of data...
error message says that There was error opening this document. The file is damaged and could not be repaired.
Please help me with your suggesstions.
Thanks,
Ratna.
try interactive form UI and findout the URL for the file (PDF) you want to show there.
and then pass the Xstring of the PDF into the PDf source property of Interactive form.
and check whether you are able to open the files without using the WDA .. means are you able to open it directly
thanks
sarbjeet singh
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.