Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3303

How to execute Odata Service with SolMan Mobile Application

$
0
0

Hello Experts ,

 

Greetings for the day!!

 

I have a  problem in order to use/consume  OData service "http://xyz:00000/sap/opu/odata/AIGW/SERVICE_GDAPI/"


When We execute the SAP Provided Standard Odata service "sap/opu/odata/AIGW/SERVICE_GDAPI/" we are able to get  below output:



<app:servicexmlns:app="http://www.w3.org/2007/app"xmlns:atom="http://www.w3.org/2005/Atom"xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"xmlns:sap="http://www.sap.com/Protocols/SAPData"xml:lang="en"xml:base="http://sthsmqm8dv.kaust.edu.sa:8005/sap/opu/odata/AIGW/SERVICE_GDAPI/">

 

<app:workspace>

 

 

<atom:titletype="text">Data</atom:title>

 

 

<app:collectionsap:content-version="1"href="ACTIONSCollection">

 

 

<atom:titletype="text">ACTIONSCollection</atom:title>

 

<sap:member-title>ACTIONS</sap:member-title>

</app:collection>

 

<app:collectionsap:content-version="1"href="PARTNER_FUNCTIONSCollection">

 

 

<atom:titletype="text">PARTNER_FUNCTIONSCollection</atom:title>

 

<sap:member-title>PARTNER_FUNCTIONS</sap:member-title>

</app:collection>

 

<app:collectionsap:content-version="1"href="TEXT_IDSCollection">

 

 

<atom:titletype="text">TEXT_IDSCollection</atom:title>

 

<sap:member-title>TEXT_IDS</sap:member-title>

</app:collection>

 

<app:collectionsap:content-version="1"href="STATUS_TYPESCollection">

 

 

<atom:titletype="text">STATUS_TYPESCollection</atom:title>

 

<sap:member-title>STATUS_TYPES</sap:member-title>

</app:collection>

 

<app:collectionsap:content-version="1"href="PRIORITYCollection">

 

 

<atom:titletype="text">PRIORITYCollection</atom:title>

 

<sap:member-title>PRIORITY</sap:member-title>

</app:collection>

 

<app:collectionsap:content-version="1"href="IBASE_COMPONENTSCollection">

 

 

<atom:titletype="text">IBASE_COMPONENTSCollection</atom:title>

 

<sap:member-title>IBASE_COMPONENTS</sap:member-title>

</app:collection>

 

<app:collectionsap:content-version="1"href="APPOINTMENT_TYPECollection">

 

 

<atom:titletype="text">APPOINTMENT_TYPECollection</atom:title>

 

<sap:member-title>APPOINTMENT_TYPE</sap:member-title>

</app:collection>

 

<app:collectionsap:deletable="false"sap:content-version="1"href="PARTNERCollection">

 

 

<atom:titletype="text">PARTNERCollection</atom:title>

 

<sap:member-title>PARTNER</sap:member-title>

<atom:linkhref="SubscriptionCollection"rel="http://www.sap.com/Protocols/SAPData/rel#subscribe"/>

</app:collection>

 

<app:collectionsap:content-version="1"href="STATUSCollection">

 

 

<atom:titletype="text">STATUSCollection</atom:title>

 

<sap:member-title>STATUS</sap:member-title>

</app:collection>

 

<app:collectionsap:deletable="false"sap:content-version="1"href="TEXTCollection">

 

 

<atom:titletype="text">TEXTCollection</atom:title>

 

<sap:member-title>TEXT</sap:member-title>

<atom:linkhref="SubscriptionCollection"rel="http://www.sap.com/Protocols/SAPData/rel#subscribe"/>

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



So Successfully All Collections are coming  and metadata too.

In order  to get the data from using the collections Like : ListCSCollection.

We have debugged and got some  information that we needs to pass parameters then will have data from Odata service URL :


http://xxxxxx:0000/sap/opu/odata/AIGW/SERVICE_GDAPI/ListCSCollection(LANGUAGE='',CHARM='X',PROCESS_TYPE='')

 

But getting below error output after running the above OdataService URL :

 

<errorxmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">

 

<code>SY/530</code>

 

<messagexml:lang="en">Resource not found for segment 'LIST_CS'.</message>

 

<innererror>

 

 

<transactionid>571526FBA2BD14C0E10080000AFE603E</transactionid>

 

<timestamp/>

 

<Error_Resolution>

 

 

<SAP_Transaction/>

 

<SAP_Note/>

</Error_Resolution>

 

<errordetails>

 

 

<errordetail>

 

 

<code>/IWBEP/CX_MGW_BUSI_EXCEPTION</code>

 

<message>Resource not found for segment 'LIST_CS'.</message>

<propertyref/>

<severity>error</severity>

</errordetail>

</errordetails>

</innererror>

</error>


Could any expert can suggest us the right way of using standard Odata service.

We need to build custom SAP UI5 application with help of this Standard Odata service consumption.


What could be the correct parameters to execute the Odata service "http://xyz:00000/sap/opu/odata/AIGW/SERVICE_GDAPI/


It will be great help for your feedbackas earliest.


Regards,

Samudra




Viewing all articles
Browse latest Browse all 3303

Trending Articles



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