on 02-29-2016 12:50 PM
Hi,
I redefined a GET_ENTITY method and tried to execute the gateway with below payload its throwing an error Method GET ENTITYSET not implemented.
Please let me know whats missing in my payload and on which base it will decide to trigger GET_ENTITY or GET_ENTITYSET.
<?xml version="1.0" encoding="utf-8"?>
<entry xml:base="http://sgu2hgpas97.testway.rwsprod.net:8101/sap/opu/odata/sap/ZTEST_TESTPIT_SRV/" 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">
<id>http://sgu2hgpas97.testway.rwsprod.net:8101/sap/opu/odata/sap/ZTEST_TESTPIT_SRV/DSM_MODIFYSet</id>
<title type="text">DSM_MODIFYSet</title>
<category term="ZTEST_TESTPIT_SRV.DSM_MODIFY" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
<link href="DSM_MODIFYSet" rel="self" title="DSM_MODIFY"/>
<content type="application/xml">
<m:properties>
<d:Matnr>1234567</d:Matnr>
<d:Matkl>13</d:Matkl>
<d:Attyp>01</d:Attyp>
<d:TargClient/>
<d:Zcomment>TEST SHAIK 1</d:Zcomment>
<d:Zpc_Model>10</d:Zpc_Model>
</m:properties>
</content>
</entry>
Regards
Shaik
Hello Shaik,
What is the Operation which you would like to perform here ?
GET or POST ?
To fire GetEntity you need to send Key(s)
To fire GetEntitySet you you need to just mention EntitySet name or EntitySet name along with filter parameters.
Please have a loo at the below for details for CRUD operations->
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.