<?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: Deep Entity request Error, System expected the element '{http://www.w3.org/2005/Atom}entry' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299443#M1990138</link>
    <description>&lt;P&gt;Problem is resolved, This failure is not coming anymore.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Solution : &lt;/STRONG&gt;WHile making request from an External tool , the body has to be assigned to the variable M_INPUT.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1868876-1868874-solution.png" /&gt;&lt;/P&gt;&lt;P&gt;Thanks  &lt;SPAN class="mention-scrubbed"&gt;evanireland&lt;/SPAN&gt; and  &lt;SPAN class="mention-scrubbed"&gt;olegbash599&lt;/SPAN&gt; though for hints.&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Ketan&lt;/P&gt;</description>
    <pubDate>Tue, 15 Dec 2020 14:04:20 GMT</pubDate>
    <dc:creator>k_sood</dc:creator>
    <dc:date>2020-12-15T14:04:20Z</dc:date>
    <item>
      <title>Deep Entity request Error, System expected the element '{http://www.w3.org/2005/Atom}entry'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299429#M1990124</link>
      <description>&lt;P&gt;Hi All, &lt;/P&gt;
  &lt;P&gt;While doing a Post request from an external tool to the deep entity structure Odata Service, we are getting following error. &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1864697-error.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Post request is as follows: [This is not complete post Request, in order to localize the error, I am testing with minimum Request data.]&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"&amp;gt;
    &amp;lt;atom:content type="application/xml"&amp;gt;
        &amp;lt;m:properties&amp;gt;
            &amp;lt;d:SalesOrg&amp;gt;1000&amp;lt;/d:SalesOrg&amp;gt;
            &amp;lt;d:IvCrmKdNr&amp;gt;8107&amp;lt;/d:IvCrmKdNr&amp;gt;
            &amp;lt;d:IvEshopAufnr&amp;gt;265667&amp;lt;/d:IvEshopAufnr&amp;gt;
            &amp;lt;d:IvEshopKdnr&amp;gt;35545&amp;lt;/d:IvEshopKdnr&amp;gt;
            &amp;lt;d:DocType&amp;gt;ZTA&amp;lt;/d:DocType&amp;gt;
            &amp;lt;d:CollectNo&amp;gt;265667&amp;lt;/d:CollectNo&amp;gt;
            &amp;lt;d:DistrChan&amp;gt;20&amp;lt;/d:DistrChan&amp;gt;
            &amp;lt;d:Division&amp;gt;10&amp;lt;/d:Division&amp;gt;
            &amp;lt;d:SalesGrp&amp;gt;D99&amp;lt;/d:SalesGrp&amp;gt;
            &amp;lt;d:SalesOff&amp;gt;4030&amp;lt;/d:SalesOff&amp;gt;
            &amp;lt;d:ReqDateH&amp;gt;2020-12-02T00:00:00&amp;lt;/d:ReqDateH&amp;gt;
            &amp;lt;d:PurchDate&amp;gt;2020-10-19T00:00:00&amp;lt;/d:PurchDate&amp;gt;
            &amp;lt;d:PoMethod&amp;gt;30&amp;lt;/d:PoMethod&amp;gt;
            &amp;lt;d:Incoterms1&amp;gt;EXW&amp;lt;/d:Incoterms1&amp;gt;
            &amp;lt;d:Incoterms2&amp;gt;Dietikon&amp;lt;/d:Incoterms2&amp;gt;
            &amp;lt;d:Pmnttrms&amp;gt;ZB01&amp;lt;/d:Pmnttrms&amp;gt;
            &amp;lt;d:OrdReason&amp;gt;005&amp;lt;/d:OrdReason&amp;gt;
            &amp;lt;d:ShipCond&amp;gt;01&amp;lt;/d:ShipCond&amp;gt;
        &amp;lt;/m:properties&amp;gt;
    &amp;lt;/atom:content&amp;gt;
