Skip to Content
Sep 21, 2018 at 07:27 AM

Change decimals based on Value for SALV ALV

2605 Views Last edit Sep 21, 2018 at 02:26 PM 3 rev

While Using REUSE function module, if the value of below parameters are set..

The Table output is Shown as below, if the quantity is decimal value it is shown as decimals but if a whole number, the decimal value is missing

If the Values are QFIELDNAME and QTABNAME values are cleared, by default 3 decimals are displayed as shown below

In the internal table definition, the field is defined as follows

If we need to achieve the same using SALV, how to proceed?