Skip to Content
avatar image
Former Member

Not able to create record in back using $batch -Am I missing anything

Hi Gurus,

Appreciate your help..

I am getting status code 202 during my POST create operation , but not getting any other info in response area …even I put a external break point at create_entity …but still execution was not stopped there ..

Appreciate your help ..I paste below request body

-batch
Content-Type: multipart/mixed; boundary=changeset

–changeset
Content-Type: application/http
Content-Transfer-Encoding: binary

POST SorditemSet HTTP/1.1
Content-Type: application/atom+xml
Content-Length: 588

<?xml version=”1.0″ encoding=”utf-8″ standalone=”yes”?>
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“>
<atom:content type=”application/xml”>

<m:properties>
<d:Erdat>20161115</d:Erdat>
<d:Netwr> 94.35</d:Netwr>
<d:Waerk>EUR</d:Waerk>
<d:Kunnr>0000001066</d:Kunnr>
<d:Posnr>000010</d:Posnr>
<d:Matnr>90251178</d:Matnr>
<d:Kwmeng> 1.000</d:Kwmeng>
<d:Status>UNAU</d:Status>
<d:Vbeln>40000336</d:Vbeln>
</m:properties>
</atom:content>
</atom:entry>

–changeset–
–batch–-

Appreciate your help …if I am missing anything ..

Kind Regards

Sthiru

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers