<?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: Why BAPI_CONTRACT_GETDETAIL creates a GOS object button? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-contract-getdetail-creates-a-gos-object-button/m-p/411378#M10955</link>
    <description>&lt;P&gt;The GOS functionality will allow any attachments that have been associated with that contract to be viewed. That would be my guess.&lt;/P&gt;&lt;P&gt;Bruce&lt;/P&gt;</description>
    <pubDate>Thu, 02 Mar 2017 19:30:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-03-02T19:30:10Z</dc:date>
    <item>
      <title>Why BAPI_CONTRACT_GETDETAIL creates a GOS object button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-contract-getdetail-creates-a-gos-object-button/m-p/411377#M10954</link>
      <description>&lt;P&gt;Hi gurus,&lt;/P&gt;&lt;P&gt;I use FM BAPI_CONTRACT_GETDETAIL to get information for certain contract
number.&lt;/P&gt;&lt;P&gt;But during its work it creates a GOS Object button on screen.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/23363-gos.png" /&gt;&lt;/P&gt;&lt;P&gt;Is it even normal for such kind of BAPI? I mean, I don’t create or change a
contract, just read. This behavior isn’t relevant to data reading. I find this
completely illogical to influence GUI from BAPI.&lt;/P&gt;&lt;P&gt;Any ideas, why this function was implemented in such kind of BAPI?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 15:53:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-contract-getdetail-creates-a-gos-object-button/m-p/411377#M10954</guid>
      <dc:creator>former_member234832</dc:creator>
      <dc:date>2017-03-02T15:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why BAPI_CONTRACT_GETDETAIL creates a GOS object button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-contract-getdetail-creates-a-gos-object-button/m-p/411378#M10955</link>
      <description>&lt;P&gt;The GOS functionality will allow any attachments that have been associated with that contract to be viewed. That would be my guess.&lt;/P&gt;&lt;P&gt;Bruce&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 19:30:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-contract-getdetail-creates-a-gos-object-button/m-p/411378#M10955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-03-02T19:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Why BAPI_CONTRACT_GETDETAIL creates a GOS object button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-contract-getdetail-creates-a-gos-object-button/m-p/411379#M10956</link>
      <description>&lt;P&gt;We don't use purchasing contracts, so I can't confirm. It looks like you're testing BAPI using SE37. Are you sure the button is related to this BAPI specifically? Did you click on it to see what it does?&lt;/P&gt;&lt;P&gt;As Bruce replied, this &lt;STRONG&gt;is&lt;/STRONG&gt; relevant to data reading but it is rather odd so see such behavior in BAPI.&lt;/P&gt;&lt;P&gt;If you suspect there is some problem in standard SAP then open an incident with SAP Support. Or maybe it's a "feature", then there might be an SAP note explaining where this came from.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 21:05:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-contract-getdetail-creates-a-gos-object-button/m-p/411379#M10956</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2017-03-02T21:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why BAPI_CONTRACT_GETDETAIL creates a GOS object button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-contract-getdetail-creates-a-gos-object-button/m-p/411380#M10957</link>
      <description>&lt;P&gt;Yes, it is exactly
what GOS does. And you're right, in this case it maintains corresponding
contract. But such kind of logic is not typical for BAPI, which must read data
rather than create GOS Object button.&lt;/P&gt;&lt;P&gt;If I want to create
button, I prefer to use FM like *CREATE_GOS* (or create it using object
cl_gos_publication for example). If there is no some secret implicit purpose,
that it’s a very, very bad style called violation of the single responsibility
principle.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 12:05:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-contract-getdetail-creates-a-gos-object-button/m-p/411380#M10957</guid>
      <dc:creator>former_member234832</dc:creator>
      <dc:date>2017-03-03T12:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why BAPI_CONTRACT_GETDETAIL creates a GOS object button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-contract-getdetail-creates-a-gos-object-button/m-p/411381#M10958</link>
      <description>&lt;P&gt;The button is related to BAPI. Of course I had tested it in different environments (including a report, where I found this "feature").&lt;/P&gt;&lt;P&gt;I've also debugged the source and found where the magic happens. It doesn't depend on input data.&lt;/P&gt;&lt;P&gt;I'll try to follow your advice and open an incident.&lt;/P&gt;</description>
      <pubDate>Sun, 07 May 2017 12:17:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-bapi-contract-getdetail-creates-a-gos-object-button/m-p/411381#M10958</guid>
      <dc:creator>former_member234832</dc:creator>
      <dc:date>2017-05-07T12:17:06Z</dc:date>
    </item>
  </channel>
</rss>