&amp;lt;/atom:entry&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt; During Debug , I found that the error is coming while Transforming the xml at the following location. &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1864701-error-location.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Error coming at the following location of the transformation .&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1864702-transformation.png" /&gt;&lt;/P&gt;
  &lt;P&gt;It seems like something is missing in the atom entry tag , but dont know what exactly.&lt;/P&gt;
  &lt;P&gt;None of the existing refrences to this error have helped so far. Anyone having an Idea on how to resolve this error ? &lt;/P&gt;
  &lt;P&gt;Br,&lt;/P&gt;
  &lt;P&gt;Ketan &lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 15:11:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299429#M1990124</guid>
      <dc:creator>k_sood</dc:creator>
      <dc:date>2020-11-25T15:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Entity request Error, System expected the element '{http://www.w3.org/2005/Atom}entry'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299430#M1990125</link>
      <description>&lt;P&gt;Maybe try this (not to suggest that the content you provided looks wrong, but just in case it helps):&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;entry xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"&amp;gt;&amp;lt;content&amp;gt;...&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 26 Nov 2020 19:46:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299430#M1990125</guid>
      <dc:creator>evanireland</dc:creator>
      <dc:date>2020-11-26T19:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Entity request Error, System expected the element '{http://www.w3.org/2005/Atom}entry'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299431#M1990126</link>
      <description>&lt;P&gt;Thanks for your reply , it did not help. still the same error is coming. &lt;/P&gt;&lt;P&gt;Anything else which could be tried ?&lt;/P&gt;&lt;P&gt;Br, &lt;/P&gt;&lt;P&gt;Ketan&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 09:18:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299431#M1990126</guid>
      <dc:creator>k_sood</dc:creator>
      <dc:date>2020-11-30T09:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Entity request Error, System expected the element '{http://www.w3.org/2005/Atom}entry'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299432#M1990127</link>
      <description>&lt;P&gt;If the backend supports OData JSON format, perhaps you could try that instead of Atom?&lt;/P&gt;&lt;P&gt;Can you share the metadata document?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 20:47:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299432#M1990127</guid>
      <dc:creator>evanireland</dc:creator>
      <dc:date>2020-11-30T20:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Entity request Error, System expected the element '{http://www.w3.org/2005/Atom}entry'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299433#M1990128</link>
      <description>&lt;P&gt;Alright Thanks. Will Try with Json Request. &lt;/P&gt;&lt;P&gt;.xml file is not permitted to upload here. Enclosed the txt file to view in notepad++ .&lt;/P&gt;&lt;P&gt;.&lt;A href="https://answers.sap.com/storage/temp/1868473-metadata.txt"&gt;metadata.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for having a look.&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Ketan&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 10:15:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299433#M1990128</guid>
      <dc:creator>former_member122738</dc:creator>
      <dc:date>2020-12-03T10:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Entity request Error, System expected the element '{http://www.w3.org/2005/Atom}entry'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299434#M1990129</link>
      <description>&lt;P&gt;Try like this (entry should have id, title and updated sub-elements)&lt;/P&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;entry xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:g="http://www.opengis.net/gml"&amp;gt;
 &amp;lt;id&amp;gt;odata:new&amp;lt;/id&amp;gt;
 &amp;lt;title type="text"&amp;gt;Salesorder&amp;lt;/title&amp;gt;
 &amp;lt;author&amp;gt;
 &amp;lt;name/&amp;gt;
 &amp;lt;/author&amp;gt;
 &amp;lt;updated&amp;gt;2020-12-04T02:19:09.367Z&amp;lt;/updated&amp;gt;
 &amp;lt;category scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" term="ZSD_SOCREATE_SRV.Salesorder"/&amp;gt;
 &amp;lt;content type="application/xml"&amp;gt;
 &amp;lt;m:properties&amp;gt;
 ...
 &amp;lt;/m:properties&amp;gt;
 &amp;lt;/content&amp;gt;
&amp;lt;/entry&amp;gt;</description>
      <pubDate>Fri, 04 Dec 2020 02:26:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299434#M1990129</guid>
      <dc:creator>evanireland</dc:creator>
      <dc:date>2020-12-04T02:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Entity request Error, System expected the element '{http://www.w3.org/2005/Atom}entry'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299435#M1990130</link>
      <description>&lt;P&gt;Repasting with "CODE" wrapper for better formatting:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;entry xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:g="http://www.opengis.net/gml"&amp;gt;
    &amp;lt;id&amp;gt;odata:new&amp;lt;/id&amp;gt;
    &amp;lt;title type="text"&amp;gt;Salesorder&amp;lt;/title&amp;gt;
    &amp;lt;author&amp;gt;
        &amp;lt;name/&amp;gt;
    &amp;lt;/author&amp;gt;
    &amp;lt;updated&amp;gt;2020-12-04T02:19:09.367Z&amp;lt;/updated&amp;gt;
    &amp;lt;category scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" term="ZSD_SOCREATE_SRV.Salesorder"/&amp;gt;
    &amp;lt;content type="application/xml"&amp;gt;
        &amp;lt;m:properties&amp;gt;
            ...
        &amp;lt;/m:properties&amp;gt;
    &amp;lt;/content&amp;gt;
