SAP Knowledge Base Article - Public

3746590 - Decimal Value Variation Between 'Display Inspection Plan' Application and CDS View 'I_INSPECTIONCHARACTERSTIC'

Symptom

  • In the 'Display Inspection Plan' application, the decimal values shown for the fields 'Target Value' and 'Lower Limit Value' differ from those displayed in the CDS view 'I_INSPECTIONCHARACTERSTIC'. 
  • Example:
    • Target Value maintained as 10.190 in the inspection plan is displayed as 10.19 in the CDS view.
    • Lower Limit Value maintained as 50.227 in the inspection plan is displayed as 50.226 in the CDS view.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Go to App 'Display Inspection Plan'
  2. Enter the material and plant.
  3. Click on inspection characteristics tab.
  4. Note down the values displayed in the fields 'Target Value' and 'Lower Limit Value'.
  5. Go to App 'Customer data Browser'.
  6. Search for the CDS view ' 'I_INSPECTIONCHARACTERSTIC'.
  7. Observe that decimal values updated in the fields 'Target Value' and 'Lower Limit Value' differs.

Cause

Floating‑point arithmetic cannot precisely represent certain decimal fractions. When values are entered in these inspection plan fields, the system converts them into binary floating‑point format for database storage. As a result, the values are internally saved as close approximations rather than exact decimal representations.

Resolution

This is the standard and expected behavior in SAP. The fields in question are defined with the floating‑point data type (FLTP), which by design stores and represents values differently in the database compared to transactional applications. As long as the application displays the correct values to the user, the system is functioning as intended.

See Also

Refer to SAP help document : Inspection Planning with Inspection Plans.

Keywords

qp02, quality management, inspection plan, decimal places, rounding, floating-point, fltp, display discrepancy, tolerance limits, target value, lower spec limit, upper limit, precision, plmk, s/4hana cloud public edition , KBA , QM-IM-2CL , Quality Inspection (Public Cloud) , QM-IM , Quality Inspection , Problem

Product

SAP S/4HANA Cloud Public Edition all versions