on 08-07-2009 11:20 AM
Hi All,
I want to open an attachment from ABAP Webdynpro.
I have approached in this fashion:
1) Get the attachments as SOFM object key
2) On Click of a link on Webdynpro, I am calling a function module within which I am creating an instance of the SOFM object
3) Then I am calling the DISPLAY method
It is not opening.
But, if it opens when I driectly execute the function module. It open when I directly test the business object.
Any Idea ?
Thanks & Regards,
Deb
solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Display Method uses the Dialogue Module, You should not access such methods in web dynpro which are SAPGUI specific.
Web Dynpro Applications are run in Browser environment which cannot understand Dialog, it can understand only HTML.
Read the attachments and get the content and use FileDownload UI element to show it to user.
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.