Skip to Content
0
Former Member
Dec 21, 2006 at 03:57 AM

Exception while executing Function module - HRXSS_PER_READ_P0006_US

124 Views

Unable to execute any of the following Function modules:

(Gave the neccesary inputs)

HRXSS_PER_P0006_US

HRXSS_PER_DELETE_P0006_US

HRXSS_PER_EDIT_P0006_US

HRXSS_PER_MODIFY_P0006_US

HRXSS_PER_NEW_P0006_US

HRXSS_PER_READ_P0006_US

Getting an exception

Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO

Exceptn CX_SY_REF_IS_INITIAL

ShrtText

Access with 'ZERO' object reference not possible.

What happened?

Error in ABAP application program.

The current ABAP program "SAPLHRXSS_PER_MAC" had to be terminated because one of the statements could not be executed.

This is probably due to an error in the ABAP program.

Error analysis

An exception occurred. This exception is dealt with in more detail below . The exception, which is assigned to the class 'CX_SY_REF_IS_INITIAL', was neither caught nor passed along using a RAISING clause, in the procedure "HRXSS_PER_CLEANUP" "(FUNCTION)".

Since the caller of the procedure could not have expected this exception to occur, the running program was terminated.

The reason for the exception is:

There was an attempt to access a component using a 'NULL' object reference (points to nothing).

An object reference must indicate 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 a CLEAR statement.

Missing RAISING Clause in Interface

Program SAPLHRXSS_PER_MAC

Include LHRXSS_PER_MAC$04

Row 7

Module type (FUNCTION)

Module Name HRXSS_PER_CLEANUP

Trigger Location of Exception

Program SAPLHRXSS_PER_MAC

Include LHRXSS_PER_MACU04

Row 13

Module type (FUNCTION)

Module Name HRXSS_PER_CLEANUP

What could be the reason?

Regards,

Sarath