SAP Knowledge Base Article - Public

3224259 - Error: contains multiple references to


When trying to change the status or other field from a ticket, the below error comes up:

  • &1 with ID &2 contains multiple references to &3 with ID &4. (&1, &2, &3, &4 are placeholders)


  • SAP Cloud for Customer
  • SAP Cloud Applications Studio

Reproducing the Issue


  • You have an add-on created on Cloud Applications Studio.
  • You have an Event script file which attempts to create a new ticket.


The event script contains a logic which attempts to create a new ticket (which is not saved yet).

The ticket being changed contains 1 or more BTD (BusinessTransactionDocument) References (having a different NodeID key) with exactly the same reference instances (reference to the current Ticket being changed on the UI).

Multiple references for same referenced document is not allowed.


Adjust the code logic to check if the current ticket already has a BTD reference and avoid the creation.


PDI, SDK, ABSL, custom, solution, script, contains, multiple, references, to , KBA , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , How To


SAP Cloud Applications Studio all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions