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

Odata entity relationship with 404 error: Resource not found

$
0
0

Dear friends,

         I create an odata service with entity relationship between two table, the code like this :

 

service namespace "ANA_SO_HEADER"

{ "BOOK"."ZSOHEADER" as "HEADER" key generate local "GenID" navigates ("Items" as "SOITEM")

    ;

  

   "BOOK"."ZSOITEM" as "SOITEM";

  

   association "Items" principal "HEADER"("SaleOrderNo") multiplicity "1"

   dependent "SOITEM"("SaleOrderNo") multiplicity "*";

   }

 

 

I can check both HEADER and SOITEM entity, but I can not visit the item entity of the header hyperlink, it have this error : Resource not found.

Is any wrong with my odata service code  or my table data ?

 

QQ截图20150625004027.png

 

QQ截图20150625004109.png

 

Best Regards,

Zhang


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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