SAP Knowledge Base Article - Preview

2802653 - SM_CCLM:LUSG_MIG_<SID> fails with 'Query Execution Error' and produces 'OBJECTS_OBJREF_NOT_ASSIGNED' dump

Symptom

  • The Last Usage Migration job SM_CCLM:LUSG_MIG_<SID> fails with the following 

    Query Execution Error: An error during the query execution occured. 

    Internal session terminated with a runtime error OBJECTS_OBJREF_NOT_ASSIGNED (see ST22).


  • The following dump is produced:

    Category ABAP Programming Error
    Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED
    Except. CX_SY_REF_IS_INITIAL
    ABAP Program AGSCCL_LAST_USAGE_MIG
    Application Component SV-SMG-CCM

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

    What happened?
    Error in the ABAP Application Program
    The current ABAP program "AGSCCL_LAST_USAGE_MIG" had to be
    terminated because it has come across a statement that unfortunately cannot be executed.

    Source Code Extract

    29 CATCH cx_ags_cc_query_exec_error INTO DATA(lr_query_error).
    30 MESSAGE 'Migration cannot be started due to:' TYPE 'I' ##NO_TEXT. "text-005
    31 MESSAGE lr_query_error->get_text( ) TYPE 'I'.
    32 FREE co_mig.
    33 ENDTRY.
    34
    >>>>> IF co_mig->has_object_4_last_usage( ) = abap_false.
    36 MESSAGE `No object found in the library for the ` && iv_system TYPE 'I' ##NO_TEXT. "i120
    37 free co_mig.
    38 ENDIF.
    39 ENDFORM.


Read more...

Environment

Solution Manager 7.2

Product

SAP Solution Manager 7.2

Keywords

SM_CCLM:LUSG_MIG, CCM, OBJECTS_OBJREF_NOT_ASSIGNED, Query Execution Error, Last Usage Migration , KBA , SV-SMG-CCM , Custom Code Management , Problem

About this page

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

Search for additional results

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