SAP Knowledge Base Article - Public

2683476 - System is Triggering a Dump With the Error DATREF_NOT_ASSIGNED

Symptom

You are receiving error DATREF_NOT_ASSIGNED related to a PDI solution.

Environment

  • SAP Hybris Cloud for Customer
  • SAP Business ByDesign
  • Cloud Applications Studio

Cause

The error DATREF_NOT_ASSIGNED is raised when an association, or an element is used without being defined. To avoid such cases you should test the elements or associations before using it.

Resolution

Use the methods IsSet() to test associations before using them in the code, and method IsInitial() for the elements. If the association is not set, or the element is initial, this should not be used in the runtime.

In case there is no information on the file Path, or code line where this dump is being triggered from, raise an incident and Support will provide you with this information.

Keywords

DATREF_NOT_ASSIGNED;
Custom solution dump;
dump; , KBA , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , Problem

Product

SAP Business ByDesign all versions ; SAP Cloud Applications Studio all versions ; SAP Cloud for Customer all versions