<?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: Creating attachments in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-attachments/m-p/1541945#M246807</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Using OAOR transaction, by giving the class name and the Class type (as 'Business Objects'), I could see the attachments. But, I could not transport them as it is giving message 'SAP GOS documents cannot be processed using BDN (Business Document Navigator)'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, when a document is stored using GOS, where does it actually get stored and how to get that path where is it stored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vishnu Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Sep 2006 04:20:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-12T04:20:10Z</dc:date>
    <item>
      <title>Creating attachments</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-attachments/m-p/1541943#M246805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created an attachment to a custom program using  Generic Object Services class CL_GOS_MANAGER  and method 'start_service_direct' as shown in the below code. I need information as to where the attached data is internally being stored. I have a requirement where I have to get backup of the attachments stored by this program. Are the attachments stored in a table or  object. Thanks in advance.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA: my_object TYPE REF TO cl_gos_manager.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ls_object TYPE borident.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: li_service TYPE tgos_sels,&lt;/P&gt;&lt;P&gt;ls_service TYPE sgos_sels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE: i_objkey TO ls_object-objkey,&lt;/P&gt;&lt;P&gt;i_objtype TO ls_object-objtype.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE: 'I' TO ls_service-sign,&lt;/P&gt;&lt;P&gt;'EQ' TO ls_service-option,&lt;/P&gt;&lt;P&gt;'SRELATIONS' TO ls_service-low,&lt;/P&gt;&lt;P&gt;'SRELATIONS' TO ls_service-high.&lt;/P&gt;&lt;P&gt;APPEND ls_service TO li_service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT my_object&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;is_object = ls_object&lt;/P&gt;&lt;P&gt;it_service_selection = li_service&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;object_invalid = 1&lt;/P&gt;&lt;P&gt;callback_invalid = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;CALL METHOD my_object-&amp;gt;start_service_direct&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;ip_service = 'SRELATIONS'&lt;/P&gt;&lt;P&gt;is_object = ls_object&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;no_object = 1&lt;/P&gt;&lt;P&gt;object_invalid = 2&lt;/P&gt;&lt;P&gt;execution_failed = 3&lt;/P&gt;&lt;P&gt;OTHERS = 4.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vishnu Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 12:11:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-attachments/m-p/1541943#M246805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-07T12:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Creating attachments</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-attachments/m-p/1541944#M246806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use tocde OAOR to view/save locally the attachments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;of use FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDS_BUSINESSDOCUMENT_GET_TAB to read it programatically&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>Sat, 09 Sep 2006 11:51:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-attachments/m-p/1541944#M246806</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-09-09T11:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Creating attachments</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-attachments/m-p/1541945#M246807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Using OAOR transaction, by giving the class name and the Class type (as 'Business Objects'), I could see the attachments. But, I could not transport them as it is giving message 'SAP GOS documents cannot be processed using BDN (Business Document Navigator)'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, when a document is stored using GOS, where does it actually get stored and how to get that path where is it stored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vishnu Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Sep 2006 04:20:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-attachments/m-p/1541945#M246807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-12T04:20:10Z</dc:date>
    </item>
  </channel>
</rss>

