The following error pops up when excluding a newly-added field from Object Structure [XXX].
Error message: "Error BMXAA4195E - The Language Code field requires a value."
Resolving the problem
1. Check the log if there is any error when replicating this problem.
2. There is an error in SystemOut.log.
BMXAA6696E - The required field validation in the MBO failed for object MAXINTOBJECT and attribute LANGCODE.
3. Check if there are any records whose LANGCODE is null in the MAXINTOBJECT table.
Run the script below:
SELECT * FROM MAXINTOJBECT WHERE LANGCODE IS NULL.
XXX Object Structure record has NULL LANGCODE.
It's a root cause of the problem.
4. To fix this issue, run the update script below:
UPDATE MAXINTOJBECT SET LANGCODE = 'EN' WHERE OBJECTNAME = 'XXX';
Please note EN should be changed to the relevant language if your LANGCODE is not English.