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: 

about currency

Former Member
0 Kudos
79

Hi,

i have a doubt. how can we define the currency in the strucure of ABAP program. can anybody send me the reply ASAP..

Thanks & Regards,

sunil.

3 REPLIES 3

Former Member
0 Kudos
42

use data type-waers.

component-waers

component type-waers.

Thanks and regards,

Former Member
0 Kudos
42

you can define the field with data type 'CURR' and need to assign the reference field in Currency/Quantity Fields tab in the same window(last tab) the reference field may be from the same object or any other object with data type 'CUKY'.

vijay

Former Member
0 Kudos
42

Hi,

You can declare as below:

data : begin of gs_bsis,

bukrs like bsis-bukrs,

hkont like bsis-hkont,

gjahr like bsis-gjhar,

wrbtr like bsis-wrbtr, "This field represents currency (amount)

waers like bsis-waers, "This field represents the currency (Ex: USD, GBP)

end of gs_bsis.

Thanks,

Sriram Ponna.