Hi Chen,
As per SAP Note 1597765 - Known problems with Support Packages in SAP NW 7.31 AS ABAP
These errors occur because the source code of the Support Package Manager is modified by the import during the run. CALL_FUNCTION_PARM_UNKNOWN, LOAD_PROGRAM_LOST, LOAD_PROGRAM_CLASS_MISMATCH, and LOAD_TEXTPOOL_LOST occur if the ABAP load or text elements are to be loaded back into the local buffer, and there is a different version in the database.
However, SAPSQL_SELECT_WA_TOO_SMALL, SAPSQL_SELECT_TAB_TOO_SMALL, SAPSQL_WA_TOO_SMALL, DDIC_STRUCLENG_INCONSISTENT, and RUNT_ILLEGAL_SWITCH occur if changes are made to the SPAM/SAINT data structures with the SPAM/SAINT update.
Solution: None of these errors will occur again if you restart the Support Package Manager (transaction SPAM) and continue to import the SPAM/SAINT update.
Hope this helps.
Regards,
Deepak Kori