<?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: XML Paloyad for API_MATERIAL_DOCUMENT_SRV in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/xml-paloyad-for-api-material-document-srv/qaa-p/14433221#M4945237</link>
    <description>&lt;P&gt;I faced identical issue.&lt;/P&gt;&lt;P&gt;It appears that you cannot simply copy/paste XML contents you see in Integration Suite iflow traces, into a Postman call.&lt;/P&gt;&lt;P&gt;It seems that an "&lt;STRONG&gt;OData" call step in Integration Suite adds many tags and attributes to the provided XML payload.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;As an example, see in this doc page&amp;nbsp;&lt;A href="https://help.sap.com/docs/SAP_S4HANA_CLOUD/3f57e7df4a114edabffe8b2d581a59ed/8bb0d08295044ee3af444b4f2a6e4457.html" target="_blank" rel="noopener"&gt;Create Material Documents | SAP Help Portal&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The only example using XML format I could find was in "&lt;STRONG&gt;Create a Goods Receipt with Serial Numbers":&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt; &amp;lt;entry xml:base="&lt;A href="https://Your_Server/sap/opu/odata/SAP/API_MATERIAL_DOCUMENT_SRV/" target="_blank"&gt;https://Your_Server/sap/opu/odata/SAP/API_MATERIAL_DOCUMENT_SRV/&lt;/A&gt;" xmlns="&lt;A href="http://www.w3.org/2005/Atom" target="_blank"&gt;http://www.w3.org/2005/Atom&lt;/A&gt;" xmlns:m="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/metadata&lt;/A&gt;" xmlns:d="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices&lt;/A&gt;"&amp;gt; &amp;lt;category term="API_MATERIAL_DOCUMENT_SRV.A_MaterialDocumentHeaderType" scheme="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/scheme&lt;/A&gt;"/&amp;gt; &amp;lt;link href="A_MaterialDocumentHeader" rel="self" title="A_MaterialDocumentHeaderType"/&amp;gt; &amp;lt;link href="A_MaterialDocumentHeader/to_MaterialDocumentItem" rel="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/related/to_MaterialDocumentItem" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/related/to_MaterialDocumentItem&lt;/A&gt;" type="application/atom+xml;type=feed" title="to_MaterialDocumentItem"&amp;gt; &amp;lt;m:inline&amp;gt; &amp;lt;feed xml:base="&lt;A href="https://Your_Server/sap/opu/odata/SAP/API_MATERIAL_DOCUMENT_SRV/" target="_blank"&gt;https://Your_Server/sap/opu/odata/SAP/API_MATERIAL_DOCUMENT_SRV/&lt;/A&gt;"&amp;gt; &amp;lt;link href="Item" rel="self" title="A_MaterialDocumentItem"/&amp;gt; &amp;lt;entry&amp;gt; &amp;lt;category term="API_MATERIAL_DOCUMENT_SRV.A_MaterialDocumentItemType" scheme="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/scheme&lt;/A&gt;"/&amp;gt; &amp;lt;link href="Item 1" rel="self" title="A_MaterialDocumentItemType"/&amp;gt; &amp;lt;link href="Item 1)/to_MaterialDocumentHeader" rel="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/related/to_MaterialDocumentHeader" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/related/to_MaterialDocumentHeader&lt;/A&gt;" type="application/atom+xml;type=entry" title="to_MaterialDocumentHeader"/&amp;gt; &amp;lt;link href="Item_1/to_SerialNumbers" rel="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/related/to_SerialNumbers" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/related/to_SerialNumbers&lt;/A&gt;" type="application/atom+xml;type=feed" title="to_SerialNumbers"&amp;gt; &amp;lt;m:inline&amp;gt; &amp;lt;feed xml:base="&lt;A href="https://Your_Server/sap/opu/odata/SAP/API_MATERIAL_DOCUMENT_SRV/" target="_blank"&gt;https://Your_Server/sap/opu/odata/SAP/API_MATERIAL_DOCUMENT_SRV/&lt;/A&gt;"&amp;gt; &amp;lt;link href="Item_1/to_SerialNumbers" rel="self" title="A_SerialNumberMaterialDocument"/&amp;gt; &amp;lt;entry&amp;gt; &amp;lt;category term="API_MATERIAL_DOCUMENT_SRV.A_SerialNumberMaterialDocumentType" scheme="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/scheme&lt;/A&gt;"/&amp;gt; &amp;lt;link href="Serial Number 1" rel="self" title="A_SerialNumberMaterialDocumentType"/&amp;gt; &amp;lt;content type="application/xml"&amp;gt; &amp;lt;m:properties&amp;gt; &amp;lt;d:SerialNumber&amp;gt;SERIALNUMBER_1&amp;lt;/d:SerialNumber&amp;gt; &amp;lt;/m:properties&amp;gt; &amp;lt;/content&amp;gt; &amp;lt;/entry&amp;gt; &amp;lt;entry&amp;gt; &amp;lt;category term="API_MATERIAL_DOCUMENT_SRV.A_SerialNumberMaterialDocumentType" scheme="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/scheme&lt;/A&gt;"/&amp;gt; &amp;lt;link href="Serial Number 2" rel="self" title="A_SerialNumberMaterialDocumentType"/&amp;gt; &amp;lt;content type="application/xml"&amp;gt; &amp;lt;m:properties&amp;gt; &amp;lt;d:SerialNumber&amp;gt;SERIALNUMBER_2&amp;lt;/d:SerialNumber&amp;gt; &amp;lt;/m:properties&amp;gt; &amp;lt;/content&amp;gt; &amp;lt;/entry&amp;gt; &amp;lt;/feed&amp;gt; &amp;lt;/m:inline&amp;gt; &amp;lt;/link&amp;gt; &amp;lt;content type="application/xml"&amp;gt; &amp;lt;m:properties&amp;gt; &amp;lt;d:Material&amp;gt;Your_Material&amp;lt;/d:Material&amp;gt; &amp;lt;d:Plant&amp;gt;1010&amp;lt;/d:Plant&amp;gt; &amp;lt;d:StorageLocation&amp;gt;101A&amp;lt;/d:StorageLocation&amp;gt; &amp;lt;d:GoodsMovementType&amp;gt;501&amp;lt;/d:GoodsMovementType&amp;gt; &amp;lt;d:EntryUnit&amp;gt;PC&amp;lt;/d:EntryUnit&amp;gt; &amp;lt;d:QuantityInEntryUnit&amp;gt;2&amp;lt;/d:QuantityInEntryUnit&amp;gt; &amp;lt;d:SerialNumbersAreCreatedAutomly&amp;gt;false&amp;lt;/d:SerialNumbersAreCreatedAutomly&amp;gt; &amp;lt;/m:properties&amp;gt; &amp;lt;/content&amp;gt; &amp;lt;/entry&amp;gt; &amp;lt;entry&amp;gt; &amp;lt;category term="API_MATERIAL_DOCUMENT_SRV.A_MaterialDocumentItemType" scheme="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/scheme&lt;/A&gt;"/&amp;gt; &amp;lt;link href="Item 2" rel="self" title="A_MaterialDocumentItemType"/&amp;gt; &amp;lt;link href="Item 2)/to_MaterialDocumentHeader" rel="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/related/to_MaterialDocumentHeader" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/related/to_MaterialDocumentHeader&lt;/A&gt;" type="application/atom+xml;type=entry" title="to_MaterialDocumentHeader"/&amp;gt; &amp;lt;link href="Item_2/to_SerialNumbers" rel="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/related/to_SerialNumbers" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/related/to_SerialNumbers&lt;/A&gt;" type="application/atom+xml;type=feed" title="to_SerialNumbers"&amp;gt; &amp;lt;m:inline&amp;gt; &amp;lt;feed xml:base="&lt;A href="https://Your_Server/sap/opu/odata/SAP/API_MATERIAL_DOCUMENT_SRV/" target="_blank"&gt;https://Your_Server/sap/opu/odata/SAP/API_MATERIAL_DOCUMENT_SRV/&lt;/A&gt;"&amp;gt; &amp;lt;link href="Item_2/to_SerialNumbers" rel="self" title="A_SerialNumberMaterialDocument"/&amp;gt; &amp;lt;entry&amp;gt; &amp;lt;category term="API_MATERIAL_DOCUMENT_SRV.A_SerialNumberMaterialDocumentType" scheme="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/scheme&lt;/A&gt;"/&amp;gt; &amp;lt;link href="Serial Number 3" rel="self" title="A_SerialNumberMaterialDocumentType"/&amp;gt; &amp;lt;content type="application/xml"&amp;gt; &amp;lt;m:properties&amp;gt; &amp;lt;d:SerialNumber&amp;gt;SERIALNUMBER_3&amp;lt;/d:SerialNumber&amp;gt; &amp;lt;/m:properties&amp;gt; &amp;lt;/content&amp;gt; &amp;lt;/entry&amp;gt; &amp;lt;entry&amp;gt; &amp;lt;category term="API_MATERIAL_DOCUMENT_SRV.A_SerialNumberMaterialDocumentType" scheme="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/scheme&lt;/A&gt;"/&amp;gt; &amp;lt;link href="Serial Number 4" rel="self" title="A_SerialNumberMaterialDocumentType"/&amp;gt; &amp;lt;content type="application/xml"&amp;gt; &amp;lt;m:properties&amp;gt; &amp;lt;d:SerialNumber&amp;gt;SERIALNUMBER_4&amp;lt;/d:SerialNumber&amp;gt; &amp;lt;/m:properties&amp;gt; &amp;lt;/content&amp;gt; &amp;lt;/entry&amp;gt; &amp;lt;/feed&amp;gt; &amp;lt;/m:inline&amp;gt; &amp;lt;/link&amp;gt; &amp;lt;content type="application/xml"&amp;gt; &amp;lt;m:properties&amp;gt; &amp;lt;d:Material&amp;gt;Your_Material&amp;lt;/d:Material&amp;gt; &amp;lt;d:Plant&amp;gt;1010&amp;lt;/d:Plant&amp;gt; &amp;lt;d:StorageLocation&amp;gt;101A&amp;lt;/d:StorageLocation&amp;gt; &amp;lt;d:GoodsMovementType&amp;gt;501&amp;lt;/d:GoodsMovementType&amp;gt; &amp;lt;d:EntryUnit&amp;gt;PC&amp;lt;/d:EntryUnit&amp;gt; &amp;lt;d:QuantityInEntryUnit&amp;gt;2&amp;lt;/d:QuantityInEntryUnit&amp;gt; &amp;lt;d:SerialNumbersAreCreatedAutomly&amp;gt;false&amp;lt;/d:SerialNumbersAreCreatedAutomly&amp;gt; &amp;lt;/m:properties&amp;gt; &amp;lt;/content&amp;gt; &amp;lt;/entry&amp;gt; &amp;lt;/feed&amp;gt; &amp;lt;/m:inline&amp;gt; &amp;lt;/link&amp;gt; &amp;lt;content type="application/xml"&amp;gt; &amp;lt;m:properties&amp;gt; &amp;lt;d:GoodsMovementCode&amp;gt;05&amp;lt;/d:GoodsMovementCode&amp;gt; &amp;lt;d:MaterialDocumentHeaderText&amp;gt;This is Text &amp;lt;/MaterialDocumentHeaderText&amp;gt; &amp;lt;/m:properties&amp;gt; &amp;lt;/content&amp;gt; &amp;lt;/entry&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;By adapting this example to my use case, I could make the material document to be created.&lt;/P&gt;&lt;P&gt;It seems that when not using Integration Suite, it is simpler/clearer to use JSON format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jul 2026 22:26:24 GMT</pubDate>
    <dc:creator>MaximePacary</dc:creator>
    <dc:date>2026-07-03T22:26:24Z</dc:date>
    <item>
      <title>XML Paloyad for API_MATERIAL_DOCUMENT_SRV</title>
      <link>https://community.sap.com/t5/technology-q-a/xml-paloyad-for-api-material-document-srv/qaq-p/12307584</link>
      <description>&lt;P&gt;Dear colleagues,&lt;/P&gt;
  &lt;P&gt;I need to create simple XML payload for API_MATERIAL_DOCUMENT_SRV for direct posting to S/4 via OData service from Postman, but all payloads I try lead me to error &lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;"&lt;/EM&gt;&lt;EM&gt;System expected the element '{http://www.w3.org/2005/Atom}entry".&lt;/EM&gt; &lt;/P&gt;
  &lt;P&gt;Even such simple:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;A_MaterialDocumentHeader&amp;gt;
