on 03-27-2008 2:47 AM
Hi Guys,
I am summing up amount in sapscript, but I would like to change the output.
I used the PERFORM... command and the CHANGING value is declared in DEFINE command. Heres the code.
DEFINE &TOTAL& = ' '
PERFORM GET_TOTAL IN PROGRAM ZPM_PO_SUBROUTINE_POOL
USING &EKPO-EBELN&
CHANGING &TOTAL&
ENDPERFORM
The &TOTAL& contains 8364.00
Is there a way that it could be like this? 8,634.00
There's no comma in the output, I would like the output to have commas.
Thanks..
Hi,
In your layout before displaying use the command
/: SET COUNTRY ' '.
If this doesnt work use
/: SET COUNTRY 'SG'
Else, in your subroutine use this bfore passing to the out_tab (layout)
write var1 to var2 currency 'SG'. (var1 is of currency type and var2 is of char type)
regards,
Narendra.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.