How To Fix 5C119 - Only NR, LT, ST or SZ allowable as sorting key


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 5C - HR: Messages for Switzerland

  • Message number: 119

  • Message text: Only NR, LT, ST or SZ allowable as sorting key

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 5C119 - Only NR, LT, ST or SZ allowable as sorting key ?

    The SAP error message 5C119 indicates that there is an issue with the sorting key used in a particular transaction or report. Specifically, the message states that only the sorting keys NR (Number), LT (Length), ST (Standard), or SZ (Size) are allowable. This error typically arises when an invalid sorting key is specified in a report or data processing function.

    Cause:

    The error is caused by the use of an invalid sorting key that is not recognized by the system. The sorting keys NR, LT, ST, and SZ are predefined keys that the system expects for sorting data. If a different key is used, the system will throw this error.

    Solution:

    To resolve this error, you can take the following steps:

    1. Check the Sorting Key: Review the sorting key specified in the transaction or report. Ensure that it is one of the allowed keys: NR, LT, ST, or SZ.

    2. Modify the Report/Transaction: If you are using a custom report or transaction, modify the code to use one of the valid sorting keys. This may involve changing the parameters passed to the sorting function.

    3. Consult Documentation: Refer to the SAP documentation or help files related to the specific transaction or report you are using. This can provide insights into the expected parameters and sorting keys.

    4. Test with Valid Keys: If you are unsure which key to use, test the report or transaction with each of the valid sorting keys to see which one meets your requirements.

    5. Contact SAP Support: If you are unable to resolve the issue, consider reaching out to SAP support for assistance. They can provide guidance based on the specific context of your error.

    Related Information:

    • Sorting Keys: Understanding the purpose of each sorting key can help in selecting the appropriate one for your needs:

      • NR (Number): Sorts based on numerical values.
      • LT (Length): Sorts based on the length of the data.
      • ST (Standard): A standard sorting method.
      • SZ (Size): Sorts based on the size of the data.
    • Transaction Codes: Familiarize yourself with the transaction codes related to the report or function you are using, as they may have specific requirements for sorting keys.

    • SAP Notes: Check for any relevant SAP Notes that may address this error or provide additional context.

    By following these steps, you should be able to identify the cause of the error and implement a solution to resolve it.

    • 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