How To Fix M8023 - Purchase order & not created in company code &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: M8 - Invoice Verification/Valuation

  • Message number: 023

  • Message text: Purchase order & not created in company code &

  • Show details Hide details
  • What causes this issue?

    You have entered a purchase order number that does not exist in the
    company code in which you are working.

    How to fix this error?

    Check the PO number and the company code.
    If the purchase order number is wrong:
    Correct the PO number.
    If the company code is wrong ...
    ... and the current screen is the initial screen:
    Choose F3 and start processing from the beginning.
    You can now enter the correct company code number
    and re-enter the purchase order number.
    ... and the current screen is the <LS>New item</> processing screen:
    Choose <LS>Cancel</>. Via the menu <LS>Edit</>, you can then
    change the company code. Then you can re-enter the
    PO number via <LS>New item</> --> <LS>Purchase order</>.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message M8023 - Purchase order & not created in company code & ?

    The SAP error message M8023 typically indicates that a purchase order (PO) could not be created for a specific company code due to various reasons. Here are some common causes, potential solutions, and related information for this error:

    Causes:

    1. Missing Configuration: The company code may not be properly configured for purchasing activities. This includes settings in the purchasing organization, vendor master data, or company code settings.

    2. Vendor Issues: The vendor associated with the purchase order may not be set up correctly in the system, or it may not be assigned to the relevant company code.

    3. Authorization Issues: The user attempting to create the purchase order may not have the necessary authorizations for the specified company code.

    4. Document Type Restrictions: The document type used for the purchase order may not be allowed for the specified company code.

    5. Account Assignment Issues: There may be issues with the account assignment category or the related GL accounts that are not set up for the company code.

    6. Currency Issues: If the currency of the purchase order does not match the currency settings of the company code, it may lead to this error.

    Solutions:

    1. Check Configuration: Verify that the company code is correctly configured for purchasing. This includes checking the settings in the purchasing organization and ensuring that the necessary parameters are set.

    2. Vendor Master Data: Ensure that the vendor is created and active in the relevant company code. Check the vendor master data for any inconsistencies.

    3. User Authorizations: Review the user roles and authorizations to ensure that the user has the necessary permissions to create purchase orders in the specified company code.

    4. Document Type Settings: Check the settings for the document type being used for the purchase order. Ensure that it is allowed for the company code in question.

    5. Account Assignment: Review the account assignment category and ensure that the relevant GL accounts are set up for the company code.

    6. Currency Configuration: Ensure that the currency used in the purchase order is compatible with the currency settings of the company code.

    Related Information:

    • Transaction Codes: You may need to use transaction codes like ME21N (Create Purchase Order) or ME22N (Change Purchase Order) to troubleshoot the issue.
    • SAP Notes: Check for any relevant SAP Notes that may address this specific error message or provide additional troubleshooting steps.
    • Debugging: If you have access to debugging tools, you can analyze the program flow to identify where the error is occurring.
    • Consult Documentation: Refer to SAP documentation or help files for more detailed information on purchase order creation and related configurations.

    If the issue persists after checking the above points, it may be beneficial to consult with your SAP support team or a functional consultant who specializes in the MM (Materials Management) module 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
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