SAP Knowledge Base Article - Preview

3646928 - Change maintenance notification returned dump (500 internal server a row with the index 1 is not in the table)

Symptom

  • Internal server error occurs in the app "Change Maintenance Notification" when an invalid technical object is informed.
  • Error message: "500 internal server a row with the index 1 is not in the table".
  • ABAP exception CX_SY_ITAB_LINE_NOT_FOUND is triggered.
  • Termination occurs in ABAP program "CL_EAMS_BO_NOTIF==============CP", method "SET_NOTIF_HEADER".
  • Dump information returned as below 

Kategorie              ABAP Programmierfehler                                                       
Laufzeitfehler         ITAB_LINE_NOT_FOUND                                                          
Ausnahme               CX_SY_ITAB_LINE_NOT_FOUND                                                    
ABAP: Programm         CL_EAMS_BO_NOTIF==============CP                                             
Anwendungskomponente   PM   

"ITAB_LINE_NOT_FOUND" CX_SY_ITAB_LINE_NOT_FOUND                                               |
|    "CL_EAMS_BO_NOTIF==============CP" bzw. CL_EAMS_BO_NOTIF==============CM00H                   |
|    "SET_NOTIF_HEADER"                                                                            |
|    If you cannot solve the problem yourself, please send the following                           |
|    information to SAP:                   

Infos p/ponto de cancelamento                                                                     |
|    The termination occurred in ABAP program or include                                           |
|     "CL_EAMS_BO_NOTIF==============CP", in "SET_NOTIF_HEADER". The                               |
|    main program was "SAPMHTTP".                                                                  |
|                                                                                                  |
|    In the source code, the termination point is in line 1289 of include                          |
|     "CL_EAMS_BO_NOTIF==============CM00H".                                                       |
|    include "CL_EAMS_BO_NOTIF==============CM00H".                                                |
|    The termination is due to exception "CX_SY_ITAB_LINE_NOT_FOUND" occurring in                  |
|     procedure "SET_NOTIF_HEADER" "(METHOD)",                                                     |
|    but not being handled locally there or being declared in the RAISING                          |
|    clause.                                                                                       |
|    The procedure is in program "CL_EAMS_BO_NOTIF==============CP". Its source                    |
|     code begins in line 1 of                                                                     |
|    include "CL_EAMS_BO_NOTIF==============CM00H".       

1259|          lv_fieldname = if_eams_bo_const=>gc_ui_field_name-comp_code. "COMP_CODE           |
| 1260|        ENDIF.                                                                              |
| 1261|*     Dependent fields were changed automatically. Please check entries.                    |
| 1262|        MESSAGE w028(eams_bo) INTO lv_msg.                                                  |
| 1263|        cl_eams_bo_misc_factory=>get_eams_bo_srv_class( )->set_message(                     |
| 1264|          EXPORTING                                                                         |
| 1265|            iv_msg_index = lv_msg_idx                                                       |
| 1266|            iv_fieldname = lv_fieldname                                                     |
| 1267|          CHANGING                                                                          |
| 1268|            ct_message   = lt_message ).                                                    |
| 1269|      ENDIF.                                                                                |
| 1270|                                                                                            |
| 1271|*   notification was updated: register notification as changed                              |
| 1272|      IF lv_ntf_updated = abap_true.                                                        |
| 1273|        cl_eams_bo_misc_factory=>get_eams_bo_interop_class( )->register_modified_notif(     |
| 1274|          iv_notif_id   = ls_header_bapi_chg-notif_no                                       |
| 1275|          iv_eval_order = abap_true " evaluate ID of assigned Order, if existing            |
| 1276|        ).                                                                                  |
| 1277|      ENDIF.                                                                                |
| 1278|                                                                                            |
| 1279|*   collect changed header (BAPI format) in table                                           |
| 1280|      APPEND ls_header_bapi_chg TO lt_header_bapi_chg.                                      |
| 1281|                                                                                            |
| 1282|*   Prepare changed maintenance activity type for mapper method         " EAMS7 Note: 24349\|
|20 start                                                                                          |
| 1283|      CLEAR ls_maintactytype.                                                               |
| 1284|      ls_maintactytype-maintactytype = lv_maintactytype.                                    |
| 1285|      ls_maintactytype-notif_no      = ls_header_bapi_chg-notif_no.                         |
| 1286|      APPEND ls_maintactytype TO lt_maintactytype_nw.                   " EAMS7 Note: 24349\|
|20 end                                                                                            |
| 1287|    ENDLOOP.                                                                                |
| 1288|                                                                                            |
|>>>>>|    process_failure_effect(                                   

   


Read more...

Environment

  • SAP S/4HANA, Private Cloud Edition
  • SAP S/4HANA, on-premise 

Product

SAP ERP all versions ; SAP S/4HANA 2023

Keywords

internal server error, change maintenance notification, invalid technical object, error 500, CX_SY_ITAB_LINE_NOT_FOUND, ABAP exception, CL_EAMS_BO_NOTIF, SET_NOTIF_HEADER, SAP S/4HANA Cloud, maintenance notification error, PM-EQM, PM-WOC-MO, technical object error. , KBA , EP-PCT-MAN-MW , BP for Maintenance Worker , 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.