‎2006 Oct 08 4:35 PM
Hi folks,
How to include a comma in an amount? Also i want to delete the leading space between currency sign($) and the amount?
what i mean is, my present o/p in the SAPscript form is:
$ 16500.00
but i want as
$16,500.00
regards,
vishwanath
‎2006 Oct 08 4:40 PM
If you want to move the $ sign next to the amount, I believe that you need to do this in the print program and pass the entire value as a character field.
[code]
data: some_amount type p decimals 2 value '156000.12'.
data: char_amount(15) type c.
write some_amount to char_amount.
CONCATENATE '$' char_amount into char_amount.
CONDENSE char_amount no-gaps.
shift char_amount right DELETING TRAILING space.
[/code]
REgards,
Rich Heilman
‎2006 Oct 08 5:09 PM
I am trying. Meanwhile, i have created an element in the paragraph formats as LI with tab alignments as centre,left,right,right for four tabs. But, system is throwing message- Unable to call PC editor(unkown paragraph format <LI>).What could be the reason in your view?
Message was edited by: vishwanath vedula
‎2006 Oct 08 5:14 PM
‎2006 Oct 08 5:22 PM
No. It is LI only. Only window's word kind of editor is not opening, the other editor is fine where the message is thrown.
Message was edited by: vishwanath vedula