Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

navigation property

$
0
0

Hi,

I have two entity product and supplier.  product(0:n)-->supplier(1)

I have created association and navigation property(ToSupplier) in product. the association has no referential constraints.

 

now I am trying to get the supplier via navigation.

odata request url       /ProductCollection('AD-1000')/ToSupplier

 

SUPPLIERCOLLECTI_GET_ENTITY get called.

 

the value of input parameter iv_entity_set_name of that method is "SupplierCollection". why? it should be "ProductCollection".

 

I am following the example from this book, the code in book is also expecting that paramter to be "ProductCollection"

OData and SAP NetWeaver Gateway. von Carsten Bönnen, - by SAP PRESS

 

did I miss anything?

my gateway is sp12 on nw 7.4

Best regards,

Jun


Viewing all articles
Browse latest Browse all 2823

Trending Articles



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