Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Runtime Error DATREF_NOT_ASSIGNED

Former Member
0 Likes
5,341

Hi Guys.

Could you please give a solution for the below Runtime error .

Category ABAP Programming Error

Runtime Errors DATREF_NOT_ASSIGNED

ABAP Program SAPLMMHIPO

Application Component MM-PUR

The current ABAP program "SAPLMMHIPO" had to be terminated because it

has come across a statement that unfortunately cannot be executed.

There was an attempt to access a data object via a 'NULL' data reference

(points to 'nothing'). A data reference must point to data object before

it can be used to access the referenced data object. The reference was

either never set or it was set to 'NULL' using the CLEAR statement.

Please find the below screenshots

1 REPLY 1
Read only

retired_member
Product and Topic Expert
Product and Topic Expert
0 Likes
3,045

Well, the runtime error occurred because a data reference variable was accessed that does not point to a data object.

This is most probably an error in the application program (or a wrong usage of that) and therefore must be reported to the application component that is shown in the header of the short dump (if you havn't modified the program ...).