Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Dump Error Raise_Exception CNTL_ERROR

Former Member
0 Kudos

We are getting a RAISE_EXCEPTION abap dump in our PRD system. The error is performed
on sap standard code (I am thinking this is related with ALV) while is executed from customizing Z report.

As detail, we are getting the error only if you are over 14 displayed rows.

• We have debugged the report, changing values on attributes of ALV, but always are getting error.

• We were searching on forums or sap note but don’t exist any document related with component, standard program abap.

• We install a version different patch, but getting the error.

• Execute a logon GUI trace.

• Execute a trace on ST05 transaction.

• We saw that the issue is displayed in FM AC_SYSTEM_FLUSH, but we can not getting the root cause.

Category               ABAP Programming Error
Runtime Errors         RAISE_EXCEPTION
ABAP Program           SAPMSSYD
Application Component  BC-ABA-LA
Date and Time          16.10.2013 22:14:37

Short text
     Exception condition "CNTL_ERROR" raised.

What happened?
     The current ABAP/4 program encountered an unexpected
     situation.

What can you do?
     Note down which actions and inputs caused the error.


     To process the problem further, contact you SAP system
     administrator.

     Using Transaction ST22 for ABAP Dump Analysis, you can look
     at and manage termination messages, and you can also
     keep them for a long time.

Error analysis
   A RAISE statement in the program "CL_GUI_CFW====================CP" raised the
    exception
   condition "CNTL_ERROR".
   Since the exception was not intercepted by a superior
   program, processing was terminated.

   Short description of exception condition:


   For detailed documentation of the exception condition, use
   Transaction SE37 (Function Library). You can take the called
   function module from the display of active calls.
   -

ow to correct the error

   If the error occures in a non-modified SAP program, you may be able to
   find an interim solution in an SAP Note.
   If you have access to SAP Notes, carry out a search with the following
   keywords:

   "RAISE_EXCEPTION" " "
   "CL_GUI_CFW====================CP" or "CL_GUI_CFW====================CM00P"
   "UPDATE_VIEW"

    or

    "CL_GUI_CFW====================CP" "CNTL_ERROR"

    or

    "ZPPP_PRO_PLAN " "CNTL_ERROR"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:

    1. The description of the current problem (short dump)

       To save the description, choose "System->List->Save->Local File
    (Unconverted)".

    2. Corresponding system log

       Display the system log by calling transaction SM21.
       Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".

    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
       In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".

    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.


System environment
    SAP Release..... 731
    SAP Basis Level. 0004

    Application server... "cXXX"
    Network address...... "1.X.XX.XX"
    Operating system..... "Linux"
    Release.............. "3.0.13-0.27-default"
    Hardware type........ "x86_64"
    Character length.... 16 Bits
    Pointer length....... 64 Bits
    Work process number.. 2
    Shortdump setting.... "full"

    Database server... "cXXXX"
    Database type..... "SYBASE"
    Database name..... "CAL"
    Database user ID.. "SAPSR3"

    Terminal.......... "pXXXXXX"
    Char.set.... "C"

    SAP kernel....... 720
    created (date)... "Oct 6 2013 20:02:47"
    create on........ "Linux GNU SLES-11 x86_64 cc4.3.4 use-pr130820"
    Database version. "Sybase ASE 15.7.0.507 "

    Patch level. 513
    Patch text.. " "

    Database............. "15.7"
    SAP database version. 720
    Operating system..... "Linux 2.6, Linux 3"

    Memory consumption
    Roll.... 0
    EM...... 159212400
    Heap.... 0
    Page.... 122880
    MM Used. 10719992
    MM Free. 1846360

User and Transaction
    Client.............. 600
    User................ "XXXXX"
    Language key........ "S"
    Transaction......... "ZMRP_MD04 "
    Transaction ID...... "525EBBD2312301DAE10000000A6E00CX"

    EPP Whole Context ID.... "0050569071191ED38DDC39D8F58FD27X"
    EPP Connection ID....... 00000000000000000000000000000000
    EPP Caller Counter...... 0

    Program............. "CL_GUI_CFW====================CP"
    Screen.............. "ZPPP_PRO_PLAN 2000"
    Screen Line......... 0
    Debugger Active..... "none"

Information on where terminated
    Termination occurred in the ABAP program "CL_GUI_CFW====================CP" -
     in "UPDATE_VIEW".
    The main program was "ZPPP_PRO_PLAN ".

    In the source code you have the termination point in line 16
    of the (Include) program "CL_GUI_CFW====================CM00P".

Source Code Extract

