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

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

use data type-waers.

component-waers

component type-waers.

Thanks and regards,

Former Member
0 Kudos

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

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.