<?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: Deactivate the attachments using SGOS for unauthorized users in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-the-attachments-using-sgos-for-unauthorized-users/m-p/9649468#M1763949</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a check box 'commit required' in Tcode SGOS. we had missed it. after checking it documents were getting saved.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Aug 2013 14:30:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-08-16T14:30:57Z</dc:date>
    <item>
      <title>Deactivate the attachments using SGOS for unauthorized users</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-the-attachments-using-sgos-for-unauthorized-users/m-p/9649463#M1763944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;We have a requirement to restrict Some users from displaying and creating the attachments.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;We have created 2 custom classes which inherit the below standard classes.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;CL_GOS_SRV_ATTACHMENT_LIST&lt;/P&gt;&lt;P&gt;CL_GOS_SRV_ATTACHMENT_CREATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Then the method "check_status" in both class is changed to deactivate the attachment.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Also the changes are done in transaction "SGOS"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PCATTA_CREA&amp;nbsp; Active&amp;nbsp; Z_GOS_SRV_ATTACHMENT_CREATE&lt;/P&gt;&lt;P&gt;VIEW_ATTA&amp;nbsp;&amp;nbsp;&amp;nbsp; Active&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Z_GOS_SRV_ATTACHMENT_LIST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample source code of both class methods are attached for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attachment is deactivated for unauthorized users as per requirement.&lt;/P&gt;&lt;P&gt;The authorized users can see and create the attachments in FB02, ME22N.&lt;/P&gt;&lt;P&gt;However for transaction &lt;STRONG&gt;FBL5N&lt;/STRONG&gt; when user tries to add the attachment system gives message as attachment saved. but when the user saves the record and comes out of the transaction then in display mode the attachment is not visible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please guide us what changes are required for this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 21:41:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-the-attachments-using-sgos-for-unauthorized-users/m-p/9649463#M1763944</guid>
      <dc:creator>gphadnis2000</dc:creator>
      <dc:date>2013-08-06T21:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate the attachments using SGOS for unauthorized users</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-the-attachments-using-sgos-for-unauthorized-users/m-p/9649464#M1763945</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;Have you checked the various notes pertaining to the GOS related authorization objects. Might help you achieve it via them. Check the link below, the point 4 deals with authorization specific notes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://wiki.sdn.sap.com/wiki/display/SI/Frequently+asked+questions+about+Generic+Object+Services+%28GOS%29#FrequentlyaskedquestionsaboutGenericObjectServices%28GOS%29-Issue4" title="http://wiki.sdn.sap.com/wiki/display/SI/Frequently+asked+questions+about+Generic+Object+Services+%28GOS%29#FrequentlyaskedquestionsaboutGenericObjectServices%28GOS%29-Issue4"&gt;http://wiki.sdn.sap.com/wiki/display/SI/Frequently+asked+questions+about+Generic+Object+Services+%28GOS%29#FrequentlyaskedquestionsaboutGenericObjectServices%28GOS%29-Issue4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 23:34:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-the-attachments-using-sgos-for-unauthorized-users/m-p/9649464#M1763945</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-08-06T23:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate the attachments using SGOS for unauthorized users</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-the-attachments-using-sgos-for-unauthorized-users/m-p/9649465#M1763946</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;Thanks for the information.We have checked the notes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also we can do this using below classes.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #f8f8f8; color: #333333;"&gt;CL_GOS_SRV_ATTACHMENT_LIST&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #f8f8f8; color: #333333;"&gt;CL_GOS_SRV_ATTACHMENT_CREATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #f8f8f8; color: #333333;"&gt;Could you please refer my attachment source code and let me know if we need to make any correction in code ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #f8f8f8; color: #333333;"&gt;Thanks&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #f8f8f8; color: #333333;"&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 05:51:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-the-attachments-using-sgos-for-unauthorized-users/m-p/9649465#M1763946</guid>
      <dc:creator>gphadnis2000</dc:creator>
      <dc:date>2013-08-07T05:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate the attachments using SGOS for unauthorized users</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-the-attachments-using-sgos-for-unauthorized-users/m-p/9649466#M1763947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go in transaction OAC3, try to find your FBL5n (must be a BKPF entry), in the column link you will find the table that store this link, maybe TOA01 (the default one). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look inside the table TOA01 if you could find your document with object type, doc type and the key of the table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 06:01:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-the-attachments-using-sgos-for-unauthorized-users/m-p/9649466#M1763947</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2013-08-07T06:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate the attachments using SGOS for unauthorized users</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-the-attachments-using-sgos-for-unauthorized-users/m-p/9649467#M1763948</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;Table TOA01 does not contain entry for my document. &lt;/P&gt;&lt;P&gt;I removed my custom code and attached the file. Attachment was success but still there is no entry in this table and i can see the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #f8f8f8;"&gt;I noticed that the class CL_GOS_SRV_ATTACHMENT_CREATE is creating the problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #f8f8f8;"&gt;In SGOS i removed my custom class and placed the standard &lt;SPAN style="color: #333333; font-size: 12px; background-color: #f8f8f8;"&gt;CL_GOS_SRV_ATTACHMENT_CREATE&lt;/SPAN&gt;. In this case also the attachments are not created.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #f8f8f8;"&gt;Could you please suggest ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #f8f8f8;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #f8f8f8;"&gt;Gaurav&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 06:42:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-the-attachments-using-sgos-for-unauthorized-users/m-p/9649467#M1763948</guid>
      <dc:creator>gphadnis2000</dc:creator>
      <dc:date>2013-08-07T06:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate the attachments using SGOS for unauthorized users</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-the-attachments-using-sgos-for-unauthorized-users/m-p/9649468#M1763949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a check box 'commit required' in Tcode SGOS. we had missed it. after checking it documents were getting saved.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2013 14:30:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-the-attachments-using-sgos-for-unauthorized-users/m-p/9649468#M1763949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-16T14:30:57Z</dc:date>
    </item>
  </channel>
</rss>

