ITS_INDEX_UNDERFLOW is an ABAP runtime error which you may come across when using or developing within an SAP system. See below for the standard details explaining what it means and how you can avoid or fix this runtime error.
Short Dump Classification: A - ABAP Programming Error
You can view further information about a runtme error by using transaction code ST22 which will show you this and all runtime erros that have happen in your SAP system.
Also check out the Comments section below to view or add related contributions and example screen shots.
If the error occurs in a non-modfied SAP template, you might be able to
find a solution in the SAP Notes system.
If you have access to the SAP Notes system, check there first using the
following keywords:
ITS_INDEX_UNDERFLOW
<runtime parameter>
<runtime parameter>
Template interpretation terminated, runtime error.
Call transaction SE80 and check the HTMLB program. In SE80, choose
'Internet Service' and navigate to the corresponding template. Take the
service, theme and template name from the path of the template causing
the error:
<runtime parameter>.
Remember to publish the corrected template on the 'INTERNAL' site in
order to activate the change.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
Value <runtime parameter> in index <runtime parameter> is invalid. The value of the index must be
positive.
HTMLB example, error ITS_INDEX_UNDERFLOW:
`for (i = 10; i>-2; i--)`
`varB[i] = i` <- error, index is negative
`end;`
Template <runtime parameter> has caused a runtime error in function <runtime parameter>. Cause of error
Negative Index, Index: <runtime parameter>, Value: <runtime parameter>
ITS_INDEX_UNDERFLOW - its index underflow ITS_INDEX_OVERFLOW - its index overflow ITS_ILLEGAL_FUNCTION_NAME - its illegal function name ITS_FUNCTION_RAISED_EXCEPTION - its function raised exception ITS_FUNCTION_NESTING_NOT_ALLOW - its function nesting not allow ITS_FUNCTION_FAILED - its function failed