How To Fix QS159 - First make an entry in TQ01 for &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: QS - QM: Master data

  • Message number: 159

  • Message text: First make an entry in TQ01 for &

  • Show details Hide details
  • What causes this issue?

    System error. The system table TQ01 was not maintained.

    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?

    Add an entry to Table TQ01 for the selected transaction.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message QS159 - First make an entry in TQ01 for & ?

    The SAP error message QS159 ("First make an entry in TQ01 for &") typically occurs in the context of Quality Management (QM) when you are trying to create a quality notification or a quality inspection and the system cannot find the relevant inspection type in the configuration.

    Cause:

    The error indicates that there is no entry in the inspection type table (TQ01) for the specific inspection type you are trying to use. This can happen if:

    • The inspection type has not been defined in the system.
    • The inspection type is not assigned to the relevant material or process.
    • There may be a configuration issue or missing settings in the Quality Management module.

    Solution:

    To resolve this error, you need to ensure that the inspection type is properly configured in the TQ01 table. Here are the steps to do that:

    1. Access the TQ01 Table:

      • Go to transaction code SPRO to access the SAP Reference IMG.
      • Navigate to Quality Management > Quality Inspection > Inspection Types > Define Inspection Types.
    2. Create or Modify Inspection Type:

      • Check if the required inspection type exists. If it does not, you will need to create a new entry.
      • If it exists but is not configured correctly, modify the entry to ensure it meets your requirements.
    3. Assign Inspection Type:

      • Ensure that the inspection type is assigned to the relevant material or process. This can be done in the material master record or in the relevant configuration settings.
    4. Check for Dependencies:

      • Verify if there are any dependencies or prerequisites that need to be fulfilled for the inspection type to be valid.
    5. Testing:

      • After making the necessary changes, test the process again to see if the error persists.

    Related Information:

    • Transaction Codes:

      • SPRO: Access the SAP Reference IMG.
      • MM02: Change Material Master (to check inspection type assignment).
      • QA01: Create Quality Notification (to test after configuration).
    • Documentation:

      • Refer to SAP Help documentation for Quality Management for detailed guidance on configuring inspection types and related settings.
    • User Roles:

      • Ensure that you have the necessary authorizations to make changes in the configuration settings.

    If the issue persists after following these steps, it may be beneficial to consult with your SAP Basis or QM functional team for further investigation.

    • 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