Hello everyone,
I am trying to do this in brief:
I want to add a web url to attachments list of QM and CS notifications.
I was refering this blog, which helped me verymuch. Raja Thangamani has explained well about adding an attachment by uploading a document in this blog. This is really helpful in understanding the process.
[https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6809] [original link is broken] [original link is broken] [original link is broken];
I have found one method in the class CL_BDS_DOCUMENT_SET that should help me doing this.
CREATE_WITH_OWN_URL, this should help me with URLS, but i get a dump every time i try to execute the same.
Debugging the application, I found that the problem is with this function module:
DP_GET_STREAM_FROM_URL, this function module is trying to read the document specified in the URL, or like to get the document content.
I am passing a web url to a word document, with MIME type application/msword, and also tried with applicaation/x-unknown. It did not work. But as per Class documentation, it must work.
I wonder, how do I make it work???
I have found this SAP note, but I dont know how if it is going to help or not:
Note: 0001227526
I will be really lucky if some one can help me regarding this.
Thanks and regards,
Chinnu
Edited by: Chinnu on Jun 10, 2009 9:28 AM