SAP Knowledge Base Article - Preview

2573729 - SYNTAX_ERROR ST22 Dump During Last Usage Collection

Symptom

The execution of the job SM_CCLM:LUSG_XXX* has produces the following log:
Migration is needed for the system SMP
Internal session terminated with a runtime error SYNTAX_ERROR (see ST22)
Job cancelled

In ST22 the dump is as follows:

Category               ABAP Programming Error
Runtime Errors         SYNTAX_ERROR
ABAP Program           CL_AGSCCL_LAST_USAGE_MIG======CP
Application Component  SV-SMG-CCM

 Short Text
     Syntax error in program "CL_AGSCCL_LAST_USAGE_MIG======CP        ".

 What happened?
     Error in the ABAP Application Program

     The current ABAP program "CL_AGSCCL_COLL_LASTUSAGE======CP" had to be
      terminated because it has
     come across a statement that unfortunately cannot be executed.
     In include "CL_AGSCCL_LAST_USAGE_MIG======CM011     ", in line 3 of program
      "CL_AGSCCL_LAST_USAGE_MIG======CP        ", the following syntax errors
     have occurred:
     "AGSCCL_REF_INCL" is not defined in the ABAP Dictionary as a table, pr
     ojection view, or database view.

 What can you do?
     Correct the error by running a syntax check (or extended program check)
     on program "CL_AGSCCL_LAST_USAGE_MIG======CP        ". You can also run the
      syntax check from the ABAP
     Editor.

Error analysis
    The following syntax error has occurred in program
     CL_AGSCCL_LAST_USAGE_MIG======CP        :
    "AGSCCL_REF_INCL" is not defined in the ABAP Dictionary as a table, pr
    ojection view, or database view.

Information on where terminated
    The termination occurred in ABAP program "CL_AGSCCL_COLL_LASTUSAGE======CP",
     in "PREPARE". The main program
    was "AGSCCL_COLL_EXECUTION".

    In the source code, the termination point is in line 37 of (Include)
    program "CL_AGSCCL_COLL_LASTUSAGE======CM006".
    Program "CL_AGSCCL_COLL_LASTUSAGE======CP" was started as a background job.

 >>>>>       CALL METHOD cl_agsccl_last_usage_mig=>start_migration
   38         EXPORTING
   39           iv_system_id                 = a_sid
   40           iv_instno                    = a_instno
   41         RECEIVING
   42           rv_migration_already_planned = lv_migration_already_planned
   43         EXCEPTIONS
   44           OTHERS                       = 99.


Read more...

Environment

Solution Manager 7.2 SP03 - SP04

Product

SAP Solution Manager 7.2

Keywords

CCM, Custom Code Management, ST22, SM_CCLM:LUSG_XXX*, SYNTAX_ERROR, CL_AGSCCL_LAST_USAGE_MIG======CP, Last Usage Collector, Solution Manager 7.2, 7.2, SM37 , 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 for Me (Login required).

Search for additional results

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