SAP Knowledge Base Article - Preview

3831729 - Custom code analysis is generating dumps: Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED ABAP, Program CL_CI_TEST_S4H_TRAN_LITERALS==CP

Symptom

  • Custom code analysis is failing in Readiness Check with dump OBJECTS_OBJREF_NOT_ASSIGNED in program CL_CI_TEST_S4H_TRAN_LITERALS==CP (method IS_TOKEN_OF_TYPE_TRANSACTION).

    Category               ABAP programming error
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
    ABAP: Program          CL_CI_TEST_S4H_TRAN_LITERALS==CP
    Application Component  BC-DWB-CEX-CCM 

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

     What happened?
         Error in the ABAP application program.
         The current ABAP program "CL_CI_TEST_S4H_TRAN_LITERALS==CP" had to be terminated because it found a statement that could not be executed.

     Error analysis
         You are trying to access a component with a 'ZERO' object reference (points to 'nothing'). Variable: " ".
         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.

      How to correct the error

         If the error occurs in a non-modfied SAP program, you might be able to find a solution in the SAP Notes system. If you have access to the SAP Notes system, check there first using the following keywords:
         "OBJECTS_OBJREF_NOT_ASSIGNED" "CL_CI_TEST_S4H_TRAN_LITERALS==CP" bzw. CL_CI_TEST_S4H_TRAN_LITERALS==CM00V "IS_TOKEN_OF_TYPE_TRANSACTION"
      Information on where terminated

        The termination occurred in ABAP program or include "CL_CI_TEST_S4H_TRAN_LITERALS==CP", in "IS_TOKEN_OF_TYPE_TRANSACTION". The main program was "SAPMSSY1".
        In the source code, the termination point is in line 5 of include "CL_CI_TEST_S4H_TRAN_LITERALS==CM00V". include "CL_CI_TEST_S4H_TRAN_LITERALS==CM00V".


Read more...

Environment

  • SAP S/4HANA
  • SAP ERP 6.0

Keywords

RC_COLLECT_ANALYSIS_DATA, custom code analysis missing, ATC upload fails, Readiness Check, ATC extractor, Note Analyzer, custom code checks, ST22 dump, OBJECTS_OBJREF_NOT_ASSIGNED, CL_CI_TEST_S4H_TRAN_LITERALS, SCA_T_API_SUCCESSOR, ABAP dump, Custom Code Migration, S/4HANA custom code, ATC results , KBA , SV-SCS-S4R , SAP Readiness Check , BC-DWB-CEX , Customer Extensions , BC-DWB-CEX-CCM , Custom Code Management Tools , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.