12-22-2007 9:03 AM
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.
12-22-2007 9:08 AM
use data type-waers.
component-waers
component type-waers.
Thanks and regards,
12-22-2007 9:15 AM
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
12-22-2007 9:41 AM
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.