<?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 BAPI Help - BAPI_REL_GETRELATIONS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-help-bapi-rel-getrelations/m-p/4403827#M1046718</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really am in need of some help with this BAPI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: objectid type bapiborid.

  objectid-objkey  = material.
  objectid-objtype = 'BUS1080'.

  if sy-mandt = '260'.
    objectid-logsys  = 'IRDCLNT260'.
  elseif sy-mandt = '220'.
    objectid-logsys  = 'IRDCLNT220'.
  endif.

call function 'BAPI_REL_GETRELATIONS'
  exporting
    objectid              = objectid
*   ROLE                  =
*   RELATION              =
*   RECURSIONLEVEL        = 1
  IMPORTING
    RETURN                = RETURN4
 tables
   listofrelations       = list_of_relations.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However it is not returning anything at all and also there is no information in the return paramater! I am sure I am passing the correct parameters to the BAPI but to no avail. What I am trying to do is get all the object links (or relations) held against this object (Material) ... Any ideas??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Sep 2008 12:35:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-02T12:35:10Z</dc:date>
    <item>
      <title>BAPI Help - BAPI_REL_GETRELATIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-help-bapi-rel-getrelations/m-p/4403827#M1046718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really am in need of some help with this BAPI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: objectid type bapiborid.

  objectid-objkey  = material.
  objectid-objtype = 'BUS1080'.

  if sy-mandt = '260'.
    objectid-logsys  = 'IRDCLNT260'.
  elseif sy-mandt = '220'.
    objectid-logsys  = 'IRDCLNT220'.
  endif.

call function 'BAPI_REL_GETRELATIONS'
  exporting
    objectid              = objectid
*   ROLE                  =
*   RELATION              =
*   RECURSIONLEVEL        = 1
  IMPORTING
    RETURN                = RETURN4
 tables
   listofrelations       = list_of_relations.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However it is not returning anything at all and also there is no information in the return paramater! I am sure I am passing the correct parameters to the BAPI but to no avail. What I am trying to do is get all the object links (or relations) held against this object (Material) ... Any ideas??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2008 12:35:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-help-bapi-rel-getrelations/m-p/4403827#M1046718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-02T12:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Help - BAPI_REL_GETRELATIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-help-bapi-rel-getrelations/m-p/4403828#M1046719</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;&lt;/P&gt;&lt;P&gt;Pls check these links below-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="982266"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="983713"&gt;&lt;/A&gt;&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;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Lekha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2008 13:44:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-help-bapi-rel-getrelations/m-p/4403828#M1046719</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-02T13:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Help - BAPI_REL_GETRELATIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-help-bapi-rel-getrelations/m-p/4403829#M1046720</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;Are you sure you must use BUS1080 and not &lt;STRONG&gt;BUS1001&lt;/STRONG&gt; ? &lt;/P&gt;&lt;P&gt;If so then remember that bus1080 has three keyfields. Are you syre you passed those three keyfields in the objectid?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Bert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2008 14:04:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-help-bapi-rel-getrelations/m-p/4403829#M1046720</guid>
      <dc:creator>b_deterd2</dc:creator>
      <dc:date>2008-09-02T14:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Help - BAPI_REL_GETRELATIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-help-bapi-rel-getrelations/m-p/4403830#M1046721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;done&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 15:35:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-help-bapi-rel-getrelations/m-p/4403830#M1046721</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-27T15:35:24Z</dc:date>
    </item>
  </channel>
</rss>

