Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

Batch processing request error

$
0
0

Hi Experts,

 

I am trying to understand $Batch operation by executing standard service GWSAMPLE_BASIC to check Batch processing by following below link

 

  $batch Processing - SAP Gateway Foundation (SAP_GWFND) - SAP Library

 

I am getting below error, can any one please help me with the solution.

 

HTTP Request :-

 

https://<host>:<port>/sap/opu/odata/IWBEP/GWSAMPLE_BASIC/$batch

--batch_005056A5-09B1-1ED1-BF82-409B26A80300

Content-Type: multipart/mixed; boundary=changeset_005056A5-09B1-1ED1-BF82-409B26A80301

 

--changeset_005056A5-09B1-1ED1-BF82-409B26A80301

Content-Type: application/http

Content-Transfer-Encoding: binary

Content-ID: 100

 

POST SalesOrderSet HTTP/1.1

Content-Type: application/atom+xml

Content-Length: 1021

<atom:entry xmlns:atom="http://www.w3.org/2005/Atom">

<atom:content type="application/xml">

<m:properties xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">

<d:SalesOrderID></d:SalesOrderID>

<d:Note>Deliver as fast as possible</d:Note>

<d:NoteLanguage>EN</d:NoteLanguage>

<d:CustomerID>0100000000</d:CustomerID>

<d:CustomerName>SAP</d:CustomerName>

<d:CurrencyCode>EUR</d:CurrencyCode>

<d:GrossAmount>25867.03</d:GrossAmount>

<d:NetAmount>21737.00</d:NetAmount>

<d:TaxAmount>4130.03</d:TaxAmount>

<d:LifecycleStatus>N</d:LifecycleStatus>

<d:LifecycleStatusDescription>New</d:LifecycleStatusDescription>

<d:BillingStatus/>

<d:BillingStatusDescription>Initial</d:BillingStatusDescription>

<d:DeliveryStatus/>

<d:DeliveryStatusDescription>Initial</d:DeliveryStatusDescription>

<d:CreatedAt>2015-03-22T23:00:00.0000000</d:CreatedAt>

<d:ChangedAt>2015-03-22T23:00:00.0000000</d:ChangedAt>

</m:properties>

</atom:content>

</atom:entry>

 

--changeset_005056A5-09B1-1ED1-BF82-409B26A80301

Content-Type: application/http

Content-Transfer-Encoding: binary

 

POST $100/ToLineItems HTTP/1.1

Content-Type: application/atom+xml

Content-Length: 1021

 

<atom:entry xmlns:atom="http://www.w3.org/2005/Atom">

<atom:content type="application/xml">

<m:properties xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">

<d:SalesOrderID></d:SalesOrderID>

<d:ItemPosition></d:ItemPosition>

<d:ProductID>HT-1001</d:ProductID>

<d:Note>EPM DG: SO ID 0500000000 Item 0000000020</d:Note>

<d:NoteLanguage>EN</d:NoteLanguage>

<d:CurrencyCode>EUR</d:CurrencyCode><d:GrossAmount>2972.62</d:GrossAmount>

<d:NetAmount>2498.00</d:NetAmount>

<d:TaxAmount>474.62</d:TaxAmount>

<d:DeliveryDate>2015-03-29T22:00:00.0000000</d:DeliveryDate>

<d:Quantity>2</d:Quantity>

<d:QuantityUnit>EA</d:QuantityUnit>

</m:properties>

</atom:content>

</atom:entry>

 

--changeset_005056A5-09B1-1ED1-BF82-409B26A80301--

 

--batch_005056A5-09B1-1ED1-BF82-409B26A80300--

 

-------------------------------------------------------------------------------------------------------------------------

Screenshot of Error :-

Batch.png

 

 

Thanks in  Advance.


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>