Skip to Content
0
Former Member
Oct 23, 2009 at 07:52 PM

OBJECTS_OBJREF_NOT_ASSIGNED_NO

898 Views

Hi

When a user is trying to execute a transaction HRBEN0012 .he is getting the below dump. the user said that he has created some new variants and when he is trying to run the TCODE with thiis new variant the system is throwing a runtime error. please suggest something and also let me know is this a basis work

Error description

Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO

Exception CX_SY_REF_IS_INITIAL

Date and Time 16.10.2009 07:41:21

Short text

Access via 'NULL' object reference not possible.

What happened?

Error in the ABAP Application Program

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

has come across a statement that unfortunately cannot be executed.

What can you do?

Note down which actions and inputs caused the error.

To process the problem further, contact you SAP system

administrator.

Using Transaction ST22 for ABAP Dump Analysis, you can look

at and manage termination messages, and you can also

keep them for a long time.

Error analysis

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not

caught in

procedure "HR_ECM_ADD_MESSAGE" "(FUNCTION)", nor was it propagated by a RAISING

clause.

Since the caller of the procedure could not have anticipated that the

exception would occur, the current program is terminated.

The reason for the exception is:

You attempted to use a 'NULL' object reference (points to 'nothing')

access a component.

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.

How to correct the error

Probably the only way to eliminate the error is to correct the program.

the error occures in a non-modified SAP program, you may be able to

find an interim solution in an SAP Note.

If you have access to SAP Notes, carry out a search with the following

keywords:

"OBJECTS_OBJREF_NOT_ASSIGNED_NO" "CX_SY_REF_IS_INITIAL"

"SAPLHRECM00MESSAGE" or "LHRECM00MESSAGEU01"

"HR_ECM_ADD_MESSAGE"

If you cannot solve the problem yourself and want to send an error

notification to SAP, include the following information:

1. The description of the current problem (short dump)

To save the description, choose "System->List->Save->Local File

(Unconverted)".

2. Corresponding system log

Display the system log by calling transaction SM21.

Restrict the time interval to 10 minutes before and five minutes

after the short dump. Then choose "System->List->Save->Local File

(Unconverted)".

3. If the problem occurs in a problem of your own or a modified SAP

program: The source code of the program

In the editor, choose "Utilities->More

Utilities->Upload/Download->Download".

4. Details about the conditions under which the error occurred or which

actions and input led to the error.

The exception must either be prevented, caught within proedure

"HR_ECM_ADD_MESSAGE" "(FUNCTION)", or its possible occurrence must be declared

in the

RAISING clause of the procedure.

To prevent the exception, note the following:

System environment

SAP-Release 700

Application server... "eccprd01"

Network address...... "10.1.140.11"

Operating system..... "HP-UX"

Release.............. "B.11.31"

Hardware type........ "ia64"

Character length.... 16 Bits

Pointer length....... 64 Bits

Work process number.. 0

Shortdump setting.... "full"

Database server... "pusapora"

Database type..... "ORACLE"

Database name..... "PE1"

Database user ID.. "SAPSR3"

Terminal................. "CTO-KRUGGI745"

Char.set.... "C"

SAP kernel....... 700

created (date)... "Nov 18 2008 21:28:31"

create on........ "HP-UX B.11.23 U ia64"

Database version. "OCI_102 (10.2.0.4.0) "

Patch level. 185

Patch text.. " "

Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."

SAP database version. 700

Operating system..... "HP-UX B.11"

Memory consumption

Roll.... 16192

EM...... 46088240

Heap.... 0

Page.... 147456

MM Used. 23076912

MM Free. 18816848

User and Transaction

Client.............. 100

User................ "KRUGGI"

Language key........ "E"

Transaction......... "HRBEN0012 "

Transactions ID..... "4AD74C20EB5F3A4BE10000000A018C0B"

Program............. "SAPLHRECM00MESSAGE"

Screen.............. "RPUBEN62 2000"

Screen line......... 22

Information on where terminated

Termination occurred in the ABAP program "SAPLHRECM00MESSAGE" - in

"HR_ECM_ADD_MESSAGE".

The main program was "RPUBEN62 ".

In the source code you have the termination point in line 49

of the (Include) program "LHRECM00MESSAGEU01".

The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in

procedure "HR_ECM_ADD_MESSAGE" "(FUNCTION)", but it was neither handled locally

nor declared

in the RAISING clause of its signature.

The procedure is in program "SAPLHRECM00MESSAGE "; its source code begins in

line

1 of the (Include program "LHRECM00MESSAGEU01 ".