<?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 Generic Object Services for MB21 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-mb21/m-p/8019090#M1608530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear friends,&lt;/P&gt;&lt;P&gt;  I would like to have GOS toolbar for Material Reservation - Tcode - MB21/22/23. Since this is not available in standard I have used implicit enhancement for creating instance of the class &lt;STRONG&gt;CL_GOS_MANAGER&lt;/STRONG&gt; when the reservation is created(MB21) and then pass the key(reservation number) once the reservation number is available using  &lt;STRONG&gt;set_id_of_published_object&lt;/STRONG&gt; method of class CL_GOS_MANAGER. I have used the code mentioned in the &lt;U&gt;below link&lt;/U&gt;. I can see the GOS toolbar in the MB21 screen and able to attach documents as well. But the problem is I am not able to view them in MB22/23 even though I instantiate CL_GOS_MANAGER  with the key(reservation number). I think apart from instantiating the object and passing the key we need to do some more code to be able to view the documents in the change and display tcodes. Let me know what i am missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/c4/3fe63659241157e10000009b38f889/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/c4/3fe63659241157e10000009b38f889/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jul 2011 10:57:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-07-25T10:57:56Z</dc:date>
    <item>
      <title>Generic Object Services for MB21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-mb21/m-p/8019090#M1608530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear friends,&lt;/P&gt;&lt;P&gt;  I would like to have GOS toolbar for Material Reservation - Tcode - MB21/22/23. Since this is not available in standard I have used implicit enhancement for creating instance of the class &lt;STRONG&gt;CL_GOS_MANAGER&lt;/STRONG&gt; when the reservation is created(MB21) and then pass the key(reservation number) once the reservation number is available using  &lt;STRONG&gt;set_id_of_published_object&lt;/STRONG&gt; method of class CL_GOS_MANAGER. I have used the code mentioned in the &lt;U&gt;below link&lt;/U&gt;. I can see the GOS toolbar in the MB21 screen and able to attach documents as well. But the problem is I am not able to view them in MB22/23 even though I instantiate CL_GOS_MANAGER  with the key(reservation number). I think apart from instantiating the object and passing the key we need to do some more code to be able to view the documents in the change and display tcodes. Let me know what i am missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/c4/3fe63659241157e10000009b38f889/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/c4/3fe63659241157e10000009b38f889/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 10:57:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-mb21/m-p/8019090#M1608530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-25T10:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Object Services for MB21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-mb21/m-p/8019091#M1608531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear friends,&lt;/P&gt;&lt;P&gt;  I would like to have GOS toolbar for Material Reservation - Tcode - MB21/22/23. Since this is not available in standard I have used implicit enhancement for creating instance of the class &lt;STRONG&gt;CL_GOS_MANAGER&lt;/STRONG&gt; when the reservation is created(MB21) and then pass the key(reservation number) once the reservation number is available using  &lt;STRONG&gt;set_id_of_published_object&lt;/STRONG&gt; method of class CL_GOS_MANAGER. I have used the code mentioned below. I can see the GOS toolbar in the MB21 screen and able to attach documents as well. But the problem is I am not able to view them in MB22/23 even though I instantiate CL_GOS_MANAGER  with the key(reservation number). I think apart from instantiating the object and passing the key we need to do some more code to be able to view the documents in the change and display tcodes. Let me know what i am missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;Set object Key&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   la_obj-objtype = 'BUS2093'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   la_obj-objkey  = rkpf-rsnum.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IF rkpf-rsnum IS NOT INITIAL and go_manager is not initial.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       CALL METHOD go_manager-&amp;gt;set_id_of_published_object&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              is_object = la_obj.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     else.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     CREATE OBJECT go_manager&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         is_object      = la_obj&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         ip_no_instance = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         OTHERS         = 1.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     endif.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 06:09:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-mb21/m-p/8019091#M1608531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-27T06:09:55Z</dc:date>
    </item>
  </channel>
</rss>

