<?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>Question Re: Update(Put) No Response Data in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaa-p/10636351#M3874954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raise proper exceptions . Remember, OData is a protocol with defined rules . It does not support return data on success PUT. As a work around, you can manipulate it with POST operation . Wait a minute, do you really want to try that ? NO. Raise exceptions properly &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Sep 2014 14:51:02 GMT</pubDate>
    <dc:creator>sreehari_vpillai</dc:creator>
    <dc:date>2014-09-25T14:51:02Z</dc:date>
    <item>
      <title>Update(Put) No Response Data</title>
      <link>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaq-p/10636345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14pt; font-family: 'arial black', 'avant garde';"&gt;I Created a Gateway Service for Read,Create and Update . In Read(Get),Create(Post) I'm getting Response Data But for&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde'; font-size: 14pt; color: #000000;"&gt;Update(Put) I'm not getting any&lt;STRONG&gt; Response data&lt;/STRONG&gt; as shown below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde'; font-size: 14pt; color: #000000;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/549544" width="450" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14pt; font-family: 'arial black', 'avant garde';"&gt;Thanks ...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 11:38:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaq-p/10636345</guid>
      <dc:creator>former_member203215</dc:creator>
      <dc:date>2014-09-25T11:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Update(Put) No Response Data</title>
      <link>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaa-p/10636346#M3874949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ravi,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Ubuntu, Tahoma, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Ubuntu, Tahoma, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt;"When processing a PUT request servers return status 204 (No Content) to indicate success, no response body is needed"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Ubuntu, Tahoma, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Ubuntu, Tahoma, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt;Sreehari&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 11:42:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaa-p/10636346#M3874949</guid>
      <dc:creator>sreehari_vpillai</dc:creator>
      <dc:date>2014-09-25T11:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Update(Put) No Response Data</title>
      <link>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaa-p/10636347#M3874950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But while updating in crm we get return message like email is not provide etc...&lt;/P&gt;&lt;P&gt;so I want to display messsage which returned from function modulee....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 12:13:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaa-p/10636347#M3874950</guid>
      <dc:creator>former_member203215</dc:creator>
      <dc:date>2014-09-25T12:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Update(Put) No Response Data</title>
      <link>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaa-p/10636348#M3874951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to display messages in Update and Delete operations, you can use below code. the messages you can see in response headers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s521"&gt;DATA &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background: white;"&gt;ls_header&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black; background: white;"&gt;ihttpnvp&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s521"&gt;IF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;lv_message &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;IS NOT INITIAL&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; ls_header&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;name &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'STATUS' &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; ls_header&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;-&lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;value &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;lv_message&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; /iwbep/if_mgw_conv_srv_runtime&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;~&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;set_header&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ls_header &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;).&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;else&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; ls_header&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;name &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'STATUS' &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; ls_header&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;-&lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;value &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;= &lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;'FAIL'&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;.&lt;/SPAN&gt;&lt;SPAN class="l0s311"&gt;"lv_message.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; /iwbep/if_mgw_conv_srv_runtime&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;~&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;set_header&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ls_header &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/549592" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s551"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s551"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s551"&gt;Syam&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 12:19:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaa-p/10636348#M3874951</guid>
      <dc:creator>SyambabuAllu</dc:creator>
      <dc:date>2014-09-25T12:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Update(Put) No Response Data</title>
      <link>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaa-p/10636349#M3874952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Successfull update will always shows 204 and no content is retuned.&lt;/P&gt;&lt;P&gt;So u need to raise an exception when ur update fails with the error messages.&lt;/P&gt;&lt;P&gt;When no error are encountered during update and if its success then u can decide update is successful based on 204 status.&lt;/P&gt;&lt;P&gt;U can also set ur custom messages as well like Syam suggested with appropriate success message returned by ur backend logic.&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;Ashwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 13:15:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaa-p/10636349#M3874952</guid>
      <dc:creator>AshwinDutt</dc:creator>
      <dc:date>2014-09-25T13:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Update(Put) No Response Data</title>
      <link>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaa-p/10636350#M3874953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sending error messages (with return code 204) for an Update operation in Response Header is a workaround and not really&amp;nbsp; OData compliant. You need to raise an exception if you need to get error messages as others suggested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 14:47:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaa-p/10636350#M3874953</guid>
      <dc:creator>kammaje_cis</dc:creator>
      <dc:date>2014-09-25T14:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Update(Put) No Response Data</title>
      <link>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaa-p/10636351#M3874954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raise proper exceptions . Remember, OData is a protocol with defined rules . It does not support return data on success PUT. As a work around, you can manipulate it with POST operation . Wait a minute, do you really want to try that ? NO. Raise exceptions properly &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 14:51:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaa-p/10636351#M3874954</guid>
      <dc:creator>sreehari_vpillai</dc:creator>
      <dc:date>2014-09-25T14:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Update(Put) No Response Data</title>
      <link>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaa-p/10636352#M3874955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody please provide me a sample code how to raise an exception from the update method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 15:27:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaa-p/10636352#M3874955</guid>
      <dc:creator>former_member203215</dc:creator>
      <dc:date>2014-09-25T15:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Update(Put) No Response Data</title>
      <link>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaa-p/10636353#M3874956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Open the UPDATE_ENTITY method in *_DPC class. There you can find the "RAISE EXCEPTION" clause generated by sap. You can follow the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 15:30:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaa-p/10636353#M3874956</guid>
      <dc:creator>sreehari_vpillai</dc:creator>
      <dc:date>2014-09-25T15:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Update(Put) No Response Data</title>
      <link>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaa-p/10636354#M3874957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here it is. &lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw74/helpdata/en/f2/a126519eff236ee10000000a445394/content.htm" title="http://help.sap.com/saphelp_nw74/helpdata/en/f2/a126519eff236ee10000000a445394/content.htm"&gt;/IWBEP/CX_MGW_BUSI_EXCEPTION - SAP NetWeaver Gateway Foundation (SAP_GWFND) - SAP Library&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 16:16:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaa-p/10636354#M3874957</guid>
      <dc:creator>kammaje_cis</dc:creator>
      <dc:date>2014-09-25T16:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Update(Put) No Response Data</title>
      <link>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaa-p/10636355#M3874958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look at this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="3531267" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="how to capture Exception error message in Odata ?" href="https://community.sap.com/" modifiedtitle="true" title="how to capture Exception error message in Odata ?"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 16:21:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/update-put-no-response-data/qaa-p/10636355#M3874958</guid>
      <dc:creator>AshwinDutt</dc:creator>
      <dc:date>2014-09-25T16:21:18Z</dc:date>
    </item>
  </channel>
</rss>

