on 06-13-2012 6:35 AM
Hi,
In ME9F, we are facing problem of amount printing in case of non INR cureency the actual PO value is AS BELOW
Net price : 80.0000 USD Per 1 NO
Total value : 2,880.0000 USD
but while printing system si shoing as below
Net price : 80,0000 USD Per 1 NO
Total value : 2.880.0000 USD
, is coming as . also the problem is not for all the Po in some Po we are facing this problem , I have check thread on the same issue some has given sugg. to chnage the Decimal Notation setting in user own data, i try with all three options X, Y and blank, but still the problem is same.
While debuggin i have check that the items are pass from table EKPO, same table is use in program the value before the write form call in the program is OK with proper '. place but while coming in sap script it is shoing as , insted of .
regards,
zafar
Hi
Please check the decimal notation , In country settings .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is your Form custom?
Can you see any special formatting for Netprice field.
Try to use set country in the script and check
SET COUNTRY 'US'
Check with this also, Go to your form where the amount is printing and give &NETPR(K)&.
Thanks,
Shambu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Zafar,
You can try this in driver program.
WRITE <value> CURRENCY <curr_key> TO <char_field>.
OR
* Convert Internal SAP value to Currency value
data: p_intval like wmto_s-amount. "Internal Amount
data: gd_disval like wmto_s-amount. "Display Amount
call function 'CURRENCY_AMOUNT_SAP_TO_DISPLAY'
exporting
currency = po_tab-waers
amount_internal = p_intval
importing
amount_display = gd_disval
exceptions
internal_error = 1
others = 2.
Thanks
Abhinesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for reply, I have solve as per suggestion by doing the modification as below.
FORM SAP_TO_DISPLAY_NETPR.
CLEAR : PRICE.
data: p_intval like wmto_s-amount. "Internal Amount
data: gd_disval like wmto_s-amount. "Display Amount
p_intval = ekpo-netpr.
call function 'CURRENCY_AMOUNT_SAP_TO_DISPLAY'
exporting
currency = EKKO-WAERS
amount_internal = P_intval
importing
amount_display = gd_disval
exceptions
internal_error = 1
others = 2.
PRICE = gd_disval.
CONDENSE PRICE.
CLEAR : gd_disval,p_intval.
ENDFORM.
regards,
zafar
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.