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

sap-script

Former Member
0 Likes
575

hi to all iam working on customer statements

i had a problem with decimal notation

what does the amount_string_convert funtion module will do

since when iam passing 25,000.00 into this fm and executing the customer statemt it is saying more than 2 decimal inthe number

how can i solve this problem

thanks in advance

kiran kumar

1 ACCEPTED SOLUTION
Read only

Clemenss
Active Contributor
0 Likes
544

Hi Kiran,

please explain what you are doing.

The amount_string_convert can be used to convert a string into an amount. For this you must assign an amount type field to the export parameter of the function.

Probably the amount field assigned is too small.

Show sme code lines, please!

Regards,

Clemens

4 REPLIES 4
Read only

Former Member
0 Likes
544

try passing the value without the comma.

Read only

Clemenss
Active Contributor
0 Likes
545

Hi Kiran,

please explain what you are doing.

The amount_string_convert can be used to convert a string into an amount. For this you must assign an amount type field to the export parameter of the function.

Probably the amount field assigned is too small.

Show sme code lines, please!

Regards,

Clemens

Read only

Former Member
0 Likes
544

Hi Kirankumar,

This is happend due to decimal notation format of user settings.

Check the parameter what you are passing to exporting parameter DCPFM of AMOUNT_STRING_CONVERT function module.

Thanks,

Vinay

Read only

Former Member
0 Likes
544

hi,

<b>amount_string_convert</b> funtion may be used 2 convert RS 25,000.00 to <b>words.</b>

like Rs 10 to Ten Rupees