‎2006 May 28 7:55 AM
Hi,
While using <b>BDC</b> Methodology if encounter Currency Fields then do we need to do any conversions.
Can anybody tell me the exact way of deeling with Currency Codes.
Thanks in advance.
Thanks & Regards,
Prasad.
‎2006 May 28 8:08 AM
Hi Prasad,
While loading currency field we should look into user's default setting in USR* table. Then based on that you should convert the incoming value into respective decimal seperator format.
Example if the values coming is 10.00. Then if we need to load into ',' seperated setting the replace '.' with ','.
Hope this is clear.
Regds
Manohar
‎2006 May 28 8:08 AM
Hi Prasad,
While loading currency field we should look into user's default setting in USR* table. Then based on that you should convert the incoming value into respective decimal seperator format.
Example if the values coming is 10.00. Then if we need to load into ',' seperated setting the replace '.' with ','.
Hope this is clear.
Regds
Manohar
‎2006 May 28 8:16 AM
goto system->user profile->own data and check the default tab strip and examine the decimal format ther ..m/c dependent ..
another way use currency field as
w_curr_field(12),
reward points if it helps
gunjan
‎2006 May 28 9:40 AM
Hi
I thin the easier way is to use WRITE statament, infact this command convert the output format of currency field automatically.
So it only needs a char data to transfer the currency field:
DATA VA_AMOUNT(20) TYPE C.
WRITE <AMOUNT> CURRENCY <CURRENCY> TO VA_AMOUNT.
Now you can use VA_AMOUNT to transfer the amount to BDC.
Max