Symptom
You receive the error message "Custom code 1 missing", for example, while activating Employee's Expense Arrangement 123. (123 refers to Arrangement ID)
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to the Travel and Expenses work center.
- Go to the Expense Arrangements view.
- Search for Arrangement ID: 123.
- Select Validity Assignment Row.
- Press Set to Active tab.
- Error message is shown: "Custom code 1 missing."
Cause
For the respective account assignment type, here CC-Cost center, the account assignment CUSTOM_CODE1-Custom Code 1 is maintained as mandatory.
Currently, custom codes are not supported in Expense Arrangement Cost Assignment user interface.
Resolution
If it is possible to add the custom code in the screen that you are working in add the respective custom code.
Otherwise, change the account assignment CUSTOM_CODE1-Custom Code 1 from 1-mandatory to 2-optional:
- Go to the Business Configuration work center and access the Account Assignment Types fine-tune task.
- Press Maintain Account Assignment Types.
- For Account Assignment Type: CC -Cost Center, the Available Account Assignments:CUSTOM_CODE1 - Custom Code 1 is maintained as 1 - Mandatory in the Data Input Control field.
- Select 2 - Optional Data Input Control field.
- Press Save and Close.
Keywords
Account Assignment Types, Custom codes, CUSTOM_CODE1 missing, Expense arrangement , KBA , expense arrangement , custom code missing , account assignment types , SRD-FIN-ERM , Travel and Expense Management , Problem