Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

How to form a odata URL to filter on fields in Association node(with CDS & GW as service implementation)

$
0
0

Hi,

 

There are two entities, Business partner details & Address details created in SEGW Gateway service builder using Core Data Service as Data source. There is an Association & Navigation exist between Business partner entity & Address entity.

I am able to see both Business partner & Address details using the below URL

https://ldai2uia.wdf.sap.corp:44300/sap/opu/odata/sap/Z_AB_FPM_BASIC_CDS_BP_ADDR_SRV/SEPM_I_BusinessPartner/?$expand=to_…

 

But when I try to filter the data based on the fields in the association node with the below error, I will get the error as mentioned below. Could you please me know how to do this ?

https://ldai2uia.wdf.sap.corp:44300/sap/opu/odata/sap/Z_AB_FPM_BASIC_CDS_BP_ADDR_SRV/SEPM_I_BusinessPartner/?$expand=to_Address&$filter=to_Address/Country eq 'US'

 

<code>0050569259751EE4BA9710043F8A5115</code>
<messagexml:lang="en">
In the context of Data Services an unknown internal server error occurred
</message>
<transactionid>55711A2EBB45243FE10000000A429C39</transactionid>
<timestamp>20150609051036.6349830</timestamp>
<Error_Resolution>
<SAP_Transaction>
Run transaction /IWFND/ERROR_LOG on SAP NW Gateway hub system and search for entries with the timestamp above for more details
</SAP_Transaction>
<SAP_Note>
See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)
</SAP_Note>
</Error_Resolution>
</innererror>
</error>
In transaction /n/IWFND/ERROR_LOG it displayed the below message.
In the A row with the index 0 is not in the table.
The Metadata can be find with the below URL
Thanks,
Pradeep

Viewing all articles
Browse latest Browse all 6412

Trending Articles



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