Case

You are installing a non-unicode and unicode abap+j2ee system on db2 database and getting SQLCODE=-873 and perhaps additionaly a SQLSTATE error

or

you install the J2EE add-in in an upgraded Solution Manager 4.0 database. The upgraded database is by definition non-unicode and the J2EE add-in tables are unicode. The solution is to configure your database for non-unicode tables

Solution

Make db2 be able to handle non-unicode and unicode systems together by following command and restart db2

db2 “update db config for $DBID using ALT_COLLATE IDENTITY_16BIT”