Skip to Content

Exception Class CX_SY_REF_IS_INITIAL – Dereferencing the NULL reference

For Complaint header view

  1. Create Complaint;
  2. Leave mandatory field empty;
  3. Click Back button.

Exception in WebUI will occur:

Dereferencing the NULL reference

Exception Class CX_SY_REF_IS_INITIAL

BSP Application BTCATEGORIES
BSP Page CATEGORIES.HTM
Line 44
Long text An attempt was made to execute a dynamic method callon an
initial(NULL-) object reference. The reference must refer to an object.

Component/View:

BT120H_CPL/Details
BTADMINH
STRUCT.DESCRIPTION

To solve the issue please refer to KBA 1882624 or directly implement SAP Note 1809100. The issue is a known bug caused by SAP Note 1781599.

8 Comments
You must be Logged on to comment or reply to a post.
  • Hi Webster Cui,

    I am facing the same issue ,

    Getting dump as below :

    Exception Class  -CX_SY_REF_IS_INITIAL

    Method _ONLAYOUT
    BSP Application BP_BPBT
    BSP Page ACCOUNTSERVICEREQUESTSOV.HTM
    Line 52
    Long text An attempt was made to execute a dynamic method callon an initial(NULL-) object reference. The reference must refer to an object.

    please help me out!

    Regrads

    Om Prakash

    • Hello Om,

      The SAP Note will help you solve the dump.

      2168302 – Short dump on view BP_BPBT/AccountServicerequestsOV

      Regards,

      Webster

        • Hi Prakash

          I have the same problem in my page WEBUI IC to add a value in bloc of identification when i create a  BP.


          Can u give me the solution for this problem ?

          • Hi Webster

            this my issue when  I try to insert a identification(bloc identification number) for a new individual account in creation.
            the Business role that I use is ‘sales’.

            RegardsProblem.PNG

  • Hello¬†Vaishnavi,

    As you know the exception is general and you need to debug further in the mentioned class and method.

    CL_ISXITA3_DETAILS_CN00
    GET_V_CYCLE_TEXT

    line 9

    Here you can find out which and why variant is not initialized.

    Regards,

    Webster