Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

JPY Currency decimals in SQ01 output

madhusoodanan_ramachandra
Active Contributor
0 Kudos

Hi Sap Gurus,

My SQ01 query output has JPY values with decimals. In normal report, we can get appropriate values thru function module BAPI_CURRENCY_CONV_TO_EXTERNAL. But how to achieve this result in ABAP Query?

Thanks in advance...

Best regards,

Madhu

1 ACCEPTED SOLUTION

Former Member
0 Kudos

You can call this function in Extras->code-record processing of Infoset too.

3 REPLIES 3

Former Member
0 Kudos

You can call this function in Extras->code-record processing of Infoset too.

0 Kudos

Hi,

Thanks for your reply. Can you please provide more elaborated answer ?

Best regards,

Madhu

Edited by: Madhusoodanan Ramachandran on Jul 5, 2009 7:53 PM

0 Kudos

I've introduced an additional field and added code as below

CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL'

EXPORTING

currency = bkpf-HWAER

amount_internal = faglflexa-hsl

IMPORTING

AMOUNT_EXTERNAL = zhsl.

It worked.