Skip to Content

Association in XSDS with Unmanged Mode

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 30, 2015 at 06:32 PM

    Hi Experts,

    Any idea on this.

    Thanks,

    Naga

    Add comment
    10|10000 characters needed characters exceeded