用ST22查看,在Error analysis显示:
Section "PUBLIC" of the interface of class CL_WB2_CCS_SERVICESwas changed at program
runtime. This resulted in inconsistencies.
Program "SAPLV61A" uses interface version 20210621105720.
Program "CL_WB2_COCO_DETERMINATION=====CP" uses interface version 20210707153235.
Internal mode started at 20210913113453.
关于此类错误,可以参考Note 2296826 - [Best Practice] How to solve dump LOAD_PROGRAM_CLASS_MISMATCH
此类问题主要是由于应用服务器缓存的程序版本和数据库保存的程序版本时间戳不一致,例如上面的提示,SAPLV61A 程序使用的版本是:20210621105720,即2021年6月21日 10:57:20,而下面的程序CL_WB2_COCO_DETERMINATION=====CP 使用的版本是:20210707153235。
解决办法在Note里有详细描述。
1. 重启系统时,顺序是先停掉应用服务器,再停掉数据库服务器,开启的时候相反,保持同步;
2. 如果只重启应用服务器,可以刷新一下缓存,执行下面的事务码:
- /$SYNC - Resets the buffers of the application server
- /$CUA - Resets the CUA buffer of the application server
- /$TAB - Resets the TABLE buffers of the application server
- /$NAM - Resets the nametab buffer of the application server
- /$DYN - Resets the screen buffer of the application server
- /$ESM - Resets the Exp./ Imp. Shared Memory Buffer of the application server
- /$PXA - Resets the Program (PXA) Buffer of the application server.
- /$OBJ - Resets the Shared Buffer of the application server.
3. 重新生成出问题的程序,用SE38打开此程序,重新激活一下,注意相关的上层程序也应该需要激活一下;
4. 升级后,一定要完整执行一次SGEN事务;