We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-dev] ABAP help currency output.

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by ameen shaik
on Feb 22 at 2:05 AM
Mark this reply as helpfulMark as helpful
Consider your Unit cost is in a variable g_betrg whose value is 10.164

use one temporary data type with float type
for example:l_betrg type f.
Declare a data type with currency two decimals
for example:g_bertg1 type p decimals 2.

pass l_betrg = g_betrg.
g_betrg = l_betrg.

---------------Original Message---------------
From: khanbhai
Sent: Monday, February 22, 2010 1:15 AM
Subject: ABAP help currency output.

> Hi to all experts,<br/>im unable to solve this problem .<br/>the currency is eur<br/>the value in the unit cost is 10.164<br/>it should display only two decimals if it is eur (according to the currency<br/>format the decimals should be outputted)<br/>so when i write this<br/>write : wa_det-netprice TO unit_cost currency cur.<br/>it is getting changed as 101,64 but i want it to be printed as 10.16 any<br/>idea how to it.<br/><br/>--<br/>Best Regards,<br/>Mohammed Abdul Hai<br/>SAP Technical Consultant<br/>Singapore<br/><br/>-- <br/>Best Regards,<br/>Mohammed Abdul Hai<br/>SAP Technical Consultant<br/>Singapore
__.____._
Copyright © 2010 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251

0 comments:

Post a Comment

T r a n s l a t e to your language