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 Sergey Korolev (Independent ABAP developer)
on Feb 22 at 2:22 AM
Mark this reply as helpfulMark as helpful
It is likely that you are using old-fashioned SD user-exits for Sales Order
or Delivery. If this is the case, the problem with them is that the main
program has (e.g. SAPMV45A) fixed point arithmetic flag unchecked in its
properties. The workaround can be as follows:
1. Move all currency/quantity calculations into an external program
(class method, function module, subroutine) - better
2. Explicitly divide value by 10 - worse

On 22 February 2010 09:10, khanbhai via sap-dev <
sap-dev@groups.ittoolbox.com> wrote:
> Posted by khanbhai(ABAP)
> on Feb 22 at 1:11 AM
> Hi to all experts,
> im unable to solve this problem .
> the currency is eur
> the value in the unit cost is 10.164
> it should display only two decimals if it is eur (according to the currency
>
> format the decimals should be outputted)
> so when i write this
> write : wa_det-netprice TO unit_cost currency cur.
> it is getting changed as 101,64 but i want it to be printed as 10.16 any
> idea how to it.
>
> --
> Best Regards,
> Mohammed Abdul Hai
> SAP Technical Consultant
> Singapore
>
> --
> Best Regards,
> Mohammed Abdul Hai
> SAP Technical Consultant
> Singapore
__.____._
Copyright © 2010 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Sergey Korolev
SAP Development Enthusiast

Contributed 100 posts in a group to earn a Bronze Achievement
_.____.__

0 comments:

Post a Comment

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