&amp;lt;A_MaterialDocumentHeaderType&amp;gt;
&amp;lt;GoodsMovementCode&amp;gt;01&amp;lt;/GoodsMovementCode&amp;gt;
&amp;lt;PostingDate&amp;gt;2018-06-09T00:00:00&amp;lt;/PostingDate&amp;gt;
&amp;lt;to_MaterialDocumentItem&amp;gt;
&amp;lt;A_MaterialDocumentItemType&amp;gt;
&amp;lt;QuantityInEntryUnit&amp;gt;20&amp;lt;/QuantityInEntryUnit&amp;gt;
&amp;lt;Plant&amp;gt;1710&amp;lt;/Plant&amp;gt;
&amp;lt;Material&amp;gt;TG11&amp;lt;/Material&amp;gt;
&amp;lt;PurchaseOrderItem&amp;gt;10&amp;lt;/PurchaseOrderItem&amp;gt;
&amp;lt;PurchaseOrder&amp;gt;4500000107&amp;lt;/PurchaseOrder&amp;gt;
&amp;lt;GoodsMovementRefDocType&amp;gt;B&amp;lt;/GoodsMovementRefDocType&amp;gt;
&amp;lt;GoodsMovementType&amp;gt;101&amp;lt;/GoodsMovementType&amp;gt;
&amp;lt;EntryUnit&amp;gt;PC&amp;lt;/EntryUnit&amp;gt;
&amp;lt;MaterialDocument/&amp;gt;
&amp;lt;MaterialDocumentYear/&amp;gt;
&amp;lt;MaterialDocumentItem/&amp;gt;
&amp;lt;/A_MaterialDocumentItemType&amp;gt;
&amp;lt;/to_MaterialDocumentItem&amp;gt;
&amp;lt;MaterialDocument/&amp;gt;
&amp;lt;MaterialDocumentYear/&amp;gt;
&amp;lt;/A_MaterialDocumentHeaderType&amp;gt;
&amp;lt;/A_MaterialDocumentHeader&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;While JSON payload works fine:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;{
 "DocumentDate": "/Date(1611320834000)/",
 "PostingDate": "/Date(1611320834000)/",
 "MaterialDocumentHeaderText": "testAPI",
 "GoodsMovementCode": "01",
 "to_MaterialDocumentItem": {
 "results": [
 {
 "Material": "1016158",
 "Plant": "ROT1",
 "StorageLocation": "RO1Z",
 "GoodsMovementType": "101",
 "Supplier": "90011172",
 "PurchaseOrder": "4500001080",
 "PurchaseOrderItem": "10",
 "GoodsMovementRefDocType": "B",
 "GoodsMovementReasonCode": "0",
 "EntryUnit": "PC",
 "QuantityInEntryUnit": "1",
 "GdsMvtExtAmtInCoCodeCrcy": "0.00",
 "SlsPrcAmtInclVATInCoCodeCrcy": "0.00",
 "IsCompletelyDelivered": false,
 "SerialNumbersAreCreatedAutomly": true,
 "ReservationIsFinallyIssued": false,
 "MaterialDocumentLine": "1",
 "MaterialDocumentParentLine": "0",
 "HierarchyNodeLevel": "0",
 "GoodsMovementIsCancelled": false
 }
 ]
 }
}
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Could you, please, advise, what could be the reason?&lt;/P&gt;
  &lt;P&gt;Best regards,&lt;/P&gt;
  &lt;P&gt;Alexander&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 09:35:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xml-paloyad-for-api-material-document-srv/qaq-p/12307584</guid>
      <dc:creator>AlexKorn</dc:creator>
      <dc:date>2021-01-27T09:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: XML Paloyad for API_MATERIAL_DOCUMENT_SRV</title>
      <link>https://community.sap.com/t5/technology-q-a/xml-paloyad-for-api-material-document-srv/qaa-p/12307585#M4612590</link>
      <description>&lt;P&gt;Hello Alexander,&lt;/P&gt;&lt;P&gt;Can yo ucheck directly in SAP S4 by posting the XML data.I feel it supports only JSON format for POST operation.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sriprasad Shivaram Bhat&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 09:39:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xml-paloyad-for-api-material-document-srv/qaa-p/12307585#M4612590</guid>
      <dc:creator>Sriprasadsbhat</dc:creator>
      <dc:date>2021-01-27T09:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: XML Paloyad for API_MATERIAL_DOCUMENT_SRV</title>
      <link>https://community.sap.com/t5/technology-q-a/xml-paloyad-for-api-material-document-srv/qaa-p/12307586#M4612591</link>
      <description>&lt;P&gt;Hello Sriprasad,&lt;/P&gt;&lt;P&gt;thank you for the prompt reply. Could you, please, advise, what do you mean by  "directly in SAP S4 by posting the XML data"? What I did:&lt;/P&gt;&lt;P&gt;1. Created Communication Arrangement in S/4&lt;/P&gt;&lt;P&gt;2. Took the link:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1876895-2.png" /&gt;&lt;/P&gt;&lt;P&gt;3. Put it in Postman and add A_MaterialDocumentHeader to the end of the link:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1876896-3.png" /&gt;&lt;/P&gt;&lt;P&gt;Then it worked with JSON, but did not work with XML. Does it mean, that XML simply not acceptable format here?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Alexander &lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 09:45:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xml-paloyad-for-api-material-document-srv/qaa-p/12307586#M4612591</guid>
      <dc:creator>AlexKorn</dc:creator>
      <dc:date>2021-01-27T09:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: XML Paloyad for API_MATERIAL_DOCUMENT_SRV</title>
      <link>https://community.sap.com/t5/technology-q-a/xml-paloyad-for-api-material-document-srv/qaa-p/12307587#M4612592</link>
      <description>&lt;P&gt;Is it Resolved? Can you explain how you posted Material Document through Odata V2?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 13:51:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xml-paloyad-for-api-material-document-srv/qaa-p/12307587#M4612592</guid>
      <dc:creator>kvrsaicharan1152</dc:creator>
      <dc:date>2023-02-02T13:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: XML Paloyad for API_MATERIAL_DOCUMENT_SRV</title>
      <link>https://community.sap.com/t5/technology-q-a/xml-paloyad-for-api-material-document-srv/qaa-p/14433221#M4945237</link>
      <description>&lt;P&gt;I faced identical issue.&lt;/P&gt;&lt;P&gt;It appears that you cannot simply copy/paste XML contents you see in Integration Suite iflow traces, into a Postman call.&lt;/P&gt;&lt;P&gt;It seems that an "&lt;STRONG&gt;OData" call step in Integration Suite adds many tags and attributes to the provided XML payload.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;As an example, see in this doc page&amp;nbsp;&lt;A href="https://help.sap.com/docs/SAP_S4HANA_CLOUD/3f57e7df4a114edabffe8b2d581a59ed/8bb0d08295044ee3af444b4f2a6e4457.html" target="_blank" rel="noopener"&gt;Create Material Documents | SAP Help Portal&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The only example using XML format I could find was in "&lt;STRONG&gt;Create a Goods Receipt with Serial Numbers":&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt; &amp;lt;entry xml:base="&lt;A href="https://Your_Server/sap/opu/odata/SAP/API_MATERIAL_DOCUMENT_SRV/" target="_blank"&gt;https://Your_Server/sap/opu/odata/SAP/API_MATERIAL_DOCUMENT_SRV/&lt;/A&gt;" xmlns="&lt;A href="http://www.w3.org/2005/Atom" target="_blank"&gt;http://www.w3.org/2005/Atom&lt;/A&gt;" xmlns:m="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/metadata&lt;/A&gt;" xmlns:d="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices&lt;/A&gt;"&amp;gt; &amp;lt;category term="API_MATERIAL_DOCUMENT_SRV.A_MaterialDocumentHeaderType" scheme="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/scheme&lt;/A&gt;"/&amp;gt; &amp;lt;link href="A_MaterialDocumentHeader" rel="self" title="A_MaterialDocumentHeaderType"/&amp;gt; &amp;lt;link href="A_MaterialDocumentHeader/to_MaterialDocumentItem" rel="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/related/to_MaterialDocumentItem" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/related/to_MaterialDocumentItem&lt;/A&gt;" type="application/atom+xml;type=feed" title="to_MaterialDocumentItem"&amp;gt; &amp;lt;m:inline&amp;gt; &amp;lt;feed xml:base="&lt;A href="https://Your_Server/sap/opu/odata/SAP/API_MATERIAL_DOCUMENT_SRV/" target="_blank"&gt;https://Your_Server/sap/opu/odata/SAP/API_MATERIAL_DOCUMENT_SRV/&lt;/A&gt;"&amp;gt; &amp;lt;link href="Item" rel="self" title="A_MaterialDocumentItem"/&amp;gt; &amp;lt;entry&amp;gt; &amp;lt;category term="API_MATERIAL_DOCUMENT_SRV.A_MaterialDocumentItemType" scheme="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/scheme&lt;/A&gt;"/&amp;gt; &amp;lt;link href="Item 1" rel="self" title="A_MaterialDocumentItemType"/&amp;gt; &amp;lt;link href="Item 1)/to_MaterialDocumentHeader" rel="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/related/to_MaterialDocumentHeader" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/related/to_MaterialDocumentHeader&lt;/A&gt;" type="application/atom+xml;type=entry" title="to_MaterialDocumentHeader"/&amp;gt; &amp;lt;link href="Item_1/to_SerialNumbers" rel="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/related/to_SerialNumbers" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/related/to_SerialNumbers&lt;/A&gt;" type="application/atom+xml;type=feed" title="to_SerialNumbers"&amp;gt; &amp;lt;m:inline&amp;gt; &amp;lt;feed xml:base="&lt;A href="https://Your_Server/sap/opu/odata/SAP/API_MATERIAL_DOCUMENT_SRV/" target="_blank"&gt;https://Your_Server/sap/opu/odata/SAP/API_MATERIAL_DOCUMENT_SRV/&lt;/A&gt;"&amp;gt; &amp;lt;link href="Item_1/to_SerialNumbers" rel="self" title="A_SerialNumberMaterialDocument"/&amp;gt; &amp;lt;entry&amp;gt; &amp;lt;category term="API_MATERIAL_DOCUMENT_SRV.A_SerialNumberMaterialDocumentType" scheme="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/scheme&lt;/A&gt;"/&amp;gt; &amp;lt;link href="Serial Number 1" rel="self" title="A_SerialNumberMaterialDocumentType"/&amp;gt; &amp;lt;content type="application/xml"&amp;gt; &amp;lt;m:properties&amp;gt; &amp;lt;d:SerialNumber&amp;gt;SERIALNUMBER_1&amp;lt;/d:SerialNumber&amp;gt; &amp;lt;/m:properties&amp;gt; &amp;lt;/content&amp;gt; &amp;lt;/entry&amp;gt; &amp;lt;entry&amp;gt; &amp;lt;category term="API_MATERIAL_DOCUMENT_SRV.A_SerialNumberMaterialDocumentType" scheme="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/scheme&lt;/A&gt;"/&amp;gt; &amp;lt;link href="Serial Number 2" rel="self" title="A_SerialNumberMaterialDocumentType"/&amp;gt; &amp;lt;content type="application/xml"&amp;gt; &amp;lt;m:properties&amp;gt; &amp;lt;d:SerialNumber&amp;gt;SERIALNUMBER_2&amp;lt;/d:SerialNumber&amp;gt; &amp;lt;/m:properties&amp;gt; &amp;lt;/content&amp;gt; &amp;lt;/entry&amp;gt; &amp;lt;/feed&amp;gt; &amp;lt;/m:inline&amp;gt; &amp;lt;/link&amp;gt; &amp;lt;content type="application/xml"&amp;gt; &amp;lt;m:properties&amp;gt; &amp;lt;d:Material&amp;gt;Your_Material&amp;lt;/d:Material&amp;gt; &amp;lt;d:Plant&amp;gt;1010&amp;lt;/d:Plant&amp;gt; &amp;lt;d:StorageLocation&amp;gt;101A&amp;lt;/d:StorageLocation&amp;gt; &amp;lt;d:GoodsMovementType&amp;gt;501&amp;lt;/d:GoodsMovementType&amp;gt; &amp;lt;d:EntryUnit&amp;gt;PC&amp;lt;/d:EntryUnit&amp;gt; &amp;lt;d:QuantityInEntryUnit&amp;gt;2&amp;lt;/d:QuantityInEntryUnit&amp;gt; &amp;lt;d:SerialNumbersAreCreatedAutomly&amp;gt;false&amp;lt;/d:SerialNumbersAreCreatedAutomly&amp;gt; &amp;lt;/m:properties&amp;gt; &amp;lt;/content&amp;gt; &amp;lt;/entry&amp;gt; &amp;lt;entry&amp;gt; &amp;lt;category term="API_MATERIAL_DOCUMENT_SRV.A_MaterialDocumentItemType" scheme="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/scheme&lt;/A&gt;"/&amp;gt; &amp;lt;link href="Item 2" rel="self" title="A_MaterialDocumentItemType"/&amp;gt; &amp;lt;link href="Item 2)/to_MaterialDocumentHeader" rel="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/related/to_MaterialDocumentHeader" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/related/to_MaterialDocumentHeader&lt;/A&gt;" type="application/atom+xml;type=entry" title="to_MaterialDocumentHeader"/&amp;gt; &amp;lt;link href="Item_2/to_SerialNumbers" rel="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/related/to_SerialNumbers" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/related/to_SerialNumbers&lt;/A&gt;" type="application/atom+xml;type=feed" title="to_SerialNumbers"&amp;gt; &amp;lt;m:inline&amp;gt; &amp;lt;feed xml:base="&lt;A href="https://Your_Server/sap/opu/odata/SAP/API_MATERIAL_DOCUMENT_SRV/" target="_blank"&gt;https://Your_Server/sap/opu/odata/SAP/API_MATERIAL_DOCUMENT_SRV/&lt;/A&gt;"&amp;gt; &amp;lt;link href="Item_2/to_SerialNumbers" rel="self" title="A_SerialNumberMaterialDocument"/&amp;gt; &amp;lt;entry&amp;gt; &amp;lt;category term="API_MATERIAL_DOCUMENT_SRV.A_SerialNumberMaterialDocumentType" scheme="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/scheme&lt;/A&gt;"/&amp;gt; &amp;lt;link href="Serial Number 3" rel="self" title="A_SerialNumberMaterialDocumentType"/&amp;gt; &amp;lt;content type="application/xml"&amp;gt; &amp;lt;m:properties&amp;gt; &amp;lt;d:SerialNumber&amp;gt;SERIALNUMBER_3&amp;lt;/d:SerialNumber&amp;gt; &amp;lt;/m:properties&amp;gt; &amp;lt;/content&amp;gt; &amp;lt;/entry&amp;gt; &amp;lt;entry&amp;gt; &amp;lt;category term="API_MATERIAL_DOCUMENT_SRV.A_SerialNumberMaterialDocumentType" scheme="&lt;A href="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/scheme&lt;/A&gt;"/&amp;gt; &amp;lt;link href="Serial Number 4" rel="self" title="A_SerialNumberMaterialDocumentType"/&amp;gt; &amp;lt;content type="application/xml"&amp;gt; &amp;lt;m:properties&amp;gt; &amp;lt;d:SerialNumber&amp;gt;SERIALNUMBER_4&amp;lt;/d:SerialNumber&amp;gt; &amp;lt;/m:properties&amp;gt; &amp;lt;/content&amp;gt; &amp;lt;/entry&amp;gt; &amp;lt;/feed&amp;gt; &amp;lt;/m:inline&amp;gt; &amp;lt;/link&amp;gt; &amp;lt;content type="application/xml"&amp;gt; &amp;lt;m:properties&amp;gt; &amp;lt;d:Material&amp;gt;Your_Material&amp;lt;/d:Material&amp;gt; &amp;lt;d:Plant&amp;gt;1010&amp;lt;/d:Plant&amp;gt; &amp;lt;d:StorageLocation&amp;gt;101A&amp;lt;/d:StorageLocation&amp;gt; &amp;lt;d:GoodsMovementType&amp;gt;501&amp;lt;/d:GoodsMovementType&amp;gt; &amp;lt;d:EntryUnit&amp;gt;PC&amp;lt;/d:EntryUnit&amp;gt; &amp;lt;d:QuantityInEntryUnit&amp;gt;2&amp;lt;/d:QuantityInEntryUnit&amp;gt; &amp;lt;d:SerialNumbersAreCreatedAutomly&amp;gt;false&amp;lt;/d:SerialNumbersAreCreatedAutomly&amp;gt; &amp;lt;/m:properties&amp;gt; &amp;lt;/content&amp;gt; &amp;lt;/entry&amp;gt; &amp;lt;/feed&amp;gt; &amp;lt;/m:inline&amp;gt; &amp;lt;/link&amp;gt; &amp;lt;content type="application/xml"&amp;gt; &amp;lt;m:properties&amp;gt; &amp;lt;d:GoodsMovementCode&amp;gt;05&amp;lt;/d:GoodsMovementCode&amp;gt; &amp;lt;d:MaterialDocumentHeaderText&amp;gt;This is Text &amp;lt;/MaterialDocumentHeaderText&amp;gt; &amp;lt;/m:properties&amp;gt; &amp;lt;/content&amp;gt; &amp;lt;/entry&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;By adapting this example to my use case, I could make the material document to be created.&lt;/P&gt;&lt;P&gt;It seems that when not using Integration Suite, it is simpler/clearer to use JSON format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jul 2026 22:26:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xml-paloyad-for-api-material-document-srv/qaa-p/14433221#M4945237</guid>
      <dc:creator>MaximePacary</dc:creator>
      <dc:date>2026-07-03T22:26:24Z</dc:date>
    </item>
  </channel>
</rss>

