How To Fix KZ152 - Material is a raw material - it cannot be assigned


SAP Error Message - Details

  • Message type: E = Error

  • Message class: KZ - Cost Object Repetitive Mfg / Process Mfg

  • Message number: 152

  • Message text: Material is a raw material - it cannot be assigned

  • Show details Hide details
  • What causes this issue?

    You are attempting to assign a material to a cost object hierarchy.
    However, the <DS:GLOS.material_type>material type</> of this material
    indicates that it is a raw material.
    The purpose of cost object hierarchies is to collect the
    <DS:GLOS.cost_of_goods_manufactured>cost of goods manufactured</> that
    cannot be attributed to any particular production order or run schedule
    header. The link to the cost object hierarchy is made through the
    finished product or semifinished product, the production of which is
    controlled through the order type. The <DS:GLOS.target_costs>target
    costs</> for the hierarchy are calculated in the
    <DS:GLOS.standard_cost_estimate>standard cost estimates</> for these
    materials.
    Since raw materials are neither produced nor costed, they cannot be
    assigned to a cost object hierarchy.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    Check your entry.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message KZ152 - Material is a raw material - it cannot be assigned ?

    The SAP error message KZ152 ("Material is a raw material - it cannot be assigned") typically occurs when you are trying to assign a raw material to a production order, bill of materials (BOM), or some other configuration where the system does not allow raw materials to be used in that context. This error is often encountered in the context of production planning and inventory management.

    Cause:

    1. Material Type: The material you are trying to assign is classified as a raw material in SAP. Raw materials are typically not intended to be assigned directly to certain production processes or BOMs that require finished goods or semi-finished goods.
    2. Configuration Settings: The configuration settings in the material master or the production order may restrict the assignment of raw materials in specific contexts.
    3. BOM Structure: The structure of the BOM may not allow raw materials to be included in certain levels or components.

    Solution:

    1. Check Material Type: Verify the material type of the item you are trying to assign. If it is indeed a raw material, consider whether it should be used in that context. If it should not be a raw material, you may need to change its classification.
    2. Review BOM and Production Order: Ensure that the BOM or production order is set up correctly. If the raw material is necessary, check if it can be included in a different way, such as through a different BOM or production process.
    3. Change Material Type: If appropriate, you can change the material type of the raw material to a type that allows it to be assigned in the desired context (e.g., semi-finished goods).
    4. Consult Configuration: If you have access to the configuration settings, check if there are any restrictions in the configuration that prevent raw materials from being assigned. This may require assistance from an SAP consultant or someone with configuration access.
    5. Use Alternative Materials: If the raw material cannot be used in the desired context, consider using an alternative material that is classified correctly for the assignment.

    Related Information:

    • Material Master: Review the material master data for the raw material in question. Check the material type and other relevant fields.
    • BOM and Routing: Understand the structure of the BOM and routing to ensure that the materials are assigned correctly.
    • SAP Documentation: Refer to SAP help documentation for more details on material types and their usage in production planning.
    • User Roles and Permissions: Ensure that you have the necessary permissions to make changes to material types or BOMs if required.

    If the issue persists after trying the above solutions, it may be beneficial to consult with your SAP support team or an SAP expert for further assistance.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author