To check and resolve above problem Oracle Application has a script named afshrchk.sql avilable in $FND_TOP/sql directory. This script checks requested table.columns for invalid trailing spaces and control characters. This script can also be used to remove trailing blanks and control characters. It is recommended to run this script first without stripping prompt to make sure all detected values really should be fixed.
Frm-40654: record has been updated" error when column is queried in a form 2011-05-16
Frm-40654: record has been updated" error when column is queried in a form