Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

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

$
0
0

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


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>