How To Fix 5G166 - Either choose a QDP or set the shift pattern indicator


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 5G - HR: Messages for Britain

  • Message number: 166

  • Message text: Either choose a QDP or set the shift pattern indicator

  • Show details Hide details
  • What causes this issue?

    You have specified that Statutory Sick Pay should be calculated for
    this person according to both a generated Qualifying Day Pattern (QDP)
    and the persons's shift schedule.

    System Response

    The system only accepts an entry in one of the fields.

    How to fix this error?

    Remove one of the entries.

    Procedure for System Administrators

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


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 5G166 - Either choose a QDP or set the shift pattern indicator ?

    The SAP error message 5G166, which states "Either choose a QDP or set the shift pattern indicator," typically occurs in the context of time management or personnel planning within SAP. This error indicates that the system requires either a qualified daily plan (QDP) or a shift pattern indicator to be defined for a specific employee or work schedule.

    Cause:

    1. Missing QDP: The employee or work schedule does not have a qualified daily plan assigned. A QDP is necessary for the system to understand how to manage the employee's working hours.
    2. Missing Shift Pattern Indicator: If a QDP is not applicable, the system expects a shift pattern indicator to be set, which defines the shifts the employee will work.
    3. Configuration Issues: There may be configuration issues in the time management settings that prevent the assignment of a QDP or shift pattern.

    Solution:

    1. Assign a Qualified Daily Plan (QDP):

      • Navigate to the relevant infotype (e.g., IT 0007 - Planned Working Time).
      • Check if a QDP is assigned. If not, assign an appropriate QDP that matches the employee's working schedule.
    2. Set a Shift Pattern Indicator:

      • If a QDP is not applicable, go to the infotype where the shift pattern is defined (e.g., IT 0007 or IT 0008).
      • Set the shift pattern indicator to the appropriate value that reflects the employee's working hours.
    3. Review Configuration:

      • If the above steps do not resolve the issue, review the configuration settings in the SAP system related to time management and personnel planning.
      • Ensure that the QDPs and shift patterns are correctly defined in the system.
    4. Consult Documentation:

      • Refer to SAP documentation or help files for detailed instructions on how to set up QDPs and shift patterns.
    5. Contact Support:

      • If the issue persists, consider reaching out to your SAP support team or consulting with an SAP expert for further assistance.

    Related Information:

    • Infotypes: Familiarize yourself with relevant infotypes such as IT 0007 (Planned Working Time) and IT 0008 (Basic Pay) where these settings are typically configured.
    • Time Management Configuration: Understanding the configuration of time management in SAP can help in troubleshooting similar issues in the future.
    • SAP Notes: Check for any SAP Notes related to this error message for additional insights or patches that may address the issue.

    By following these steps, you should be able to resolve the error message 5G166 in SAP.

    • 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
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