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


SAP Error Message - Details

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

    1. 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.
    2. Typographical Error: There may be a simple typographical error in the entry of the NINO.
    3. Incorrect Data Entry: The NINO may have been entered incorrectly, either by using the wrong characters or by omitting necessary characters.

    Solution:

    1. 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.).
    2. Verify with Official Sources: Cross-check the NINO against official documentation or databases to ensure it is correct.
    3. Correct Data Entry: If there is a typographical error, correct it and re-enter the NINO.
    4. Consult Documentation: Refer to SAP documentation or guidelines regarding the input of NINOs to ensure compliance with the system's requirements.

    Related Information:

    • NINO Prefixes: The first two characters of a NINO must be valid prefixes. Some prefixes are not used, and using them will result in this error.
    • SAP Configuration: If this error persists despite correct data entry, it may be necessary to check the SAP configuration settings related to NINO validation.
    • User Training: Ensure that users entering NINOs are trained on the correct format and validation rules to minimize errors.

    If the issue continues after verifying the above points, it may be beneficial to consult with your SAP support team or refer to SAP notes for any updates or patches related to this error message.

    • 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