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

Association in XSDS with Unmanged Mode

$
0
0

Hi Experts,

 

Thomas Jung

 

I am trying to build an associations for two table VBRK and VBRP. Below is the syntax but we are not seeing the items in the output.

Please let me know anything wrong in the syntax.

 

var oDocItems = XSDS.$defineEntity("oDocsItems", '"SAPRHE"."VBRP"');

var oDocs = XSDS.$defineEntity("oDocs", '"SAPRHE"."VBRK"', {

  items: {

 

  $association:{

  $entity: oDocItems,

     $on: "$SOURCE.\"items\".\"VBELN\" == $SOURCE.\"VBELN\""

            }

         }

  });

  var oResult = oDocs.$query().$execute();

 

 

Thanks,

Naga


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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