<?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 Accessing GOS Functionality in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-gos-functionality/m-p/4223597#M1009131</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please give me a code sample for how to use the following GOS methods?:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)  CL_GOS_ATTACHMENT_QUERY -- should return a count of attachments, notes, etc for an object&lt;/P&gt;&lt;P&gt;2)  GOS_ATTACHMENT_LIST_POPUP -- popup the Attachment List Window (I think?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to add a button to the toolbar in FB03 that will appear if the object has an attachment and popup the attachment list when clicked on.  Where can I find out more documentation on GOS functions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Points will be credited for help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jul 2008 19:08:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-17T19:08:31Z</dc:date>
    <item>
      <title>Accessing GOS Functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-gos-functionality/m-p/4223597#M1009131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please give me a code sample for how to use the following GOS methods?:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)  CL_GOS_ATTACHMENT_QUERY -- should return a count of attachments, notes, etc for an object&lt;/P&gt;&lt;P&gt;2)  GOS_ATTACHMENT_LIST_POPUP -- popup the Attachment List Window (I think?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to add a button to the toolbar in FB03 that will appear if the object has an attachment and popup the attachment list when clicked on.  Where can I find out more documentation on GOS functions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Points will be credited for help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 19:08:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-gos-functionality/m-p/4223597#M1009131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T19:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing GOS Functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-gos-functionality/m-p/4223598#M1009132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For checking number of attachments&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  i_object1-typeid = 'KNA1'.
  i_object1-catid  = 'BO'.
  i_object1-instid = docno.
  call method cl_gos_attachment_query=&amp;gt;count_for_object
    exporting
     is_object = i_object1
     ip_arl    = space
    receiving
     rt_stat   = i_stat1.
  read table i_stat1 into wa_stat1 index 1.
  if sy-subrc eq c_0.
     move wa_stat1-counter to v_attno1.
  endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For enabling a toolbar button in FB03 , you need to find a userexit or enhancement spot  to accomodate the PF status with an additional button on the basis of V_ATTNO1 (from above said variable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 19:17:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-gos-functionality/m-p/4223598#M1009132</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-07-17T19:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing GOS Functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-gos-functionality/m-p/4223599#M1009133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a®s -- Thanks for responding so quickly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 20:17:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-gos-functionality/m-p/4223599#M1009133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T20:17:45Z</dc:date>
    </item>
  </channel>
</rss>

