Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: AQ - Message texts for SAP Query
Message number: 173
Message text: Decimal places allowed only for type P
You attempted to specify decimal places for an additional field,
although it is not type P.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Either remove the decimal place specification or change the additional
field type to P.
Error message extract from SAP system. Copyright SAP SE.
AQ173
- Decimal places allowed only for type P ?The SAP error message AQ173 ("Decimal places allowed only for type P") typically occurs when there is an attempt to use decimal places in a field that is not defined to accept them. This error is related to the data type definitions in SAP, particularly when dealing with numeric fields.
Cause:
- Data Type Mismatch: The error arises when a field that is expected to hold a packed number (type P) is being assigned a value with decimal places, but the field is defined as an integer or another type that does not support decimals.
- Field Definition: The field in question may be defined in the database or in the program as a type that does not allow decimal places (e.g., type I for integers).
- Input Data: The data being inputted or processed may contain decimal values that are not compatible with the field's data type.
Solution:
- Check Field Definition: Review the data dictionary (SE11) for the field in question. Ensure that it is defined as a packed number (type P) if it needs to accept decimal values.
- Adjust Data Type: If the field is incorrectly defined, you may need to change its data type to type P or adjust the logic in your program to ensure that only integer values are passed to integer fields.
- Data Validation: Implement validation checks in your code to ensure that only appropriate values are assigned to fields based on their data types.
- Review Input Data: If the error occurs during data entry or processing, check the source of the data to ensure that it conforms to the expected format.
Related Information:
By addressing the data type definitions and ensuring that the input data matches the expected formats, you can resolve the AQ173 error effectively.
Get instant SAP help. Sign up for our Free Essentials Plan.
AQ172
Specify a name for the data retrieval program
What causes this issue? You attempted to create a functional area where you use your own program to retrieve the data. The name of this program must ...
AQ171
Select only one data retrieval variant
What causes this issue? You attempted to create a functional area without an underlying logical database and have already defined the structure of th...
AQ174
& is not a table
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
AQ175
Table & cannot be used
What causes this issue? You attempted to define a selection criterion for a table field, but the table is either not a table of the logical database ...
Click on this link to search all SAP messages.