&amp;lt;/entry&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Dec 2020 02:26:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299435#M1990130</guid>
      <dc:creator>evanireland</dc:creator>
      <dc:date>2020-12-04T02:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Entity request Error, System expected the element '{http://www.w3.org/2005/Atom}entry'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299436#M1990131</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;evanireland&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Thanks for your reply. I have first tried this locally in SEGW and I am getting following Error  .&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1868851-error.png" /&gt;&lt;/P&gt;&lt;P&gt;This is actually True, I have Implemented this Deep Entity creation using the following link and there was no need to implement the create entity method  . &lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2014/04/27/step-by-step-development-guide-for-createdeepentity-operation/comment-page-1/"&gt;Step by Step development for CREATE_DEEP_ENTITY operation | SAP Blogs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for any further help. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Input Request that I just Tried is as follows:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;

&amp;lt;entry xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:g="http://www.opengis.net/gml"&amp;gt;

    &amp;lt;id&amp;gt;odata:new&amp;lt;/id&amp;gt;

    &amp;lt;title type="text"&amp;gt;Salesorder&amp;lt;/title&amp;gt;

    &amp;lt;author&amp;gt;

        &amp;lt;name/&amp;gt;

    &amp;lt;/author&amp;gt;

    &amp;lt;updated&amp;gt;2020-12-14T02:19:09.367Z&amp;lt;/updated&amp;gt;

    &amp;lt;category scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" term="ZSD_SOCREATE_SRV.Salesorder"/&amp;gt;

    &amp;lt;content type="application/xml"&amp;gt;

        &amp;lt;m:properties&amp;gt;

            &amp;lt;d:SalesOrg&amp;gt;1000&amp;lt;/d:SalesOrg&amp;gt;

            &amp;lt;d:IvCrmKdNr&amp;gt;8107&amp;lt;/d:IvCrmKdNr&amp;gt;

            &amp;lt;d:IvEshopAufnr&amp;gt;265667&amp;lt;/d:IvEshopAufnr&amp;gt;

            &amp;lt;d:IvEshopKdnr&amp;gt;35545&amp;lt;/d:IvEshopKdnr&amp;gt;

            &amp;lt;d:DocType&amp;gt;ZTA&amp;lt;/d:DocType&amp;gt;

            &amp;lt;d:CollectNo&amp;gt;265667&amp;lt;/d:CollectNo&amp;gt;

            &amp;lt;d:DistrChan&amp;gt;20&amp;lt;/d:DistrChan&amp;gt;

            &amp;lt;d:Division&amp;gt;10&amp;lt;/d:Division&amp;gt;

            &amp;lt;d:SalesGrp&amp;gt;D99&amp;lt;/d:SalesGrp&amp;gt;

            &amp;lt;d:SalesOff&amp;gt;4030&amp;lt;/d:SalesOff&amp;gt;

            &amp;lt;d:ReqDateH&amp;gt;2020-12-02T00:00:00&amp;lt;/d:ReqDateH&amp;gt;

            &amp;lt;d:PurchDate&amp;gt;2020-10-19T00:00:00&amp;lt;/d:PurchDate&amp;gt;

            &amp;lt;d:PoMethod&amp;gt;30&amp;lt;/d:PoMethod&amp;gt;

            &amp;lt;d:Incoterms1&amp;gt;EXW&amp;lt;/d:Incoterms1&amp;gt;

            &amp;lt;d:Incoterms2&amp;gt;Dietikon&amp;lt;/d:Incoterms2&amp;gt;

            &amp;lt;d:Pmnttrms&amp;gt;ZB01&amp;lt;/d:Pmnttrms&amp;gt;

            &amp;lt;d:OrdReason&amp;gt;005&amp;lt;/d:OrdReason&amp;gt;

            &amp;lt;d:ShipCond&amp;gt;01&amp;lt;/d:ShipCond&amp;gt;

        &amp;lt;/m:properties&amp;gt;

    &amp;lt;/content&amp;gt;

