<?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: Read data from Object Services in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-object-services/m-p/5113950#M1186314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used function module "'SWU_OBJECT_PUBLISH' to display. This Function module will activate the Object Services button on the screen(Above application tool bar and Next Title of the screen) where this FM is called. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shekar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Aug 2009 18:16:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-18T18:16:48Z</dc:date>
    <item>
      <title>Read data from Object Services</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-object-services/m-p/5113946#M1186310</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;I need to display the text from 'Object Services' for a Material in a report. The Object type is 'BUS1001' for Material . Users Maintain texts in these Object services in Transaction MM03/MM02. I have to extract and display latest text entered by the user for each material in the Report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know, How to extract the Data from Object services? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas will be rewarded with points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shekar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2009 18:34:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-object-services/m-p/5113946#M1186310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-22T18:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Read data from Object Services</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-object-services/m-p/5113947#M1186311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reading form the GOS object would not be a easy task. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps would be like:&lt;/P&gt;&lt;P&gt;1. Get the all GOS attachement which are NOTES by calling method CL_BINARY_RELATION=&amp;gt;READ_LINKS providing the Business Object Key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Call the FM SO_OBJECT_READ to get the NOTE by providing the Folder and Object information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the sample code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT  ztest_np_gos_note.

PARAMETERS: p_matnr TYPE mara-matnr.

START-OF-SELECTION.
  DATA: gs_lpor TYPE sibflporb.

  gs_lpor-instid = p_matnr.
  gs_lpor-typeid = 'BUS1001006'.
  gs_lpor-catid  = 'BO'.

  DATA: lt_relat TYPE obl_t_relt,
        la_relat LIKE LINE OF lt_relat.

  la_relat-sign = 'I'.
  la_relat-option = 'EQ'.
  la_relat-low = 'NOTE'.
  APPEND la_relat TO lt_relat.

  DATA: t_links TYPE obl_t_link,
        la_links LIKE LINE OF t_links.

  DATA: lo_root TYPE REF TO cx_root.

  TRY.
      CALL METHOD cl_binary_relation=&amp;gt;read_links
        EXPORTING
          is_object           = gs_lpor
          it_relation_options = lt_relat
        IMPORTING
          et_links            = t_links.
    CATCH cx_root INTO lo_root.
  ENDTRY.

  DATA l_folder_id TYPE soodk.
  DATA l_object_id TYPE soodk.
  DATA document_id       TYPE sofmk.

  READ TABLE t_links INTO la_links INDEX 1.

  document_id = la_links-instid_b.

  l_folder_id-objtp = document_id-foltp.
  l_folder_id-objyr = document_id-folyr.
  l_folder_id-objno = document_id-folno.
  l_object_id-objtp = document_id-doctp.
  l_object_id-objyr = document_id-docyr.
  l_object_id-objno = document_id-docno.

  DATA document_content  TYPE STANDARD TABLE OF soli.

  CALL FUNCTION 'SO_OBJECT_READ'
    EXPORTING
      folder_id                  = l_folder_id
      object_id                  = l_object_id
    TABLES
      objcont                    = document_content
    EXCEPTIONS
      active_user_not_exist      = 1
      communication_failure      = 2
      component_not_available    = 3
      folder_not_exist           = 4
      folder_no_authorization    = 5
      object_not_exist           = 6
      object_no_authorization    = 7
      operation_no_authorization = 8
      owner_not_exist            = 9
      parameter_error            = 10
      substitute_not_active      = 11
      substitute_not_defined     = 12
      system_failure             = 13
      x_error                    = 14
      OTHERS                     = 15.
  IF sy-subrc &amp;lt;&amp;gt; 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2009 19:23:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-object-services/m-p/5113947#M1186311</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2009-01-22T19:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Read data from Object Services</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-object-services/m-p/5113948#M1186312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Patel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excellent!!! Problem Solved...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks alot &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shekar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2009 20:11:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-object-services/m-p/5113948#M1186312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-22T20:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Read data from Object Services</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-object-services/m-p/5113949#M1186313</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;which method do you use to display notes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use fm SGOS_NOTE_DISPLAY, but it dumps every time I enter data ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 10:29:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-object-services/m-p/5113949#M1186313</guid>
      <dc:creator>former_member515616</dc:creator>
      <dc:date>2009-05-13T10:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Read data from Object Services</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-object-services/m-p/5113950#M1186314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used function module "'SWU_OBJECT_PUBLISH' to display. This Function module will activate the Object Services button on the screen(Above application tool bar and Next Title of the screen) where this FM is called. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shekar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2009 18:16:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-object-services/m-p/5113950#M1186314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-18T18:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Read data from Object Services</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-object-services/m-p/5113951#M1186315</link>
      <description>&lt;P&gt;have you done downloading of File to presentation server?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 09:26:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-object-services/m-p/5113951#M1186315</guid>
      <dc:creator>arpita_churi3</dc:creator>
      <dc:date>2020-09-14T09:26:58Z</dc:date>
    </item>
  </channel>
</rss>

