SAP Knowledge Base Article - Public

3558716 - Error - MM 335 'You want to change the profit center but material stock still exists'

Symptom

While trying to change profit center in material master in app manage product master data the following errors occurs;

MM 335 - 'You want to change the profit center but material stock still exists'

MM 326 - 'There are still open purchase order items or scheduling agreements'

Environment

SAP S/4HANA Cloud Public Edition

Cause

In order to change profit center in the material master, make sure that none of the following exist in the system: 

  1. Valuated stocks in the current period or in the previous period
  2. Open purchase orders or delivery schedule lines 

Resolution

  1. Make sure that no stocks in actual AND previous period exist! refer to SAP Note 30656, with an example how to get zero stocks (use the Apps 'Display Stock Overview' and 'Stock - Single Material' to view stock available)
  2. Select all PO items for the related material and delete them using the app  Manage Purchase Orders
  3. Archive Production Order for the all items of the related material/plant using the App  Analyze Archiving Variants Distribution

These hard restrictions are necessary as inconsistencies in account assignment will follow after change of profit center, when proceeding follow up functions of a PO item before and after changing profit center. So, all depending purchase order items of this material/plant have to be marked for deletion

 Use SSCUI '103090 System Messages' to customize type of message raised.The messages MM 335 'You want to change the profit center but material stock still exists', MM 326 'There are still open purchase order items or scheduling agreements'  or MM 327 'There are still production orders for the material' are customizable as an Error ('E'), Warning  ('W') or the message can be suppressed (' ') in the SSCUI '103090 System Messages'.

See Also

Keywords

SAP S/4HANA Cloud Public Edition, Material Master, Profit Center, existing stock, SSCUI 103090, MM 335, MM 326, There are still open purchase order items or scheduling agreements, You want to change the profit center but material stock still exists, Purchase order, Change, update . , KBA , LO-MD-MM , Material Master , Problem

Product

SAP S/4HANA Cloud Public Edition all versions