Skip to Content
0
Former Member
Mar 25, 2009 at 11:19 AM

Access via 'NULL' object reference not possible.

34 Views

Hi,

I get the message: Access via 'NULL' object reference not possible.

IF NOT go_application->material->data-mara-matnr IS INITIAL.

.............

ENDIF.

How can I prevent this dump.

You attempted to use a 'NULL' object reference (points to 'nothing')
access a component (variable: " ").
An object reference must point to an object (an instance of a class)
before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using the
CLEAR statement.