&amp;lt;/entry&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Dec 2020 20:38:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299436#M1990131</guid>
      <dc:creator>k_sood</dc:creator>
      <dc:date>2020-12-14T20:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Entity request Error, System expected the element '{http://www.w3.org/2005/Atom}entry'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299437#M1990132</link>
      <description>&lt;P&gt;I am not familiar with the ABAP backend OData stuff, but I note that the blog you quoted also has a comment: "Call will go to Create_Deep_Entity method based on the association and navigation properties inside your payload.""&lt;/P&gt;&lt;P&gt;Your latest payload doesn't seem to have any inline child entities, so it isn't considered a "deep insert", so perhaps that's why it is trying to call SALESORDERSET_CREATE_ENTITY.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 21:53:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299437#M1990132</guid>
      <dc:creator>evanireland</dc:creator>
      <dc:date>2020-12-14T21:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Entity request Error, System expected the element '{http://www.w3.org/2005/Atom}entry'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299438#M1990133</link>
      <description>&lt;P&gt;My recommendation is firstly implement reading with navigation (association) and then you will get deep entity structure in response.&lt;/P&gt;&lt;P&gt;After that you could use function  "Use as a Request" and you could compare what is exactly is not the same.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 23:59:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299438#M1990133</guid>
      <dc:creator>OlegBash</dc:creator>
      <dc:date>2020-12-14T23:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Entity request Error, System expected the element '{http://www.w3.org/2005/Atom}entry'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299439#M1990134</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;evanireland&lt;/SPAN&gt; ,&lt;/P&gt;&lt;P&gt;Thanks for your reply, I added one Navigation block and now the error is again the same as in the beginning. i.e. mentioned in the original Question . system expected the element.....&lt;/P&gt;&lt;P&gt;SALESORDERSET_CREATE_ENTITY Error is not coming now.&lt;/P&gt;&lt;P&gt;Previously this error was coming only while posting from External tool but now this Error is coming also while testing through SEGW . &lt;/P&gt;&lt;P&gt;Here is the new request. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;

&amp;lt;entry xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:g="http://www.opengis.net/gml"&amp;gt;

    &amp;lt;id&amp;gt;odata:new&amp;lt;/id&amp;gt;

    &amp;lt;title type="text"&amp;gt;Salesorder&amp;lt;/title&amp;gt;

    &amp;lt;author&amp;gt;

        &amp;lt;name/&amp;gt;

    &amp;lt;/author&amp;gt;

    &amp;lt;updated&amp;gt;2020-12-14T02:19:09.367Z&amp;lt;/updated&amp;gt;

    &amp;lt;category scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" term="ZSD_SOCREATE_SRV.Salesorder"/&amp;gt;

    &amp;lt;content type="application/xml"&amp;gt;

        &amp;lt;m:properties&amp;gt;

            &amp;lt;d:SalesOrg&amp;gt;1000&amp;lt;/d:SalesOrg&amp;gt;

            &amp;lt;d:IvCrmKdNr&amp;gt;8107&amp;lt;/d:IvCrmKdNr&amp;gt;

            &amp;lt;d:IvEshopAufnr&amp;gt;265667&amp;lt;/d:IvEshopAufnr&amp;gt;

            &amp;lt;d:IvEshopKdnr&amp;gt;35545&amp;lt;/d:IvEshopKdnr&amp;gt;

            &amp;lt;d:DocType&amp;gt;ZTA&amp;lt;/d:DocType&amp;gt;

            &amp;lt;d:CollectNo&amp;gt;265667&amp;lt;/d:CollectNo&amp;gt;

            &amp;lt;d:DistrChan&amp;gt;20&amp;lt;/d:DistrChan&amp;gt;

            &amp;lt;d:Division&amp;gt;10&amp;lt;/d:Division&amp;gt;

            &amp;lt;d:SalesGrp&amp;gt;D99&amp;lt;/d:SalesGrp&amp;gt;

            &amp;lt;d:SalesOff&amp;gt;4030&amp;lt;/d:SalesOff&amp;gt;

            &amp;lt;d:ReqDateH&amp;gt;2020-12-02T00:00:00&amp;lt;/d:ReqDateH&amp;gt;

            &amp;lt;d:PurchDate&amp;gt;2020-10-19T00:00:00&amp;lt;/d:PurchDate&amp;gt;

            &amp;lt;d:PoMethod&amp;gt;30&amp;lt;/d:PoMethod&amp;gt;

            &amp;lt;d:Incoterms1&amp;gt;EXW&amp;lt;/d:Incoterms1&amp;gt;

            &amp;lt;d:Incoterms2&amp;gt;Dietikon&amp;lt;/d:Incoterms2&amp;gt;

            &amp;lt;d:Pmnttrms&amp;gt;ZB01&amp;lt;/d:Pmnttrms&amp;gt;

            &amp;lt;d:OrdReason&amp;gt;005&amp;lt;/d:OrdReason&amp;gt;

            &amp;lt;d:ShipCond&amp;gt;01&amp;lt;/d:ShipCond&amp;gt;

        &amp;lt;/m:properties&amp;gt;

    &amp;lt;/content&amp;gt;