Line  SourceCde

    1
    2 METHOD UPDATE_VIEW.
    3 * ...
    4   CALL FUNCTION 'AC_SYSTEM_FLUSH'
    5        exporting CALLED_BY_SYSTEM = called_by_system
    6        EXCEPTIONS
    7             CNTL_SYSTEM_ERROR = 1
    8             CNTL_ERROR        = 2
    9             OTHERS            = 3.
   10
   11   CASE SY-SUBRC.
   12     WHEN 0.
   13     WHEN 1.                            "// system_error
   14       RAISE CNTL_SYSTEM_ERROR.
   15     WHEN 2.                            "// method_call_error
>>>>>       RAISE CNTL_ERROR.
   17     WHEN 3.                            "// property_set_error
   18       RAISE CNTL_ERROR.
   19     WHEN 4.                            "// property_get_error
   20       RAISE CNTL_ERROR.
   21     WHEN OTHERS.
   22       RAISE CNTL_ERROR.
   23   ENDCASE.
   24
   25 ENDMETHOD.

Contents of system fields

Name     Val.

SY-SUBRC 2
SY-INDEX 0
SY-TABIX 0
SY-DBCNT 1
SY-FDPOS 0
SY-LSIND 0
SY-PAGNO 0
SY-LINNO 1
SY-COLNO 1
SY-PFKEY Z2000
SY-UCOMM
SY-TITLE Actualización de Ordenes Previsionales
SY-MSGTY X
SY-MSGID CNDP
SY-MSGNO 006
SY-MSGV1
SY-MSGV2
SY-MSGV3
SY-MSGV4
SY-MODNO 0
SY-DATUM 20131016
SY-UZEIT 221436
SY-XPROG SAPMSSY1
SY-XFORM XAB_READ

Active Calls/Events

No.   Ty.          Program                             Include                             Line
      Name

    7 METHOD       CL_GUI_CFW====================CP    CL_GUI_CFW====================CM00P    16
      CL_GUI_CFW=>UPDATE_VIEW
    6 FORM         SAPFGUICNTL_CFW                     SAPFGUICNTL_CFW                        58
      HANDLE_FLUSH_SYSTEM_EVENTS
    5 FORM         SAPFGUICNTL_CFW                     SAPFGUICNTL_CFW                        34
      CONTROL_DISPATCH
    4 FORM         SAPFGUICNTL                         SAPFGUICNTL                            20
      CONTROL_DISPATCH
    3 FORM         SAPMSSYD                            SAPMSSYD                              285
      %_CTL_INPUT
    2 MODULE (PAI) SAPMSSYD                            SAPMSSYD                              241
      %_CTL_INPUT1
    1 EVENT        ZPPP_PRO_PLAN                       ZPPP_PRO_PLAN_MAIN                     28
      START-OF-SELECTION

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello Maria,

i have also faced this CNTL_ERROR problem and found solutions

This CNTL_ERROR usually errors when you are running the report in Back ground mode and along side if using  Cl_GUI_CUSTOM_CONTAINER to display the final output then you can add this IF condition to overcome problem.

  

IF cl_gui_alv_grid=>offline( ) IS INITIAL.

 

     CREATE OBJECT GO_CONTAINER

    EXPORTING

    CONTAINER_NAME = 'CONTAIN'.

 

endif.

Go through below link.

http://scn.sap.com/docs/DOC-47081

8 REPLIES 8

Former Member
0 Kudos

Hello Maria,

i have also faced this CNTL_ERROR problem and found solutions

This CNTL_ERROR usually errors when you are running the report in Back ground mode and along side if using  Cl_GUI_CUSTOM_CONTAINER to display the final output then you can add this IF condition to overcome problem.

  

IF cl_gui_alv_grid=>offline( ) IS INITIAL.

 

     CREATE OBJECT GO_CONTAINER

    EXPORTING

    CONTAINER_NAME = 'CONTAIN'.

 

endif.

Go through below link.

http://scn.sap.com/docs/DOC-47081

0 Kudos

Thank you Madhukumar, I appreciate your help, I tried any changes in my source code, but dont get good results.

I open sap message error, into order to report the situation.

0 Kudos

Hello Maria,

Can you share your code ???

Whether you are executing the report in Back ground mode or Normal mode ???

0 Kudos

Hello,

Sure, I sent via email.

The program is executed in normal mode. Thank you.

Former Member
0 Kudos

Hello ,

please check below , surely i ll help to resolve your probelm.

http://scn.sap.com/thread/1722984

https://scn.sap.com/thread/110536

0 Kudos

Yes I did it.

0 Kudos

Hello ,

Whether your issue is cleared or not ???

0 Kudos

I understood your solution when I was faced of a issue similar. But I am not clear with my issue, still.

Because I had tried to find what is the root cause (I think maybe is when event filter is matched with the refresh event) but I dont know.