SAP Knowledge Base Article - Public

2683476 - System is Triggering a Dump with Error "DATREF_NOT_ASSIGNED"

Symptom

You are receiving a dump with the following error: "No access possible via a 'NULL' data reference. (termination: RABAX_STATE)".

Environment

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

Cause

This error is related to a custom solution which exists in the system. It 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.

You can check for more details in the Dump Analysis tool within the Cloud Applications Studio.

In case there is no information on the script path or code line where this dump is being triggered from, raise an incident to SAP Support assist further.

Keywords

DATREF_NOT_ASSIGNED, custom, solution, dump, PDI, SDK, points, nothing, null, exception, error , KBA , no access possible via a 'null' data ref , datref_not_assigned , null data reference , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , How To

Product

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