How To Fix ME542 - Last-assigned number & higher than number of records &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: ME - Purchasing: General Messages

  • Message number: 542

  • Message text: Last-assigned number & higher than number of records &

  • Show details Hide details
  • What causes this issue?

    The schedule line number is higher than the number of existing schedule
    lines.

    System Response

    The disaggregation of schedule lines is therefore only possible to a
    limited extent.

    How to fix this error?

    Perform the function <LS>Renumber schedule lines</> for the affected
    item of the scheduling agreement in order to achieve an optimal
    starting position for disaggregation.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message ME542 - Last-assigned number & higher than number of records & ?

    The SAP error message ME542 typically indicates an issue related to the assignment of document numbers in the purchasing module. Specifically, it suggests that the last-assigned number for a document type is higher than the number of records that have been defined in the number range interval for that document type. This can occur in various purchasing documents, such as purchase orders or purchase requisitions.

    Cause:

    1. Number Range Configuration: The number range for the document type may not be properly configured, or it may have been exhausted. This means that the system has assigned all available numbers in the defined range.
    2. Manual Changes: If there were manual changes made to the number range intervals or if the last assigned number was set incorrectly, it could lead to this error.
    3. System Migration or Upgrade: If the system has recently undergone a migration or upgrade, the number range settings may not have been correctly transferred or configured.

    Solution:

    1. Check Number Range Configuration:

      • Go to transaction code SNRO (Number Range Objects).
      • Find the relevant number range object for the purchasing document type (e.g., purchase orders).
      • Check the current status of the number range and see if it has been exhausted.
    2. Adjust Number Range:

      • If the number range is exhausted, you can extend it by adjusting the intervals. This can be done in the same SNRO transaction.
      • Ensure that the new range does not overlap with existing ranges.
    3. Reset Last Assigned Number:

      • If necessary, you can reset the last assigned number to a valid number within the range. This can be done in the same SNRO transaction or through the relevant customizing settings.
    4. Consult with Basis or SAP Support:

      • If you are unsure about making changes to the number range or if the issue persists, it may be best to consult with your SAP Basis team or reach out to SAP support for assistance.

    Related Information:

    • Transaction Codes:
      • SNRO: Number Range Objects
      • OMH1: Maintain Number Ranges for Purchasing Documents
    • Documentation: Refer to SAP Help documentation for detailed information on number range management and configuration.
    • Testing: After making changes, test the creation of a new purchasing document to ensure that the error has been resolved.

    By following these steps, you should be able to resolve the ME542 error and ensure that your purchasing document number ranges are correctly configured.

    • 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