Skip to Content
Author's profile photo Webster Cui

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.

Assigned Tags

      8 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo om prakash
      om prakash

      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

      Author's profile photo Webster Cui
      Webster Cui
      Blog Post Author

      Hello Om,

      The SAP Note will help you solve the dump.

      2168302 - Short dump on view BP_BPBT/AccountServicerequestsOV

      Regards,

      Webster

      Author's profile photo om prakash
      om prakash

      Hi Webster,

      Thanks for you help,

      Problem is solved ,

      We have implemented the same note that you have recommended.

      Thanks,

      Om.

      Author's profile photo Former Member
      Former Member

      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 ?

      Author's profile photo Webster Cui
      Webster Cui
      Blog Post Author

      Hello Abdel,

      What's your CRM release? I can check if SAP has some note to solve the issue.

      Regards,

      Webster

      Author's profile photo Former Member
      Former Member

      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

      Author's profile photo Former Member
      Former Member

      Hi Webster

      Iam also experiencing a similar error when I click on Item details of sales order.

      Any advices on this please.

       

      Thanks,

      Vaishnavi

      Author's profile photo Webster Cui
      Webster Cui
      Blog Post Author

      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