/scripts/ahub.form.attachments.js
0

Gateway Create BPAI

Dec 26, 2016 at 08:31 AM

71

avatar image

Dear All

I am trying to use a BAPI to create Production Order ( BAPI_PROCORD_CREATE).

Gateway service giving following error.

<message xml:lang="en">The server is refusing to process the request because the entity has an unsupported format</message>

Request

<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://linux-global.com:8000/sap/opu/odata/SAP/ZAM_PROCESS_ORDER_SRV/">
 <id>http://linux-global.com:8000/sap/opu/odata/SAP/ZAM_PROCESS_ORDER_SRV/CreateProcessOrderSet</id>
 <title type="text">CreateProcessOrderSet</title>
 <updated>2016-12-26T08:05:09Z</updated>
 <author>
 <name/>
 </author>
 <link href="CreateProcessOrderSet" rel="self" title="CreateProcessOrderSet"/>
 <entry>
 <id>http://linux-global.com:8000/sap/opu/odata/SAP/ZAM_PROCESS_ORDER_SRV/CreateProcessOrderSet(Material='',Plant='',OrderType='')</id>
 <title type="text">CreateProcessOrderSet(Material='',Plant='',OrderType='')</title>
 <updated>2016-12-26T08:05:09Z</updated>
 <category term="ZAM_PROCESS_ORDER_SRV.CreateProcessOrder" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
 <link href="CreateProcessOrderSet(Material='',Plant='',OrderType='')" rel="self" title="CreateProcessOrder"/>
 <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:Material/>000000000030000001</d:Material>
 <d:Plant/>3000</d:Plant>
 <d:OrderType/>ZPI3</d:OrderType>
 <d:BasicStartDate>9999-12-31T00:00:00</d:BasicStartDate>
 <d:BasicStartTime>PT00H00M00S</d:BasicStartTime>
 <d:BasicEndDate>9999-12-31T00:00:00</d:BasicEndDate>
 <d:BasicEndTime>PT00H00M00S</d:BasicEndTime>
 <d:Quantity>22.000</d:Quantity>
 <d:OrderNumber/>
 </m:properties>
 </content>
 </entry>
</feed>
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Adnan Maqbool Dec 26, 2016 at 04:43 PM
0

Guys any idea.

Share
10 |10000 characters needed characters left characters exceeded
Skip to Content