cancel
Showing results for 
Search instead for 
Did you mean: 

Cats Approval Tool (HRMSS_C_CATS_APPROVAL) getting "Exception condition "ERROR_OCCURRED" triggered"

Former Member
0 Kudos

HI Experts,

When i try to approve employee time sheets in MSS Cats time approval tool getting errror"Exception condition "ERROR_OCCURRED" triggered".

Category               ABAP Programming Error

Runtime Errors         RAISE_EXCEPTION

ABAP Program           CL_MSS_CAT_APPR_TR_BUFFER=====CP

Application Component  CA-TS

Date and Time          03/01/2016 07:56:20

Short Text

    Exception condition "ERROR_OCCURRED" triggered

Error analysis

    A RAISE statement in program "CL_MSS_CAT_APPR_TR_BUFFER=====CP" has raised

     exception condition "ERROR_OCCURRED".

    Since the exception was not caught by a program higher up in the call

    hierarchy, processing was terminated.

    Short text for exception condition:

    You can find detailed documentation about the exception condition in

    transaction SE37 (Function Library). You can find the name of the

    function module called from the display of active calls.

source code extract:

CALL FUNCTION 'CATS_APPROVAL'

     EXPORTING

      message_handler                  = gref_catsxt_mess_handler

      mail                             = gs_process_info-send_mail

*   MAIL_TEXT_ADD_ON                 =

      direct_hr                        = gs_process_info-directhr

      auth_check                       =

                              if_mss_cat_appr_bl_constants=>gc_true

      enqueue_pernr                    =

                              if_mss_cat_appr_bl_constants=>gc_false

*   PROFILE_NAME                     =

       records                          = it_save_records

    IMPORTING

      processed_records                = et_processed_records

      record_error                     = ev_error

    EXCEPTIONS

      update_error                     = 1

      number_range_error               = 2

      longtext_error                   = 3

      message_handler_not_active       = 4

      OTHERS                           = 5

             .

   IF sy-subrc <> 0.

     RAISE error_occurred.

   ENDIF.


We are using standard application , for Rejection its works fine , problem only for Approve .


can you please check and help on this


Regards

RK

Accepted Solutions (0)

Answers (1)

Answers (1)

Szczerbowski
Active Participant
0 Kudos

Why don't you debug with external breakpoint, this error is raised on sy-subrc <> 0, so what is the value of it, and inside that CATS_APPROVAL, when is it set to non-zeroe?