‎2009 Oct 16 5:44 AM
Hi Gurus,
I've a small requirement.
I need to convert the value of field TKG001 from Table COST from internal format to external format and display it in the output.
Could anyone explain what would be corresponding the conversion routine and how to investiate such function module.
Thanks
Natasha.
‎2009 Oct 16 5:49 AM
Hi Natasha,
This field is a CURR field. ( currency field) for currency fields we don't have any conversion routines.
But they way it is being displayed depends on the county code. Like USD or INR etc.
You have to select the exact country code and then display the amount field.
EG: Num1 wiil have the value '213232.23"
WRITE: 'USD', num1 CURRENCY 'USD',
Regards,
Venkatesh
‎2009 Oct 16 5:49 AM
Hi Natasha,
This field is a CURR field. ( currency field) for currency fields we don't have any conversion routines.
But they way it is being displayed depends on the county code. Like USD or INR etc.
You have to select the exact country code and then display the amount field.
EG: Num1 wiil have the value '213232.23"
WRITE: 'USD', num1 CURRENCY 'USD',
Regards,
Venkatesh
‎2009 Oct 16 6:05 AM
Hi Venkatesh,
Thank u very much for the response.
Actually I'm working on an outbound Interface, I don't need to display it in the output I need to convert the value and download it onto a file on the application server.
Thanks
Natasha
‎2009 Oct 16 6:15 AM
Hi Natasha,
You will have to first write the value to a string field and have the string field as a part of your download structure.
eg
write amount_value to string_variable currency curr_variable.