We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-basis] Runtime Error CX_SY_REF_IS_INITIAL While Running a Custom Program in Background

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from mrrossi on May 6 at 9:11 AM
The runtime error actually describes the problem quite well... what is it you're actually asking for here? If it's a custom program then you need to speak to the ABAP/developers as it sounds like a bug in their code, or, you are using the wrong input (and they are not handling error catching well).

---------------Original Message---------------
From: reetsharma
Sent: Wednesday, May 06, 2015 2:52 AM
Subject: Runtime Error CX_SY_REF_IS_INITIAL While Running a Custom Program in Background

Runtime error CX_SY_REF_IS_INITIAL while running a custom program in background for getting profit center hierarchy.
Category ABAP Programming Error
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED
Except. CX_SY_REF_IS_INITIAL
ABAP Program Z_HIERARCHY
Application Component Not assigned
Date and Time 06.05.2015 05:43:47



Short Text
Access using a 'ZERO' object reference is not possible.



What happened?
Error in the ABAP Application Program

The current ABAP program "Z_HIERARCHY" 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 has occurred which is explained in more detail below. The
exception is assigned to class 'CX_SY_REF_IS_INITIAL' and was not caught in
procedure
"F_DISPLAY_DATA" "(FORM)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated this
exception, the current program was terminated.
The reason for the exception is:
You are trying to access a component with a 'ZERO' object reference
(points to 'nothing'). Variable: "GO_ALVGRID".
An object reference must point to an object (an instance of a class)
before it can be used to access a component. The reference has either
never been set, or it was set to 'ZERO' with a CLEAR statement.

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2015 Ziff Davis, LLC. and message author.
Ziff Davis, LLC. 28 E 28th Street New York, NY 10016
mrrossi  

achievement
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Become a blogger at Toolbox.com and share your expertise with the community. Start today.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language