<?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 Attach Documents to Custom Program Using Generic Object Services in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/attach-documents-to-custom-program-using-generic-object-services/m-p/7697347#M1577615</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;         I created Object type ZGOS and used in the custom program, when i try to attach documents it allows and then shows in attachment list.&lt;/P&gt;&lt;P&gt;        But When I use that program next time that document attached is not available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any separate save Class or FM available for saving the document to the specified custom program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using following code in the program,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR obj.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SET OBJECT TYPE TO 'ZGOS'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  obj-objtype = objtype.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SET OBJECT KEY = REPORT NAME&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SELECT SINGLE name&lt;/P&gt;&lt;P&gt;  FROM trdir&lt;/P&gt;&lt;P&gt;  INTO obj-objkey&lt;/P&gt;&lt;P&gt;  WHERE name = sy-repid.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALL GOS MANAGER WITHOUT CONTAINER (WILL BE DISPLAYED IN THE TOOLBAR)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CREATE OBJECT manager&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      is_object = obj&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS    = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Feb 2011 09:18:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-15T09:18:01Z</dc:date>
    <item>
      <title>Attach Documents to Custom Program Using Generic Object Services</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attach-documents-to-custom-program-using-generic-object-services/m-p/7697347#M1577615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;         I created Object type ZGOS and used in the custom program, when i try to attach documents it allows and then shows in attachment list.&lt;/P&gt;&lt;P&gt;        But When I use that program next time that document attached is not available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any separate save Class or FM available for saving the document to the specified custom program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using following code in the program,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR obj.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SET OBJECT TYPE TO 'ZGOS'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  obj-objtype = objtype.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SET OBJECT KEY = REPORT NAME&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SELECT SINGLE name&lt;/P&gt;&lt;P&gt;  FROM trdir&lt;/P&gt;&lt;P&gt;  INTO obj-objkey&lt;/P&gt;&lt;P&gt;  WHERE name = sy-repid.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALL GOS MANAGER WITHOUT CONTAINER (WILL BE DISPLAYED IN THE TOOLBAR)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CREATE OBJECT manager&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      is_object = obj&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS    = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 09:18:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attach-documents-to-custom-program-using-generic-object-services/m-p/7697347#M1577615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-15T09:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Attach Documents to Custom Program Using Generic Object Services</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attach-documents-to-custom-program-using-generic-object-services/m-p/7697348#M1577616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Check the Naimesh Patel Blog he explain very well&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help-abap.blogspot.com/2009/02/generic-object-services-gos-toolbar.html" target="test_blank"&gt;http://help-abap.blogspot.com/2009/02/generic-object-services-gos-toolbar.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 07:35:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attach-documents-to-custom-program-using-generic-object-services/m-p/7697348#M1577616</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-21T07:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Attach Documents to Custom Program Using Generic Object Services</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attach-documents-to-custom-program-using-generic-object-services/m-p/7697349#M1577617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Naimesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the link provided by you, i explored the solution for the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 05:44:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attach-documents-to-custom-program-using-generic-object-services/m-p/7697349#M1577617</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-26T05:44:03Z</dc:date>
    </item>
  </channel>
</rss>