&amp;lt;atom:link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SalesorderToHeaderinx" type="application/atom+xml;type=feed" title="ZSD_SOCREATE_SRV.Salesorder_Headerin"&amp;gt;
    &amp;lt;m:inline&amp;gt;
     &amp;lt;atom:feed&amp;gt;
      &amp;lt;atom:entry&amp;gt;
        &amp;lt;atom:content type="application/xml"&amp;gt;
          &amp;lt;m:properties&amp;gt;
            &amp;lt;d:DocType&amp;gt;X&amp;lt;/d:DocType&amp;gt;
            &amp;lt;d:CollectNo&amp;gt;X&amp;lt;/d:CollectNo&amp;gt;
            &amp;lt;d:SalesOrg&amp;gt;X&amp;lt;/d:SalesOrg&amp;gt;
            &amp;lt;d:DistrChan&amp;gt;X&amp;lt;/d:DistrChan&amp;gt;
            &amp;lt;d:Division&amp;gt;X&amp;lt;/d:Division&amp;gt;
            &amp;lt;d:SalesGrp&amp;gt;X&amp;lt;/d:SalesGrp&amp;gt;
            &amp;lt;d:SalesOff&amp;gt;X&amp;lt;/d:SalesOff&amp;gt;
            &amp;lt;d:ReqDateH&amp;gt;X&amp;lt;/d:ReqDateH&amp;gt;
            &amp;lt;d:PurchDate&amp;gt;X&amp;lt;/d:PurchDate&amp;gt;
            &amp;lt;d:PoMethod&amp;gt;X&amp;lt;/d:PoMethod&amp;gt;
            &amp;lt;d:Incoterms1&amp;gt;X&amp;lt;/d:Incoterms1&amp;gt;
            &amp;lt;d:Incoterms2&amp;gt;X&amp;lt;/d:Incoterms2&amp;gt;
            &amp;lt;d:Pmnttrms&amp;gt;X&amp;lt;/d:Pmnttrms&amp;gt;
            &amp;lt;d:OrdReason&amp;gt;X&amp;lt;/d:OrdReason&amp;gt;
            &amp;lt;d:ShipCond&amp;gt;X&amp;lt;/d:ShipCond&amp;gt;
          &amp;lt;/m:properties&amp;gt;
        &amp;lt;/atom:content&amp;gt;
      &amp;lt;/atom:entry&amp;gt;
     &amp;lt;/atom:feed&amp;gt;
    &amp;lt;/m:inline&amp;gt;
&amp;lt;/atom:link&amp;gt;
&amp;lt;/entry&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I also tried to give the type as -&amp;gt; type = "application/xml" instead of type="application/atom+xml&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;atom:link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SalesorderToHeaderinx" type="application/xml;type=feed" title="ZSD_SOCREATE_SRV.Salesorder_Headerin"&amp;gt;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Ketan&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 09:39:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299439#M1990134</guid>
      <dc:creator>k_sood</dc:creator>
      <dc:date>2020-12-15T09:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Entity request Error, System expected the element '{http://www.w3.org/2005/Atom}entry'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299440#M1990135</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;olegbash599&lt;/SPAN&gt; ,&lt;/P&gt;&lt;P&gt;I did a Get request in SEGW and then did a "use as request" . This is what i have as request now. &lt;/P&gt;&lt;P&gt;Now How do i use create a request.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;feed xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xml:base="http://server:8000/sap/opu/odata/SAP/ZSD_SOCREATE_SRV/"&amp;gt;
 &amp;lt;id&amp;gt;http://server:8000/sap/opu/odata/SAP/ZSD_SOCREATE_SRV/SalesorderSet&amp;lt;/id&amp;gt;
 &amp;lt;title type="text"&amp;gt;SalesorderSet&amp;lt;/title&amp;gt;
 &amp;lt;updated&amp;gt;2020-12-15T09:40:39Z&amp;lt;/updated&amp;gt;
 &amp;lt;author&amp;gt;
  &amp;lt;name/&amp;gt;
 &amp;lt;/author&amp;gt;
 &amp;lt;link href="SalesorderSet" rel="self" title="SalesorderSet"/&amp;gt;
