How To Fix M8042 - Supplier & for PO & replaced by &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: M8 - Invoice Verification/Valuation

  • Message number: 042

  • Message text: Supplier & for PO & replaced by &

  • Show details Hide details
  • What causes this issue?

    This message is issued in three cases:
    On the initial screen under "Selection" you entered a supplier as well
    as a purchase order, a delivery note or a GR document, and this supplier
    is not the same as the one from the purchase order;
    On the multiple selection screen, if you have entered several purchase
    orders, delivery notes or GR documents that do not all belong to the
    same supplier;
    During processing, if you reference a purchase order that does not
    belong to the supplier of your current processing (via the menu <LS>Edit
    </> --> <LS>New item</> --> ...".

    System Response

    The invoice will be assigned to
    the supplier you entered on the initial screen, or
    the supplier in the first purchase order in the multiple selection.

    How to fix this error?

    You cannot change the supplier. If you do not want to assign the invoice
    to this supplier, you must first acknowledge the message and then
    reenter a document.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message M8042 - Supplier & for PO & replaced by & ?

    The SAP error message M8042 typically indicates an issue related to a purchase order (PO) and its associated supplier. The message format "Supplier & for PO & replaced by &" suggests that there is a problem with the supplier information for a specific purchase order, possibly indicating that the supplier has been replaced or that there is a mismatch in the supplier data.

    Cause:

    1. Supplier Replacement: The supplier associated with the purchase order has been replaced by another supplier, and the system is trying to reference the old supplier.
    2. Data Inconsistency: There may be inconsistencies in the master data for the supplier or the purchase order.
    3. PO Changes: Changes made to the purchase order or supplier master data after the PO was created could lead to this error.
    4. Inactive Supplier: The supplier may have been marked as inactive or deleted in the system.

    Solution:

    1. Check Supplier Master Data: Verify the supplier master data to ensure that the supplier is active and correctly set up in the system.
    2. Review Purchase Order: Look at the purchase order in question to see if it has been modified or if there are any inconsistencies with the supplier information.
    3. Update PO: If the supplier has been replaced, update the purchase order to reflect the new supplier information.
    4. Consult Change Logs: Check the change logs for the supplier and purchase order to understand what changes have been made and when.
    5. Contact Support: If the issue persists, consider reaching out to your SAP support team or consulting the SAP Help Portal for further assistance.

    Related Information:

    • Transaction Codes: You may need to use transaction codes like ME23N (Display Purchase Order) or ME22N (Change Purchase Order) to investigate the issue.
    • Master Data Management: Ensure that your supplier master data is regularly maintained and updated to prevent such issues.
    • Documentation: Refer to SAP documentation for error messages and troubleshooting steps specific to your version of SAP.

    By following these steps, you should be able to identify the root cause of the M8042 error and implement the necessary corrections.

    • 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
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker