‎2005 Aug 04 7:35 AM
hai Abapers,
In report we print a value from a field which is of type CURR, we write the statement 'WRITE: W_VALUE CURRENCY W_CURRENCY
WHERE W_CURRENCY WILL be USD or YEN or EUR and the value will be formatted accordingly.
Is there any similar code in smartforms or sapscripts. plz post the message asap.
plzzzz give some tech info its urgent
Thank u one and all.
Message was edited by: Ateeq K
‎2005 Aug 04 9:15 AM
Hi,
My proposal is to convert it to another variable.
data MYSTRING(20).
WRITE W_VALUE TO MYSTRING CURRENCY W_CURRENCY.
Svetlin
‎2005 Aug 04 9:22 AM
Hi,
in smartforms you can define a reference field. In header, fields have to be defined. For quantities and currencies a reference field can be added.
When filled at runtime, corresponding output option is used automatically.
Regards,
Christian
‎2005 Aug 04 2:02 PM
The option said above ( definiting reference fields ) is in 4.7. But in 4.6c, you don't have such option. So you have to use another method, define a char field and then use wrtie to field with currency.
regards,
Gagan