<?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: Generic Object Services for a Z program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-a-z-program/m-p/1256914#M146432</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Ibrahim Tamayo, Do you mind explaining how exactly you uploaded a file and saved in the repository. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Murali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Apr 2006 22:05:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-07T22:05:43Z</dc:date>
    <item>
      <title>Generic Object Services for a Z program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-a-z-program/m-p/1256907#M146425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a Z application for displaying master material data, related batchs, associated QA, and PP data, all in one screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to have the Object Services Toolbox in the top of my screen just like in Material Master appears, for using it to attach files, notes, etc, being in this environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read about first I need to create a BO in SW01, and then to call some methods in class CL_GOS_MANAGER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have experience or any idea for do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ibrahim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 20:01:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-a-z-program/m-p/1256907#M146425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-27T20:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Object Services for a Z program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-a-z-program/m-p/1256908#M146426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do this will place the toolbox, in the titlebar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

REPORT ZRICH_0001 .


parameters: p_qmnum type viqmel-qmnum.


at selection-screen output.

* Maint nofification
  CALL FUNCTION 'SWU_OBJECT_PUBLISH'
    EXPORTING
      objtype                 = 'BUS2038'
      objkey                  = p_qmnum 
*     CREATOR                 = ' '
*     METHOD                  = ' '
*   TABLES
*     CONTAINER               =
   EXCEPTIONS
     OBJTYPE_NOT_FOUND       = 1
     OTHERS                  = 2.


start-of-selection.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rich Heilman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 20:04:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-a-z-program/m-p/1256908#M146426</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-03-27T20:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Object Services for a Z program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-a-z-program/m-p/1256909#M146427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Slight modification,  check that a number has been entered in the field before you put the toolbox on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001 .


parameters: p_qmnum type VIQMEL-qmnum.


at selection-screen output.

&amp;lt;b&amp;gt;check p_qmnum &amp;lt;&amp;gt; space.&amp;lt;/b&amp;gt;

  call function 'SWU_OBJECT_PUBLISH'
    exporting
      objtype                 = 'BUS2038'  "Maint notification
      objkey                  = p_qmnum
*     CREATOR                 = ' '
*     METHOD                  = ' '
*   TABLES
*     CONTAINER               =
   exceptions
     objtype_not_found       = 1
     others                  = 2.


start-of-selection.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested this with a valid notification,  I created an attachment in IW22,  then ran this program,  entered the number, hit enter, went into the toolbox, and my attachement was there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 20:16:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-a-z-program/m-p/1256909#M146427</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-03-27T20:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Object Services for a Z program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-a-z-program/m-p/1256910#M146428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Z Application do the following code changes.&lt;/P&gt;&lt;P&gt;In the TOP Include define&lt;/P&gt;&lt;P&gt;I am taking example of custom business object.ZBUS1001 delegation from BUS1001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS CL_GOS_MANAGER DEFINATION LOAD.&lt;/P&gt;&lt;P&gt;data : lo_object type ref to cl_gos_manager,&lt;/P&gt;&lt;P&gt;       ls_object type borident. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now In PBO&lt;/P&gt;&lt;P&gt;in case of change mode key is known. But in case of create mode Key is unknown.&lt;/P&gt;&lt;P&gt;ls_object-objtype = 'ZBUS1001'.&lt;/P&gt;&lt;P&gt;ls_object-objkey = ''.&lt;/P&gt;&lt;P&gt;Create object lo_object&lt;/P&gt;&lt;P&gt;              exporting is_object = ls_object&lt;/P&gt;&lt;P&gt;              ip_no_instance = 'X'&lt;/P&gt;&lt;P&gt;              exceptions others = 1.&lt;/P&gt;&lt;P&gt;After Save when Key is avaiable&lt;/P&gt;&lt;P&gt;ls_object=objkey = ZBUS1001-ID.&lt;/P&gt;&lt;P&gt;call method lo_object-&amp;gt;set_id_of_published_object&lt;/P&gt;&lt;P&gt;            exporting&lt;/P&gt;&lt;P&gt;            is_object = ls_object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 20:57:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-a-z-program/m-p/1256910#M146428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-27T20:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Object Services for a Z program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-a-z-program/m-p/1256911#M146429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rich:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer,&lt;/P&gt;&lt;P&gt;Your solution didnt worked for my case.&lt;/P&gt;&lt;P&gt;I used parameter: p_matnr like mara-matnr&lt;/P&gt;&lt;P&gt;and objtype 'BUS1001' (material).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The toolbox works ok, I can attach notes or files from my Z program. And I see them after in attachments list. But in standard MM03 I see different attachments for the same material number. They dont match never. Its like I am pointing to different objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides of that, this FM says to be Obsolete for my SAP version 4.7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any other suggestion?&lt;/P&gt;&lt;P&gt;thanks a lot anyway,&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ibrahim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 13:46:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-a-z-program/m-p/1256911#M146429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-28T13:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Object Services for a Z program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-a-z-program/m-p/1256912#M146430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Aman:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your solution worked ok, but after upload an attachment or note,  next time I came in, It dissapear, probably, something is missing when saving the new object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ibrahim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 14:07:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-a-z-program/m-p/1256912#M146430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-28T14:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Object Services for a Z program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-a-z-program/m-p/1256913#M146431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rich:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function 'SWU_OBJECT_PUBLISH' finally worked OK.&lt;/P&gt;&lt;P&gt;I change the business object to 'BUS1001006' the same that use the MM03 transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although the FM documentation says it is obsolete, the standard program uses it !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot !&lt;/P&gt;&lt;P&gt;Ibrahim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 14:09:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-a-z-program/m-p/1256913#M146431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-28T14:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Object Services for a Z program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-a-z-program/m-p/1256914#M146432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Ibrahim Tamayo, Do you mind explaining how exactly you uploaded a file and saved in the repository. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Murali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2006 22:05:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-a-z-program/m-p/1256914#M146432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-07T22:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Object Services for a Z program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-a-z-program/m-p/1256915#M146433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murali:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the FM 'SWU_OBJECT_PUBLISH' with the same business object than uses the MM01-MM02-MM03 transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 12:14:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-object-services-for-a-z-program/m-p/1256915#M146433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-10T12:14:40Z</dc:date>
    </item>
  </channel>
</rss>

