Symptom
You have maintained default cost center for the GL account in SSCUI 102639 "Manage Default Account Assignments". But when you scrap a material using movement type 551/553/555 in MIGO, the default cost center is not filled and you get error message M7018 "Enter Cost Center".
Environment
S/4HANA Cloud system all version
Reproducing the Issue
- In SSCUI 102639 "Manage Default Account Assignments" you maintained default cost center for the cost element.
- In SSCUI 103831 "Field Selection per Movement Type" you maintained field KOSTL for the movement type 551/553/555 as "Required Entry".
- When you scrap a material in MIGO using movement type 551/553/555, the default cost center is not filled, and you get error message M7018 "Enter Cost Center".
Cause
This is standard system behavior. An automatic account assignment is only possible if the account assignment is not a required entry field, as the required entry field check forces you to make a manual entry.
When the goods issue is posted the system executes an automatic account determination and it will pick up the account assignment at that point, after you choose post. However because the cost center field is marked as 'Required Entry' in SSCUI 103831, it has to be filled by the user manually. Values that are entered manually by a user has priority over other values.
Resolution
If you would like to use automatic account assignment, please set the "cost center" as an optional entry in SSCUI 103831 for the movement type. Otherwise you may have to enter the cost center manually.
Keywords
MIGO, M7018, cost center, 103831, 102639, default account assignment, OKB9, scrap, movement type 551, 553, 555, field selection , KBA , MM-IM-GF , Basic Functions , MM-IM-GF-2CL , Basic Functions (Public Cloud) , Problem