&amp;lt;/feed&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Ketan&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 09:47:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299440#M1990135</guid>
      <dc:creator>k_sood</dc:creator>
      <dc:date>2020-12-15T09:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Entity request Error, System expected the element '{http://www.w3.org/2005/Atom}entry'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299441#M1990136</link>
      <description>&lt;P&gt;Do the request exact with&lt;STRONG&gt; navigation&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;It seems you are doing request only to Get Entity Set, but not Get entity Set with navigation.&lt;/P&gt;&lt;P&gt;it should be like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;/sap/opu/odata/SAP/ZSD_SOCREATE_SRV/SalesorderSet('KEY1_HEAD')/SalesOrderItemsSet&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Dec 2020 09:57:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299441#M1990136</guid>
      <dc:creator>OlegBash</dc:creator>
      <dc:date>2020-12-15T09:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Entity request Error, System expected the element '{http://www.w3.org/2005/Atom}entry'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299442#M1990137</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;olegbash599&lt;/SPAN&gt; ,&lt;/P&gt;&lt;P&gt;I have implemented deep entity creation using the following blogand there is no Implementation about reading the entity with its child structure.&lt;/P&gt;&lt;P&gt; &lt;A href="https://blogs.sap.com/2014/04/27/step-by-step-development-guide-for-createdeepentity-operation/comment-page-1/"&gt;Step by Step development for CREATE_DEEP_ENTITY operation | SAP Blogs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Dont know what Key should I be giving here. &lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Ketan&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 10:18:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299442#M1990137</guid>
      <dc:creator>k_sood</dc:creator>
      <dc:date>2020-12-15T10:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Entity request Error, System expected the element '{http://www.w3.org/2005/Atom}entry'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299443#M1990138</link>
      <description>&lt;P&gt;Problem is resolved, This failure is not coming anymore.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Solution : &lt;/STRONG&gt;WHile making request from an External tool , the body has to be assigned to the variable M_INPUT.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1868876-1868874-solution.png" /&gt;&lt;/P&gt;&lt;P&gt;Thanks  &lt;SPAN class="mention-scrubbed"&gt;evanireland&lt;/SPAN&gt; and  &lt;SPAN class="mention-scrubbed"&gt;olegbash599&lt;/SPAN&gt; though for hints.&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Ketan&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 14:04:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299443#M1990138</guid>
      <dc:creator>k_sood</dc:creator>
      <dc:date>2020-12-15T14:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Entity request Error, System expected the element '{http://www.w3.org/2005/Atom}entry'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299444#M1990139</link>
      <description>&lt;P&gt;This:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;atom:link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SalesorderToHeaderinx" type="application/atom+xml;type=feed" title="ZSD_SOCREATE_SRV.Salesorder_Headerin"&amp;gt;&amp;lt;m:inline&amp;gt;&amp;lt;atom:feed&amp;gt;&amp;lt;atom:entry&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;should perhaps be:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;atom:link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SalesorderToHeaderinx" type="application/atom+xml;type=entry" title="ZSD_SOCREATE_SRV.Salesorder_Headerin"&amp;gt;&amp;lt;m:inline&amp;gt;&amp;lt;atom:entry&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;(and remove the end tag for &amp;lt;/atom:feed&amp;gt;)&lt;/P&gt;&lt;P&gt;Explanation: SalesorderToHeaderinx is a single-valued navigation property in your metadata, so should use an entry not encloded in a feed (A feed is used for collections).&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 21:25:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deep-entity-request-error-system-expected-the-element-http-www-w3-org-2005/m-p/12299444#M1990139</guid>
      <dc:creator>evanireland</dc:creator>
      <dc:date>2020-12-15T21:25:21Z</dc:date>
    </item>
  </channel>
</rss>

