Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix CO642 - Batches are selected for & according to &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: CO - PPC order processing messages

  • Message number: 642

  • Message text: Batches are selected for & according to &

  • Show details Hide details
  • What causes this issue?

    The batches for a material are selected using an object number. The
    object number is in turn determined by the following sequence:

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

    The component was classified manually in the current order
    The component was classified in the individual customer BOM
    In the sales order a batch selection was entered manually/ a strategy
    exists for the customer/material etc.
    the component was classified in the BOM
    a strategy exists for the component
    according to the variant-characteristics of the sales order.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message CO642 - Batches are selected for & according to & ?

    The SAP error message CO642 typically indicates that there is an issue with batch selection in the context of production orders or material movements. This error can occur when the system is unable to find suitable batches for a particular material based on the selection criteria defined in the system.

    Cause:

    1. Batch Availability: The batches that meet the selection criteria may not be available or may have been fully consumed.
    2. Batch Selection Criteria: The criteria defined for batch selection (like status, expiration date, etc.) may be too restrictive, leading to no batches being found.
    3. Material Master Data: There may be issues with the material master data, such as incorrect batch management settings.
    4. Stock Levels: The stock levels for the material in question may be insufficient to fulfill the requirements of the production order or transaction.
    5. Batch Status: The batches may be in a status that does not allow them to be used (e.g., blocked, expired).

    Solution:

    1. Check Batch Availability: Verify if there are available batches for the material in question. You can do this by checking the stock overview (transaction code MMBE) or using batch management reports.
    2. Review Selection Criteria: Examine the batch selection criteria being used in the transaction. Adjust the criteria if they are too restrictive.
    3. Update Material Master: Ensure that the material master data is correctly set up for batch management. Check the settings in the material master (transaction code MM03).
    4. Check Stock Levels: Confirm that there is sufficient stock of the material to meet the requirements of the production order or transaction.
    5. Batch Status Review: Check the status of the batches to ensure they are not blocked or expired. You can use transaction code MSC3N to view batch details.
    6. Adjust Production Order: If necessary, adjust the production order or transaction to allow for different batch selection criteria.

    Related Information:

    • Batch Management: Understand how batch management works in SAP, including how batches are created, managed, and selected.
    • Transaction Codes: Familiarize yourself with relevant transaction codes such as:
      • MMBE: Stock Overview
      • MSC3N: Display Batch
      • CO02: Change Production Order
      • CO03: Display Production Order
    • SAP Notes: Check for any SAP Notes related to this error message for potential bug fixes or additional guidance.
    • User Authorization: Ensure that the user has the necessary authorizations to view and manage batches.

    If the issue persists after checking these areas, it may be beneficial to consult with your SAP support team or refer to SAP documentation for further troubleshooting steps.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


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