How To Fix 5G171 - Prefix '&1' is not valid for the complete period between &2 and &3


SAP Error Message - Details

  • Message type: E = Error

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

  • Message number: 171

  • Message text: Prefix '&1' is not valid for the complete period between &2 and &3

  • Show details Hide details
  • What causes this issue?

    The prefix of the National Insurance Number (NINO) you have entered in
    this infotype has a restricted validity period.

    System Response

    The system has determined from the system table <ZK>HR-GB NI Prefixes
    </>(T5G43) that the prefix of this NINO (the first two characters) is
    only valid for a specific time period. Consequently, this NINO may not
    be valid for the entire duration of the infotype record you are
    creating.

    How to fix this error?

    You must check this National Insurance Number again. If this NINO is
    time-limited, where the prefix is to be used for a limited period only,
    ensure that this infotype record matches the validity period of the
    NINO.
    This validation is necessary to ensure that your entered NINO conforms
    to the quality standards published by the Inland Revenue. An invalid
    prefix for a NINO will cause the employee to be rejected during
    End-of-Year (EOY) returns submission.

    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 5G171 - Prefix '&1' is not valid for the complete period between &2 and &3 ?
    The SAP error message 5G171, which states "Prefix '&1' is not valid for the complete period between &2 and &3," typically occurs in the context of financial or controlling modules, particularly when dealing with planning or budgeting scenarios. This error indicates that the specified prefix (often related to a cost center, internal order, or other financial object) is not valid for the entire specified time period.
    
    Cause: Invalid Prefix: The prefix you are trying to use may not be defined for the entire period specified. This could be due to the prefix being valid only for certain fiscal years or periods. Master Data Issues: The master data associated with the prefix may not be set up correctly, or it may not cover the entire date range you are trying to use. Period Locking: The periods you are trying to access may be locked for posting, which can lead to this error if the prefix

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


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 simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant