05-11-2005 2:41 PM
Hi,
How can I use edit_mask of ALV field catalog in order to
format the currency value sign to be on the left of the value instead of on the right?
Example: - 100.00 instead of: 100.00 -
My field to be displayed in the ALV column is of type CURR 13.
Is there any conversion routine or mask format?
Thanks,
Eyal.
05-12-2005 6:21 AM
05-12-2005 5:11 AM
Hi,
If you set a conversion exit (for example,
conv = ' ==ALPHA ' for function module CONVERSION_EXIT_ALPHA_OUTPUT ), you enforce output conversion for the associated output field.
WRITE amount TO output USING EDIT MASK 'RRV_____,___'.
Have a look at keyword documentation;
- RR = right justified
- V = sign
- _ = place holder for number
- , = decimal separator
- _ = place holder for decimals
Refer this link to get idea.
Or you can even solve this problem by moving it into char fields and then concatenating minus sign with it.
Hope it helps.
Rgds,
J.Jayanthi
12-23-2020 3:24 PM
How it can be used for value with thousand separator and decimal separator.
05-12-2005 6:21 AM
02-23-2006 7:15 AM
Hi Eyal,
I am stuck with the same problem of a preceding sign for negative values.
Can you share it with me if you have the solution?
Thanks,
Harsha