<?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 Material attachment list in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-attachment-list/m-p/1045248#M87702</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get the attachment list for a material. There are classes available to the attachemtn list as popup but I want to get this value in an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Dec 2005 11:45:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-14T11:45:02Z</dc:date>
    <item>
      <title>Material attachment list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-attachment-list/m-p/1045248#M87702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get the attachment list for a material. There are classes available to the attachemtn list as popup but I want to get this value in an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 11:45:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-attachment-list/m-p/1045248#M87702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T11:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Material attachment list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-attachment-list/m-p/1045249#M87703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can use function module &amp;lt;b&amp;gt;SREL_GET_NEXT_RELATIONS&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  DATA : ls_object LIKE borident,
         lt_links LIKE relgraphlk OCCURS 0 WITH HEADER LINE.  

  MOVE &amp;lt;your material number&amp;gt; TO ls_object-objkey.
  MOVE 'BUS1001' TO ls_object-objtype. "BOR Type for Material

  CALL FUNCTION 'SREL_GET_NEXT_RELATIONS'
       EXPORTING
         object          = ls_object
         roletype        = 'APPLOBJ'
         relationtype    = 'OFFD'   
*         MAX_HOPS       = 1
      TABLES
          links          = lt_links
*         ROLES          =
      EXCEPTIONS
           internal_error = 1
           no_logsys      = 2
           OTHERS         = 3 .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 12:58:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-attachment-list/m-p/1045249#M87703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T12:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Material attachment list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-attachment-list/m-p/1045250#M87704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It did't not work. But I tried calling function module before posting the question with following parameters: BUS1001006 &amp;amp; APPLOBJ. I got some data but not very helpful, gets a object key like this: FOL30000000000004URL30000000000032. Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 17:34:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-attachment-list/m-p/1045250#M87704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T17:34:16Z</dc:date>
    </item>
  </channel>
</rss>

