Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8914

Runtime error after change in table ??

$
0
0

Hi guys,

 

I have built a program and used alv container which worked perfectly. But, at the end, I had to add MANDT field in the table I am using. Not I am getting this runtime error:

 

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 "ALVGRID_OO_DISPLAY" "(FORM)", 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 (variable: "GRID1").

    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."

 

 

If I just delete MANDT and make the table as it was before, it works good, but with MANDT it doesnt.  Any idea why this could happen ?

 

 

Many thanks,

 

Shkelqim


Viewing all articles
Browse latest Browse all 8914

Trending Articles