<?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: odata create_entity:server refusing to process request due to unsupported format in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/odata-create-entity-server-refusing-to-process-request-due-to-unsupported/qaa-p/11910920#M4473781</link>
    <description>&lt;P&gt;Your parameter "requestNumber" is a string.&lt;/P&gt;&lt;P&gt;You pass a number.&lt;/P&gt;&lt;P&gt;0000000037 --&amp;gt; "0000000037"&lt;/P&gt;</description>
    <pubDate>Thu, 18 Apr 2019 08:00:46 GMT</pubDate>
    <dc:creator>VincentBloem</dc:creator>
    <dc:date>2019-04-18T08:00:46Z</dc:date>
    <item>
      <title>odata create_entity:server refusing to process request due to unsupported format</title>
      <link>https://community.sap.com/t5/technology-q-a/odata-create-entity-server-refusing-to-process-request-due-to-unsupported/qaq-p/11910919</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;
  &lt;P&gt;I am working on posting comments upon approval. the comments are a string of 255 characters. &lt;/P&gt;
  &lt;P&gt;I used to the get function to get an output and used the same input for the request and tried executing it but I get an error saying : &lt;STRONG&gt;The server is refusing to process the request because the entity has an unsupported format&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;i also tried making the type in content type as entry but none seem to work. where have I gone wrong??&lt;/P&gt;
  &lt;P&gt;create_entity&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;  DATA: exref      TYPE REF TO cx_root,
          lt_comment TYPE TABLE OF /AAG362/CL_SD_SPECI_01_MPC=&amp;gt;TS_COMMENT,
          ts_comment TYPE LINE OF /AAG362/CL_SD_SPECI_01_MPC=&amp;gt;TT_COMMENT.
    TRY.
        CALL METHOD io_data_provider-&amp;gt;read_entry_data
          IMPORTING
            es_data = ts_comment.
      CATCH /iwbep/cx_mgw_tech_exception INTO exref.
    ENDTRY.
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;entityset&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1670509-commentsentityset.png" /&gt;&lt;/P&gt;
  &lt;P&gt;error&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1670510-requesterror.png" /&gt;&lt;/P&gt;
  &lt;P&gt;regards&lt;/P&gt;
  &lt;P&gt;Siddharth&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 14:58:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/odata-create-entity-server-refusing-to-process-request-due-to-unsupported/qaq-p/11910919</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-04-17T14:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: odata create_entity:server refusing to process request due to unsupported format</title>
      <link>https://community.sap.com/t5/technology-q-a/odata-create-entity-server-refusing-to-process-request-due-to-unsupported/qaa-p/11910920#M4473781</link>
      <description>&lt;P&gt;Your parameter "requestNumber" is a string.&lt;/P&gt;&lt;P&gt;You pass a number.&lt;/P&gt;&lt;P&gt;0000000037 --&amp;gt; "0000000037"&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 08:00:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/odata-create-entity-server-refusing-to-process-request-due-to-unsupported/qaa-p/11910920#M4473781</guid>
      <dc:creator>VincentBloem</dc:creator>
      <dc:date>2019-04-18T08:00:46Z</dc:date>
    </item>
  </channel>
</rss>

