1

I have an ORDER structure in ABAP that has another ITEMS structure within it which will contain multiple items per order.

I'm populating this structure through a SAP Gateway service, which works for an ORDER + a single ITEM.

{
  "d": {
    "Venueid": "dsfgg",
    "Items" : {
    "__metadata" : {
      "type" : "ZGW_XXXX_SRV.Items"},
      "Venueid" : "dsd",
      "Type" : ""
      }
   }
 }

However, what would be the syntax to provide an array of more than one ITEM?

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
Adam Harkus
  • 2,050
  • 2
  • 36
  • 64

1 Answers1

2

The issue was because multiples can only be handled with the DEEP_INSERT method, not the normal CREATE.

Jagger
  • 10,350
  • 9
  • 51
  • 93
Adam Harkus
  • 2,050
  • 2
  • 36
  • 64