08-01-2007 11:22 AM
Hi,
I am working on a bdc program where i have to upload 4 numerical values(293,00 1 293,00 1.293,00 1293.00).The field name for these values if wrbtr(amount in document currency)taken from bbseg structure.So before uploading these values I want to convert these currency values to character values.Is there any function module for this?If so, could u pls give me an example?
Regards,
Hema
08-01-2007 11:26 AM
You can use the WRITE statement to convert the currency value to a character value.
WRITE <curr field> TO <char field> CURRENCY <currency>.
Please mark points if the solution was useful.
Regards,
Manoj
08-01-2007 11:30 AM
Hi Hema,
Try out this FM.
<b>
TRS_CONVERT_AMOUNT_TO_TEXT</b>
<b>
Reward points if this helps,</b>
Kiran
08-01-2007 12:57 PM
For the same left-justified and without thousand separator:
FM CURRENCY_AMOUNT_SAP_TO_IDOC
08-01-2007 1:19 PM
Hi,
Could u pls give an example with this function module and where should i use this in the program?
Regards,
Hema