<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem using method CL_BDS_DOCUMENT_SET-CREATE_WITH_OWN_URL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-method-cl-bds-document-set-create-with-own-url/m-p/5714658#M1297149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jun 2009 05:55:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-15T05:55:01Z</dc:date>
    <item>
      <title>Problem using method CL_BDS_DOCUMENT_SET-CREATE_WITH_OWN_URL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-method-cl-bds-document-set-create-with-own-url/m-p/5714657#M1297148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to do this in brief:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add a web url to attachments list of QM and CS notifications. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/raja.thangamani/blog/2007/06/27/bsphow-to-create-attachment-in-business-transactions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found one method in the class CL_BDS_DOCUMENT_SET that should help me doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE_WITH_OWN_URL, this should help me with URLS, but i get a dump every time i try to execute the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debugging the application, I found that the problem is with this function module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder, how do I make it work???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found this SAP note, but I dont know how if it is going to help or not:&lt;/P&gt;&lt;P&gt;Note: 0001227526&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be really lucky if some one can help me regarding this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Chinnu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2009 05:45:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-method-cl-bds-document-set-create-with-own-url/m-p/5714657#M1297148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-11T05:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using method CL_BDS_DOCUMENT_SET-CREATE_WITH_OWN_URL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-method-cl-bds-document-set-create-with-own-url/m-p/5714658#M1297149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 05:55:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-method-cl-bds-document-set-create-with-own-url/m-p/5714658#M1297149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-15T05:55:01Z</dc:date>
    </item>
  </channel>
</rss>

