Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2161

BAPI_ALM_NOTIF_CREATE Short dump

$
0
0

Dear Experts,

 

Good day. I'm getting short dump TABLE_INVALID_INDEX when try to create notification for the same PM order inside the loop.

Im passing equipment(same equipment number as well but different operation) , reported by,short text and order id to the BAPI. Really appreciate your advise for the issue. i have cleared all the input values and use BAPI_ALM_NOTIF_SAVE and BAPI_TRANSACTION_COMMIT commit each time. Please find the dump details below.

 

 

    Short Text

    Error in ABAP/4 statement when processing an internal table.

 

   What happened?

    Error in the ABAP Application Program

    The current ABAP program "SAPLCOBO" had to be terminated because it has

    come across a statement that unfortunately cannot be executed.

 

Error analysis

    When changing or deleting one or more lines of the internal table

    "\FUNCTION-POOL=COBP\DATA=AFVG_BT[]" or when inserting in the tabl

     "\FUNCTION-POOL=COBP\DATA=AFVG_BT[]", 0 was used as

    the line index. An index less than or equal to zero is not

    allowed.

 

    The error can occur when using the following options:

    1. "INDEX idx" for specifying the line number in the table

     "\FUNCTION-POOL=COBP\DATA=AFVG_BT[]"

       where you want to change, insert or delete.

    2. "FROM idx" for specifying the start index when deleting a line

       area from or inserting a line area into the table

     "\FUNCTION-POOL=COBP\DATA=AFVG_BT[]".

    3. "TO idx" for specifying the end index when deleting a line

       area from or inserting a line area into the table

     "\FUNCTION-POOL=COBP\DATA=AFVG_BT[]".

    At the time of the termination, the table contained 1 lines.

 

Information on where terminated

    Termination occurred in the ABAP progra

     "CO_BO_UPDATE_OPR_OF_ORDER".

    The main program was "RS_TESTFRAME_CALL

    In the source code you have the termina

    of the (Include) program "LCOBOU06".

 

Source Code


  398

  399 *   Update buffer table

  400     MODIFY afvg_bt INDEX ls_afvgd_new-indbt.

  401 * Jetzt auch AFVGD_UPD aktualisieren

>>>>>     MOVE-CORRESPONDING afvg_bt TO afvgd_upd.             " note

  403     IF NOT afvgd_upd-sumnr IS INITIAL.                  " note 4

  404       READ TABLE afvg_bt INTO *afvgb INDEX afvg_bt-indexsumnr.

 

Thanks and Regards

Shankar




Viewing all articles
Browse latest Browse all 2161

Trending Articles



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