How To Fix 5G158 - First two characters of the NINO are not valid


5G158 - Overview

  • Message type: E = Error

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

  • Message number: 158

  • Message text: First two characters of the NINO are not valid

  • Show details Hide details
  • What causes this issue?

    The R/3 system cannot locate the prefix (first two characters of the
    National Insurance Number ) in the system table <ZK>HR-GB NI Prefixes
    </>(T5G43).

    System Response

    This validation is necessary to ensure that your entered National
    Insurance Number conforms to the quality standards published by the
    Inland Revenue.

    How to fix this error?

    Please check this National Insurance Number again. If you determine the
    prefix is correct , raise a customer message with SAP Support.

    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 5G158 - First two characters of the NINO are not valid ?
    The SAP error message 5G158, which states "First two characters of the NINO are not valid," typically relates to the validation of the National Insurance Number (NINO) in the UK. This error occurs when the first two characters of the NINO entered do not conform to the expected format.
    
    Cause: Invalid Format: The NINO must follow a specific format, which consists of two prefix letters, six digits, and a suffix letter (e.g., AB123456C). The first two characters must be valid prefix letters. Typographical Error: There may be a simple typographical error in the entry of the NINO. Incorrect Data Entry: The NINO may have been entered incorrectly, either by using the wrong characters or by omitting necessary characters.
    Solution: Check the NINO Format: Ensure that the NINO follows the correct format (two letters, six digits, and one letter). The first two characters should be valid prefixes (e.g., AB, CD, EF, etc.). Verify with Official Sources: Cross-check the

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