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

$Expand not working

$
0
0

Hello Experts,

 

Assume these 2 entity sets:

 

  • promotions

properties:

 

  <d:ID>0000010272</d:ID>

 

 

  <d:Materialgroup>R1113</d:Materialgroup>

 

 

  <d:Amount>300.00</d:Amount>

 

 

  <d:From>1998-10-19T00:00:00</d:From>

 

 

  <d:To>9999-12-31T00:00:00</d:To>


  • mat_group

properties:

 

  <d:ID>R1113</d:ID>

 

 

  <d:Name>Frozen foods</d:Name>

  So i try /sap/opu/odata/sap/YXM_GWS_BART_SRV/promotions('R1113')?$expand=mat_group
   to get the Name of the material group.

  But i get "<message xml:lang="en">Resource not found for the segment 'mat_group'.</message>".

  Any ideas ?
   
  Kind regards,

  Bart

Viewing all articles
Browse latest Browse all 2823

Trending Articles



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