cancel
Showing results for 
Search instead for 
Did you mean: 

abap general

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

change the decimal notation in your login (i.e. user) setting