<?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: OData Error while fetching single record in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/odata-error-while-fetching-single-record/m-p/12263591#M1987253</link>
    <description>&lt;P&gt;Hello &lt;SPAN class="mention-scrubbed"&gt;ashutosh.anand&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the reply. I have sorted it out. Error was in parameter I was passing. &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pratik&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jul 2020 14:40:10 GMT</pubDate>
    <dc:creator>former_member622884</dc:creator>
    <dc:date>2020-07-24T14:40:10Z</dc:date>
    <item>
      <title>OData Error while fetching single record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/odata-error-while-fetching-single-record/m-p/12263589#M1987251</link>
      <description>&lt;P&gt;I have created an oData service calling few entities from vbak table. Get_entityset method is fetching the complete data but get_entity is giving error " Resource not found for segment " and error log shows " Task facade not implemented for provider ".&lt;/P&gt;
  &lt;P&gt;get_entity code given below:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;method table1set_get_entity.
    data: ls_key_tab type /iwbep/s_mgw_name_value_pair,
          lv_vbeln   type vbak-vbeln,
          ls_vbak    type vbak.

    READ table it_key_tab with key name = 'Vbeln' into ls_key_tab.
    lv_vbeln = ls_key_tab-value.

    select single * from vbak into ls_vbak where vbeln = lv_vbeln.
    if sy-subrc eq 0.
      er_entity-vbeln = ls_vbak-vbeln.
      er_entity-ernam = ls_vbak-ernam.
      er_entity-auart = ls_vbak-auart.
    endif.
  endmethod.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Jul 2020 07:06:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/odata-error-while-fetching-single-record/m-p/12263589#M1987251</guid>
      <dc:creator>former_member622884</dc:creator>
      <dc:date>2020-07-23T07:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: OData Error while fetching single record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/odata-error-while-fetching-single-record/m-p/12263590#M1987252</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;pratikkumarsbg25&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The error comes when the URL Parameter values doesn't matches. Property is case sensitive. What ever you define the Parameter Name in GW same needs to be passed from UI in same casing.&lt;/P&gt;&lt;P&gt;-Ashutosh&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 10:23:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/odata-error-while-fetching-single-record/m-p/12263590#M1987252</guid>
      <dc:creator>former_member667434</dc:creator>
      <dc:date>2020-07-23T10:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: OData Error while fetching single record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/odata-error-while-fetching-single-record/m-p/12263591#M1987253</link>
      <description>&lt;P&gt;Hello &lt;SPAN class="mention-scrubbed"&gt;ashutosh.anand&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the reply. I have sorted it out. Error was in parameter I was passing. &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pratik&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 14:40:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/odata-error-while-fetching-single-record/m-p/12263591#M1987253</guid>
      <dc:creator>former_member622884</dc:creator>
      <dc:date>2020-07-24T14:40:10Z</dc:date>
    </item>
  </channel>
</rss>

