<?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: Attachment List in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/attachment-list/m-p/1141225#M114668</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Raja, thanks for your help. The method works perfectly !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Dec 2005 13:07:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-30T13:07:13Z</dc:date>
    <item>
      <title>Attachment List</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attachment-list/m-p/1141220#M114663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to add a pushbutton on a QM notification screen, to hilight wether or not attachments are available for notification header / tasks. The pushbutton and the attachment list are no problem but I need to check first if any attachments are available for the notification. I tried to use the method Check_Available of cl_gos_attachment_list but this always seems to return 'X' as result. Does anyone have another solution or tell me where I can find the sap table in which the attachments are stored ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'd make a desperate man very happy ! &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for you answers...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Christof Desmet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2005 09:50:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attachment-list/m-p/1141220#M114663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-30T09:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment List</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attachment-list/m-p/1141221#M114664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Desmet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The class you had used is marked obsolete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try the class CL_ATTACHMENT_LIST ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can even try method READ_ATTACHMENT of class CL_HRRCF_ATTACHMENTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rajasekhar Dinavahi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2005 10:12:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attachment-list/m-p/1141221#M114664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-30T10:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment List</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attachment-list/m-p/1141222#M114665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;welcome to SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_GOS_ATTACHMENT_QUERY=&amp;gt;COUNT_FOR_OBJECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and pass&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is_object-instid = "key of the object"&lt;/P&gt;&lt;P&gt;is_object-typeid = "class"&lt;/P&gt;&lt;P&gt;is_object-catid  = "BO"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2005 10:16:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attachment-list/m-p/1141222#M114665</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-12-30T10:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment List</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attachment-list/m-p/1141223#M114666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Christof,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's just like Raja said. I will just complete the code a bit more with an example of mine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CALL METHOD cl_gos_attachment_query=&amp;gt;count_for_object
    EXPORTING
      is_object = object
      ip_arl    = space
    RECEIVING
      rt_stat   = lt_stat.

  READ TABLE lt_stat INDEX 1 into ls_stat.
  count = ls_stat-counter.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The object has to be a concatenation of your document, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    CONCATENATE object-instid tab-gjahr INTO object-instid.
  ELSE.
    CONCATENATE tab-bukrs tab-belnr tab-gjahr INTO
    object-instid.
  ENDIF.

  MOVE 'BKPF' TO object-typeid.
  MOVE 'BO' TO object-catid.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;   Nuno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2005 11:04:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attachment-list/m-p/1141223#M114666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-30T11:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment List</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attachment-list/m-p/1141224#M114667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nuno, thanks for your help. It works great !!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2005 13:06:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attachment-list/m-p/1141224#M114667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-30T13:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment List</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attachment-list/m-p/1141225#M114668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Raja, thanks for your help. The method works perfectly !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2005 13:07:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attachment-list/m-p/1141225#M114668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-30T13:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment List</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attachment-list/m-p/1141226#M114669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a custom Transaction for which we have activated the GOS icon on the screen. We have that icon and we care able to save the document to the Content repository fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is immediately after attaching the documents, if you use the &lt;/P&gt;&lt;P&gt;" Attachment list" option from the GOS menu, it brings the attached documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you leave the transaction and get in for the same document, the same function is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly pl throw in your ideas on this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vinodh Balakrishnan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 15:26:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attachment-list/m-p/1141226#M114669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-19T15:26:41Z</dc:date>
    </item>
  </channel>
</rss>

