How To Fix RSDS173 - &1: Packed numbers should have an odd number of digits


RSDS173 - Overview

  • Message type: E = Error

  • Message class: RSDS - New DataSource

  • Message number: 173

  • Message text: &1: Packed numbers should have an odd number of digits

  • Show details Hide details
  • What causes this issue?

    Field &V1& has &V2& characters. This could cause conversion problems
    between ABAP and the database if the data really has more than &V2& cha
    racters. This is because in ABAP, an additional byte is available intern
    ally for an even number of characters because of the sign.

    System Response

    The function continues.

    How to fix this error?

    Ensure that the data really has a maximum of &V2& characters, or increas
    e the number of characters by one.

    How can this happen?

    4 characters were defined, internally in ABAP 5 characters are available
    . On the database 4 characters are available. If there is a data record
    that uses 5 characters, a short dump occurs upon inserting the data into
    the database.
    5 characters were defined, in ABAP and in the database 5 characters are
    available. If there is a data record that uses 6 characters, the last
    character is cut off and inserting into the database does not cause any
    problems.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message RSDS173 - &1: Packed numbers should have an odd number of digits ?
    The SAP error message RSDS173 indicates that there is an issue with packed numbers in your data. Specifically, it states that packed numbers should have an odd number of digits. This error typically arises when dealing with data types that are expected to be in a packed decimal format, which is commonly used in ABAP programming and database storage.
    
    Cause: The error occurs when a packed number (which is a binary representation of decimal numbers) is defined or processed with an even number of digits. In SAP, packed numbers are stored in a format where the last digit is a sign digit (positive or negative), and thus the total number of digits must be odd. For example, a packed number with 3 digits (2 for the number and 1 for the sign) is valid, while a packed number with 4 digits is not.
    Solution: To resolve this error, you can take the following steps: Check

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