SAP Knowledge Base Article - Public

3305095 - When scrapping a material in MIGO, error message M7018 "Enter Cost Center" happens even though a default cost center has been assigned against the GL account


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".


S/4HANA Cloud system all version

Reproducing the Issue

  1. In SSCUI 102639 "Manage Default Account Assignments" you maintained default cost center for the cost element.
  2. In SSCUI 103831 "Field Selection per Movement Type" you maintained field KOSTL for the movement type 551/553/555 as "Required Entry".
  3. 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".


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. 


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.


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


SAP S/4HANA Cloud all versions