on 02-14-2008 9:12 AM
hi all,
plz check this code...
FORM.
DATA: v_rate TYPE komv-kwert.
SELECT SINGLE * FROM ekpo INTO s_ekpo WHERE ebeln = l_ebeln AND ebelp = l_ebelp.
v_rate = s_ekpo-brtwr / s_ekpo-menge .
WRITE v_rate DECIMALS 2 TO try.
IF sy-subrc = 0.
READ TABLE output_tab WITH KEY 'V_RATE'.
output_tab-value = try.
ENDIF.
MODIFY output_tab INDEX sy-tabix.
ENDFORM.
This is the code i wrote in my driver program and passing the v_rate value to sap script.
My problem is...when v_rate value is ten lakhs
it is showing the value as 1000,000.00 but it should show as 1,000,000.00...as that way of printing is wrong...plz suggest me how can i solve my problem
change the decimal notation in your login (i.e. user) setting
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.