Symptom
When recording results for an inspection lot in Record Inspection Results app, the following error message shows up:
Runtime Error: 'BEHAVIOR_ILLEGAL_STATEMENT'. The OData request processing has been abnormally terminated. If you use SAP S/4HANA Cloud, please create an incident. Otherwise, if "Runtime Error" is not initial, launch ADT feed "Runtime Errors" or transaction ST22 / SM21 (system log analysis) for details and analysis.
Environment
SAP S/4HANA Public Cloud
Reproducing the Issue
- Open Record Inspection Results app.
- Enter inspection lot number.
- Select a result code for the characteristic
- After clicking "Save", the error message shows up.
Cause
The dump happens because the codes maintained in the selected set don't exist in the code group. For example, their names are not exactly the same.
Resolution
Please maintain the selected set codes properly.
Keywords
BEHAVIOR_ILLEGAL_STATEMENT, Record Inspection Results, selected set, code group , KBA , QM-PT-BD-2CL , Basic Data (Public Cloud) , Problem