on 08-06-2008 12:32 PM
Hi All,
I am workiing on Invoice script. It display duty amounts without comma.
I define fields in driver program like
DATA: BEGIN OF exctab OCCURS 0,
bcdamt(15),
cvdamt(15),
dutyamt(15) ,
END OF exctab.
E.g
If we take dutyamt it display like 64711.43
But i want to show amount like 64,711.43
so how to add comma in amount.
Thanks
Vijay
Suhas,
DATA: BEGIN OF exctab OCCURS 0,
bcdamt(15),
cvdamt(15),
dutyamt(15) ,
END OF exctab.
try to assign as type DMBTR to all amount rather than char type.
like :
bcdamt(15) type DMBTR ,
Amit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
insted of char declare them ass CURR fields...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi...
it depends on ur SU3 settings....
go to tcode SU3->Defaults tab>in the decimal notation change it to required format.
save and then relogin and execute ur program...u ll get the desired result....
and also change the type of the fields to type KWERT
Edited by: Rudra Prasanna Mohapatra on Aug 6, 2008 1:36 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.