on 08-08-2016 8:53 AM
hi,
http://staticip:8000/sap/opu/odata/sap/ZMSFA_SRV/
this my service i get details in browser like below with so many tags
<app:collection sap:pageable="false" sap:addressable="false" sap:content-version="1" href="MaterialStocks">
<atom:title type="text">MaterialStocks</atom:title><sap:member-title>MaterialStock</sap:member-title>
</app:collection>
but while using android application i can not get the details of material stocks..
please guide to get the data using that service in android application.
Is this just related to oData Service?? any link with Mobile platform? need more details.
Regards,
Nagesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for reply,
i have found..thanks..
but for update i need some clear explanation..
for selecting the data i am using the odata service like this..
getApplicationEndPoint() +"SalesOrder('"+ refvalue +"')/SalesOrderItems";
it returns more number of data , i need to update particular tag data for particular values..
Please give me solution...
Hi Meenakshi, you need to perform the update operation on a particular record. Do you need to update for SaleOrder or SalesorderItem? if you need to update the particular record of an entity. Mostly url will be getApplicationEndPoint()/SalesOrder('X') where 'X' is the salesorderid. And send the payload to be updated with POST operation. If only few fields in the payload to be updated you can use PUT operation rather than POST. Thanks and Regards, Suma
Thanks Suma,
for update i need that xml format and how to set condition in it,because for sales order items i have one order no with three different item no,for that i need to update for particular item no qty or some other field values.i hope understand requirement thanks..
this is my service format:
getApplicationEndPoint() +"SalesOrder('"+ refvalue +"')/SalesOrderItems"
it return all sales order item regarding the sales order refvalue...
Thanks...
Hi Meenakshi, You cannot update all the salesorderitems at once for a particular salesorder by using the above url format as Deep update is not supported from OData. You need to individually update the different salesorderitems. However all the these different calls can be send through one batch request. Hope it is clear. Thanks and Regards, Suma
Is this native UI5 or using SMP/HCPms?
Regards,
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.