<?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: GOS functionality disable Delete button in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/gos-functionality-disable-delete-button/m-p/714857#M33090</link>
    <description>&lt;P&gt;thanks. It works well for me.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Oct 2018 08:19:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-10-25T08:19:19Z</dc:date>
    <item>
      <title>GOS functionality disable Delete button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gos-functionality-disable-delete-button/m-p/714855#M33088</link>
      <description>&lt;P&gt;Is there a possibility to disable ONLY the Delete attachment button on GOS (Generic Object Services)? I've tried with the BADI implementation GOS_SRV_REQUEST (from the source below), but this disable also the New and Change options.&lt;/P&gt;
  &lt;P&gt;&lt;A href="http://zevolving.com/2012/01/generic-object-services-gos-toolbar-part-8-disable-delete-function/"&gt;http://zevolving.com/2012/01/generic-object-services-gos-toolbar-part-8-disable-delete-function/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 06:41:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gos-functionality-disable-delete-button/m-p/714855#M33088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-10-25T06:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: GOS functionality disable Delete button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gos-functionality-disable-delete-button/m-p/714856#M33089</link>
      <description>&lt;P&gt;In ideal scenario you don't want to remove 'Delete' option without removing 'Edit'. So considering your case, I've checked for the badis and the standard code and came to conclusion that you cannot do it in a standard way. But there is one way, you can replace the standard class with custom class, but still there will a hell a lot work you have to do for that in order to work.&lt;/P&gt;&lt;P&gt;Simple way is create an implicit enhancement in class: CL_GOS_ATTACHMENTS and method: SET_TOOLBAR at the end and remove the delete toolbar or pass 'X' in disable field. But implicit enhancements are not the best solution, so you decide and implement accordingly.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/235792-capture.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Mahesh&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 07:43:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gos-functionality-disable-delete-button/m-p/714856#M33089</guid>
      <dc:creator>maheshpalavalli</dc:creator>
      <dc:date>2018-10-25T07:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: GOS functionality disable Delete button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gos-functionality-disable-delete-button/m-p/714857#M33090</link>
      <description>&lt;P&gt;thanks. It works well for me.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 08:19:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gos-functionality-disable-delete-button/m-p/714857#M33090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-10-25T08:19:19Z</dc:date>
    </item>
  </channel>
</rss>

