Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

conversion issue

former_member423024
Participant
0 Likes
502

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
466

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

3 REPLIES 3
Read only

Former Member
0 Likes
467

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

Read only

0 Likes
466

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

Read only

0 Likes
466

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.